background image

Summary of Contents for Smart Car Kit

Page 1: ......

Page 2: ...duct may get heat at some part which is just normal But misoperation may cause overheat Misoperation may cause damage to the product Please take care Do not connect the positive and negative poles of the power inversely or the devices in the circuit may be damaged Please place and put the product gently Do not smash or shock it About Adeept is a technical service team of open source software and h...

Page 3: ...Y refitting etc except for commercial purpose The Adeept Company owns all rights of contents in the manual including but not limited to texts images data etc Any distribution or printing should be implemented with the permission of the Company or it will be deemed illegal ...

Page 4: ...Position 9 Fix the Battery Holder 10 Rear Wheels 11 Front Wheels 13 Assemble Ultrasonic Module 19 RGB LED Module 22 Assemble PCBs 23 Assemble the Adeept Passive Buzzer Module 26 Remote Control 27 Circuit Connection 31 Software Hardware 33 What is Arduino 33 Why Arduino 33 How Should I Use Arduino 34 Arduino Software IDE 36 Install Library 39 Upload Program 42 About Processing 46 Afterword 53 ...

Page 5: ...ed eets with a layer of protective film You need to remove it first Some holes in the acrylic shmay have residues so you need to clean them before using it A11 1 PCS A14 1 PCS A12 1 PCS A13 1 PCS A01 4 PCS A02 4 PCS A03 9 PCS A04 1 PCS A05 2 PCS A06 2 PCS A07 1 PCS A10 1 PCS A08 1 PCS ...

Page 6: ...624ZZ Bearing F687ZZ Bearing M4 Spring Washer X10 X10 X2 M3 30 Copper Standoff X4 X4 X28 X5 X4 X4 X4 X2 X4 X4 X8 X8 X4 X15 www adeept com www adeept com www adeept com www adeept com www adeept com www adeept com www adeept com www adeept com www adeept com www adeept com www adeept com www adeept com www adeept com www adeept com www adeept com www adeept com www adeept com Machinery Parts Transm...

Page 7: ... ADXL345 Module x1 Adeept Passive Buzzer Module x1 Adeept UNO R3 Board x1 Electronic Parts Adeept Remote Control Shield x1 Adeept Motor Shield x1 Adeept Nano Board x1 Adeept Ultrasonic Module x1 18650x2 Battery Holder B x1 18650x2 Battery Holder A x1 ...

Page 8: ...www adeept com 4 Mini USB Cable x1 USB Cable x1 LED Connector x1 Buzzer Connector x1 NRF24L01 Module x2 Jumper Wire M M x4 ...

Page 9: ...www adeept com 5 18650 Battery X4 Cross Socket Wrench X1 Wingding pipe X1 Cross Screwdriver X1 Slotted Screwdriver X1 Tools Self prepared Parts ...

Page 10: ... ultrasonic sensor and avoids them automatically This smart car is a typical robot It s composed of three parts sensor actuator and MCU Also it can track lines sense the leading trace and move accordingly So the car can recognize routes automatically select the right path and avoid obstacle on the path The actuator of the car is DC motors which control the direction and speed of the car moving As ...

Page 11: ...les 3 Gesture control mode press the button C on remote control then the LED1 on remote control blinks the LED2 lights up and LED3 lights up At this time the four wheel car is in Gesture control mode in this model the ADXL345 acceleration sensor on the remote control converts the collected information of the tilt Angle of the remote control into forward backward and turning information and sends i...

Page 12: ...1 flashes LED2 lights up and LED3 lights up on the remote control In this mode the ADXL345 acceleration sensors on the remote control converts the collected information of the tilt Angle of the remote control into forward backward and turn instructions and sends them to the car to control the car s movement 4 Press the button D on the remote control The four wheel car is in wireless radar scanning...

Page 13: ...ion to position of the four standoffs on this side If it s not the same as this the Uno cannot be installed M3 6 Copper Standoff x4 Assembly Fix the Position Place four M3 6 copper standoffs on the holes of the A13 main plate Fix them by four M3 8 screws Determine the orientation of the plate for the subsequent assembly ...

Page 14: ...10 Assemble the following components Effect diagram after assembling M3 Nut x2 18650x2 Battery Holder B x1 Note The connector of the holder is at the square slot M3 10 Countersunk Head Screw x2 Fix the Battery Holder ...

Page 15: ... and slightly tighten with M3 Nuts nuts inward Do not tighten them otherwise the motor cannot rotate smoothly M3 8 Screw x4 M3 30 Copper Standoff x4 A10 x1 DC Motor x1 A09 x1 M3 30 Screw x2 M3 Nut x2 Rear Wheels 3 1 Fix the two DC motors on the A09 plate Try to place the motor right in the middle position and along the middle axis of the plate 3 2 Fix the M3 30 copper standoffs onto the Plate A10 ...

Page 16: ...en the screws Effect diagram after assembling Assemble the following components Effect diagram after assembling Driving wheel X2 M3 8 Screw x4 3 3 Fix the part assembled in previous 3 1 and 3 2 under the A13 main plate 3 4 Press the rear wheels into the shaft of the motors to the farthest Note The red wires are on the top A09 ...

Page 17: ...vo can connect the rocker arm and spin to drive components bound with the arm There are 3 types of rocker arms and 3 screws in the package The smallest screw is to fix the arm onto the servo Mount and remove the rocker arm M3 12 Screw x4 A14 x1 A11 x1 M3 Nut x4 A12 x1 Front Wheels 4 1 Connect Plate A11 and A14 with A12 4 2 Adjust the servo with built in rocker arms ...

Page 18: ...d install it again Repeat the step until nearly the SAME degree After the adjusting the rocker arm should be in the middle axis Remove the arm Effect diagram after assembling Assemble the following components Note The servo shaft should be closer to the bulges on the plate and the nuts underneath M2 10 Screw x2 M2 Nut x2 Now adjust the servo This step is to make the servo shaft in the middle so th...

Page 19: ...ttention not to tighten the screw otherwise the acrylic plate can t move freely Assemble the following components Effect diagram after assembling M3 8 Screw x2 M3 30 Copper Standoff x4 A04 x1 M3 8 Screw x4 Leave some space between the screw and plate Rocker arm A14 Self tapping screw packaged with servo 4 4 Fix a servo on Plate A14 4 5 Fix 4 M3 30 standoffs 4 6 Connect rocker arm and Plate A04 ...

Page 20: ...24ZZ Bearing x2 A01 x1 Front Wheel x1 M4 Spring Washer x4 Assemble the following components Effect diagram after assembling A13 A02 x1 A05 x1 M4 40 Screw x1 M4 Nut x1 A03 x3 M3 8 Screw x2 M3 12 Copper Standoff x2 4 7 Install the front wheel 2 groups 4 8 Fix 2 M3 6 standoffs on Plate A13 ...

Page 21: ... the arm and reassemble again instead of turning it Assemble the following components From the top view the rocker arm should be in the middle of the rotation range so it can rotate 90 degrees towards left and right Otherwise you need to readjust it again based on Step 4 2 above F687ZZ Bearing x2 Fixing screw packaged with servo Effect diagram after assembling 4 9 Assemble front wheels and steerin...

Page 22: ...www adeept com 18 Assemble the following components The two wheels can turn left and right Effect diagram after assembling M3 8 Screw x4 F687ZZ Bearing x2 4 10 Fix the front wheels and the steering part ...

Page 23: ...onents Assemble the following components Effect diagram after assembling Fixing screw packaged with servo Note The end of the rocker arm should be on the slot hole Assemble Ultrasonic Module 5 1 Assemble the servo 5 2 Assemble the rocker arm and Plate A07 Servo part assembled in 4 3 M3 8 Screw x2 ...

Page 24: ...am after assembling Assemble the following components Effect diagram after assembling 5 3 Fix the Plate A08 and A07 5 4 Fix the Adeept Ultrasonic Module on the part assembled in Step 5 3 M3 12 x1 M1 4 6 Self tapping Screw X1 Adeept Ultrasonic Module X1 M3 Nut x1 A08 x1 ...

Page 25: ... and right to 90 degrees otherwise you need to adjust the servo again based on Step 4 2 Effect diagram after assembling Make sure the servo is adjusted well shaft turned to 90 degrees and so the ultrasonic facing right ahead Fixing screw packaged with servo X1 5 5 Mount the part assembled in Step 5 4 to the car body ...

Page 26: ...2 Nut x2 M2 10 Screw X1 Assemble the following components First assemble the M2 10 screw and M2 nut into the LED module with the screw just inserted into the nut as shown in the figure Then hold the LED press the nuts into the holes of the module and tighten them RGB LED Module ...

Page 27: ...www adeept com 23 A13 Assemble the following components Effect diagram after assembling Adeept UNO R3 Board x1 M3 4 Screw x4 Assemble PCBs 7 1 Mount the Adeept UNO R3 Board to A13 ...

Page 28: ...www adeept com 24 Adeept Motor Shield x1 7 2 Insert the Adeept Motor Shield onto the Adeept UNO R3 Board Assemble the following components Effect diagram after assembling ...

Page 29: ...w adeept com 25 NRF24L01 Module x1 NRF24L01 module DO NOT plug in inversely 7 3Insert the Adeept Motor Shield onto the Adeept UNO R3 Board Assemble the following components Effect diagram after assembling ...

Page 30: ...he plate at the back of the car and then an M2 nut below the plate in turn During the course you can hold the nut underneath insert the screw through these and tighten them The M3 nut here is to support the module in height Assemble the following components Assemble the Adeept Passive Buzzer Module Adeept Passive Buzzer Module x1 M3 Nut x2 M2 Nut x2 M2 10 Screw x2 ...

Page 31: ...lder x1 The wiring on the 18650x2 Battery Holder shall not be pressed between the 18650x2 Battery Holder and the Adeept Remote Control Shield so as to avoid short circuit caused by metal puncturing on the Adeept Remote Control Shield M3 10 Countersunk Head Screw x2 Remote Control A Fix the 18650x2 Battery Holder and Adeept Remote Control Shield ...

Page 32: ...t com 28 Assemble the following components Effect diagram after assembling Arduino Nano x1 Pay attention to the direction of the Arduino Nano Do not reverse it B plug Arduino Nano in Adeept Remote Control Shield ...

Page 33: ...deept com 29 Assemble the following components Effect diagram after assembling NRF24L01 Module x1 Plug NRF24L01 in the port P4 of Adeept Remote Control Shield C Plug NRF24L01 in Adeept Remote Control Shield ...

Page 34: ... 30 Assemble the following components Effect diagram after assembling Adeept ADXL345 Module x1 Plug NRF24L01 in the port P5 of Adeept Remote Control Shield D Plug Adeept ADXL345 Module in Adeept Remote Control Shield ...

Page 35: ... to ultrasonic To P5 Battery Holder Passive Buzzer Motor Left rear wheel abc b b c a c The servo that controls the direction of the car should be connected to the interface P4 and the servo that controls the angle of the ultrasonic module should be connected to the interface P5 The wires should be connected to the interface according to the corresponding color Circuit Connection ...

Page 36: ...www adeept com 32 Circuit Connection of the Remote Control ...

Page 37: ... community the Arduino board started changing to adapt to new needs and challenges differentiating its offer from simple 8 bit boards to products for IoT applications wearable 3D printing and embedded environments All Arduino boards are completely open source empowering users to build them independently and eventually adapt them to their particular needs The software too is open source and it is g...

Page 38: ...ss than 7V however the 5V pin may supply less than five volts and the board may become unstable If using more than 12V the voltage regulator may overheat and damage the board The recommended range is 7 to 12 volts The power pins are as follows Vin The input voltage to the Arduino Genuino board when it s using an external power source as opposed to 5 volts from the USB connection or other regulated...

Page 39: ...ts 2 and 3 These pins can be configured to trigger an interrupt on a low value a rising or falling edge or a change in value See the attachInterrupt function for details PWM 3 5 6 9 10 and 11 Provide 8 bit PWM output with the analogWrite function SPI 10 SS 11 MOSI 12 MISO 13 SCK These pins support SPI communication using the SPI library LED 13 There is a built in LED driven by digital pin 13 When ...

Page 40: ...ftware Download the corresponding installation program according to your operating system If you are a Windows user please select the Windows Intaller to download and install the driver correctly After the download completes run the installer For Windows users there may pop up an installation dialog box of the driver during the installation Please agree the installation when it appears After insta...

Page 41: ...bably something like dev tty usbmodem241 for an Uno or Mega2560 or Leonardo or dev tty usbserial 1B1 for a Duemilanove or earlier USB board or dev tty USA19QW1b1P1 1 for a serial board connected with a Keyspan USB to Serial adapter On Windows it s probably COM1 or COM2 for a serial board or COM4 COM5 COM7 or higher for a USB board to find out you look for USB serial device in the ports section of ...

Page 42: ...hift key on your computer when using this icon The text will change to Upload using Programmer New Creates a new sketch Open Presents a menu of all the sketches in your sketchbook Clicking one will open it within the current window overwriting its content Note Due to a bug in Java this menu doesn t scroll if you need to open a sketch late in the list use the File Sketchbook menu instead Save Saves...

Page 43: ...e RF24 ZIP library so you need to install it before compiling Click Add ZIP Library to add the RF24 ZIP to the libraries folder After the library is installed successfully you can find the RF24 ZIP under Sketchbook location on the window popped up by clicking Preferences ...

Page 44: ...www adeept com 40 ...

Page 45: ...www adeept com 41 ...

Page 46: ...arts the remote control based on Arduino Nano Boardand the car controller on Adeept UNO R3 Board First upload the sketch to Arduino Nano Board Open the file for the remote control the file AdeeptRemoteControl ino Connect the Arduino Nano the computer Select Tool Board Arduino Nano Arduino Nano and Port COM13 COMx is the port number assigned to the Arduino Nano and can be COM1 COM2 COM3 So it depen...

Page 47: ...www adeept com 43 ...

Page 48: ...pt com 44 Next click the upload button After the program is uploaded to the Nano successfully upload another sketch to the Adeept UNO R3 Open the program provided for the control board the file AdeeptMotor ino ...

Page 49: ...www adeept com 45 Connect the Arduino UNO R3 Board to the PC Select Tool Board Arduino Genuino Uno and Port COM7 Also here is COM7 assigned to the Uno but it can be COM1 COM2 COM3 ...

Page 50: ...ated to serve as a software sketchbook and to teach computer programming fundamentals within a visual context Processing evolved into a development tool for professionals Today there are tens of thousands of students artists designers researchers and hobbyists who use Processing for learning prototyping and production Free to download and open source Interactive programs with 2D 3D or PDF output O...

Page 51: ...bout Processing IDE please refer to the following link https www processing org reference environment After downloading the decompression of the Processing software package we do not need to install the Processing software And we need to connect the remote control we provided to the computer and open the Processing software ...

Page 52: ...www adeept com 48 ...

Page 53: ...www adeept com 49 Find AdeeptRadarProcessing pde we have provided ...

Page 54: ...www adeept com 50 ...

Page 55: ...utton D on the remote control You ll see real time radar scanning data from the car Note when we press button D here sometimes the car cannot send back data We need to press button D several times before the car can send back data This problem is about program we ...

Page 56: ...improve the code in this area in the next time We will upload the updated code to our website as soon as possible We also welcome everybody to discuss together study together make progress together in Adeept BBS http www adeept com forum ...

Page 57: ...ompleting all projects in the guide you should have some knowledge of the book and Arduino thus you can try to change the car into other projects by adding more Adeept modules or changing the code for extended functions For more information about Arduino Raspberry Pi smart car robot or robotics etc please follow our website www adeept com We will introduce more cost effective innovative and intrig...

Page 58: ......

Reviews: