background image

Summary of Contents for PiCar-B

Page 1: ......

Page 2: ...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...

Page 3: ...g DIY 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...

Page 4: ...e Assembly 7 2 2 Car Light and Battery Holder Assembly 9 2 3 Rear wheel assembly 18 2 4 Front wheel assembly 26 2 5 Front part assembly 37 2 6 Raspberry Pi assembly 46 2 7 Install and Remove Batteries...

Page 5: ...www adeept com 1 1 Components List 1 1 Acrylic Plates A01 1pcs A02 1pcs A03 1pcs A06 1pcs A05 1pcs A04 1pcs A07 1pcs A09 2pcs A08 2pcs...

Page 6: ...ng them in case of breaking The acrylic plate is covered with a layer of protective film You need to remove it first Some holes in the acrylic may have residues so you need to clean them before the us...

Page 7: ...ww adeept com M4 6 Screw X2 www adeept com M4 40 Screw X2 www adeept com M3 10 Countersunk Head Screw X2 www adeept com M1 4 6 Self tapping Screw X8 www adeept com M4 Spring Washer X6 www adeept com F...

Page 8: ...4 www adeept com 1 3 Transmission Parts Bevel gear unit M3 3 Locking Screw x2 Bevel gear x2 S12D4 Coupling Set M4 4 Locking Screw x4 S12D4 Coupling x2 D3 9L120 Axle x1 Motor x1 Wheel x4 Servo x3...

Page 9: ...Raspberry Pi Camera X1 Adeept Motor HAT X1 18650x2 Battery Holder X1 Adeept Ultrasonic Module X1 Adeept RGB LED Module X2 3 CH WS2812 RGB LED X4 3 CH Line Tracking Module X1 Raspberry P1 Camera Ribbon...

Page 10: ...2 0mm X1 Hex Wrench 1 5mm X1 Cross Socket Wrench X1 Cross Screwdriver X1 Large Cross head Screwdriver X1 Winding Pipe X1 Raspberry Pi X1 1 5 Tools 1 6 Self prepared Parts Ribbon X1 4 Pin Wires X3 5 Pi...

Page 11: ...wing components Effect diagram after assembling 2 Assembly 2 1 Preparations before Assembly 1 Connect the Raspberry Pi Camera and the ribbon 2 Connect the Adeept Ultrasonic Module with 4 Pin wires The...

Page 12: ...end To prevent confusion between the following two components when reading the manual we define the following two components as 3 CH WS2812 RGB LED A and 3 CH WS2812 RGB LED B 3 CH WS2812 RGB LED 3 P...

Page 13: ...fter assembling 2 2 Car Light and Battery Holder Assembly 1 Fix two M3 12 Copper Standoff on A01 Assemble the following components M3 12 Copper Standoff is fixed on the marked side of A01 A01 x1 M3 12...

Page 14: ...diagram after assembling 2 Fix A06 on A01 Assemble the following components M3 Nut x4 A06 x1 For the convenience of reading some modules of the manual will display other colors the actual color shall...

Page 15: ...www adeept com 11 Effect diagram after assembling 3 Fix M2 6 Copper Standoff on A01 Assemble the following components M2 6 Copper Standoff x2 M2 14 Screw x2...

Page 16: ...am after assembling 4 Fix one 3 CH WS2812 RGB LED A on M2 6 Copper Standoff Assemble the following components M2 Nut x2 3 CH WS2812 RGB LED A input the end marked with a white strip pattern is on the...

Page 17: ...ep 3 and 4 fix another 3 CH WS2812 RGB LED A on A01 Before install the 3 CH WS2812 RGB LED A pass the 3 Pin Wires A on the 3 CH WS2812 RGB LED A through A01 via the hole here 3 CH WS2812 RGB LED A inp...

Page 18: ...following components 18650x2 Battery Holder x1 M3 10 Countersunk Head Screw x2 M3 Nut x2 Effect diagram after assembling After the 18650x2 Battery Holder is fixed connect the 3 Pin Wires A of 3 CH WS2...

Page 19: ...812 RGB LED A is on the left side the input end the end marked with a white strip pattern faces up 3 CH WS2812 RGB LED B is on the right side and the input end the end marked with a white strip patter...

Page 20: ...www adeept com 16 8 Fix A02 on A01 Assemble the following components A02 M3 Nut x2 A01 M3 12 Screw x2 Effect diagram after assembling...

Page 21: ...3 Pin Wires B connected to the 3 CH WS2812 RGB LED B unconnected We leave it at the end and connect with the Adeept Motor HAT After assembly connect the wire at the input of 3 CH WS2812 RGB LED A whi...

Page 22: ...Bevel gear The M3 3 Locking Screw on the bevel gear should be fixed at this plane of the Motor s rotating shaft Effect diagram after assembling Keep the gear tooth of the bevel gear flush with the end...

Page 23: ...ww adeept com 19 2 Fix Motor on A06 Assemble the following components A06 M3 8 Screw x2 Once assembled the wires on the Motor can be passed through this hole in the A02 Effect diagram after assembling...

Page 24: ...www adeept com 20 3 Fix four M3 30 Copper Standoff on A01 Effect diagram after assembling Assemble the following components M3 8 Screw x4 M3 30 Copper Standoff x4...

Page 25: ...www adeept com 21 4 Then fix the A04 on the M3 30 Copper Standoff Effect diagram after assembling Assemble the following components M3 8 Screw x4 A04 x1 A10 x2...

Page 26: ...nents F624ZZ Bearing x1 S12D4 Coupling x1 D3 9L120 Axle x1 M4 Spring Washer X1 Effect diagram after assembling Insert D3 9L120 Axle to the bottom end of the S12D4 Coupling shaft hole and tighten the M...

Page 27: ...the tooth surface of the bevel gear should be facing down and the bevel gear is above the motor shaft At this time no need to fix the bevel gear The F624ZZ Bearing should be embedded in the A10 When f...

Page 28: ...www adeept com 24 8 Fix the tire on the S12D4 Coupling Assemble the following components wheel X1 M4 6 Screw X1 Effect diagram after assembling...

Page 29: ...xle Effect diagram after assembling Effect diagram after assembling Push the bevel gear on the D3 9L120 Axle from right to left with one hand until it engages with the bevel gear on the Motor and then...

Page 30: ...mbly 1 Fix 3 CH Line Tracking Module on A03 Assemble the following components 3 CH Line Tracking Module should be fixed on the side with the logo M3 Nut X1 3 CH Line Tracking Module X1 A03 X1 M3 12 Sc...

Page 31: ...www adeept com 27 2 Fix two 3 12 Copper Standoff on A03 Assemble the following components M3 12 Copper Standoff X2 M3 8 Screw X2 Effect diagram after assembling...

Page 32: ...e rocker arm Rotate the rocker arm between 0 and 180 degrees Adjust the rocker arm to make it rotate to an almost equal angle towards left and right If the angle is not nearly the same please remove t...

Page 33: ...is done for the car If you move it accidentally readjust before the assembly After the adjusting the rocker arm should be in the middle axis Remove the arm 4 Take two servos and fix them with A09 resp...

Page 34: ...www adeept com 30 5 Fix the assembled servo to the M3 12 Copper Standoff on the A03 Assemble the following components M3 8 Screw X2 M3 12 Copper Standoff Effect diagram after assembling...

Page 35: ...www adeept com 31 6 Fix four M3 30 Copper Standoff on A03 Assemble the following components M3 30 Copper Standoff x4 M3 8 Screw x4 Effect diagram after assembling...

Page 36: ...en the screw otherwise the A07 can t move freely Keep a gap between the Screw and A07 Wheel x1 Assemble the following components F624ZZ Bearing x2 M4 Spring Washer x2 M4 Nut x1 M4 40 Screw x1 Nylon is...

Page 37: ...7 to the servo on the A03 Insert the rocker arm into the servo in the direction as the following picture and then fix it Assemble the following components A07 Fixing screw packaged with servo x1 F687Z...

Page 38: ...www adeept com 34 10 Fix the M3 30 Copper Standoff on A01 and A03 Assemble the following components M3 8 Screw x4 A01 F687ZZ Bearing x2 M3 30 Copper Standoff A03 Effect diagram after assembling...

Page 39: ...Adeept RGB LED Module and A05 on A01 Assemble the following components M2 Nut x4 Adeept RGB LED Module x2 A05 x1 M2 14 Screw x4 Effect diagram after assembling M2 Nut only needs to be screwed into the...

Page 40: ...www adeept com 36 First insert M2 Nut into A01 A05 into A03 Then tighten M2 Nut and M2 14 Screw Insert M2 Nut into A01 Insert A05 into A03 Then tighten M2 Nut and M2 14 Screw...

Page 41: ...pt Ultrasonic Module to the A18 Assemble the following components M2 Nut X4 A18 X1 M1 4 6 Self tapping Screw X4 Raspberry Pi Camera X1 Effect diagram after assembling M2 Nut X4 Assemble the following...

Page 42: ...l strictly according to the position in the picture A15 is below the Servo output shaft of the Servo is to the left Effect diagram after assembling Assemble the following components M3 30 Copper Stand...

Page 43: ...Copper Standoff on the A17 Assemble the following components Effect diagram after assembling A16 X1 A17 Effect diagram after assembling Assemble the following components A15 A17 Assemble the followin...

Page 44: ...ll the rocker arm on the servo at the angle as shown in the picture 90 Effect diagram after assembling Assemble the following components Rocker arm x1 Effect diagram after assembling Assemble the foll...

Page 45: ...with A09 Assemble the following components Effect diagram after assembling Rocker arm x1 A12 x1 Self tapping screw packaged with servo x2 Install the rocker arm on the servo at the angle as shown in t...

Page 46: ...A12 Effect diagram after assembling Assemble the following components M3 Nut x1 A14 x1 M3 18 Screw x1 Effect diagram after assembling Assemble the following components A12 A13 A14 A16 Insert the M3 1...

Page 47: ...in the previous step on the M3 12 Copper Standoff on the A1 Assemble the following components Effect diagram after assembling M3 Nut x2 M3 12 Screw x2 First rotate the upper part of the Servo 90 clock...

Page 48: ...www adeept com 44 Then fix A09 to M3 12 Copper Standoff with M3 8 Screw M3 8 Screw X1...

Page 49: ...www adeept com 45 M3 8 Screw X1 Rotate the upper part of the Servo 180 counterclockwise then fix the A09 and M3 12 Copper Standoff with the M3 8 Screw...

Page 50: ...er part of the servo back to original position 2 6 Raspberry Pi assembly 1 Fix M2 5 10 6 Copper Standoff and M2 5 14 Copper Standoff to Raspberry Pi M2 5 14 Copper Standoff X1 Effect diagram after ass...

Page 51: ...e Raspberry Pi via Adeept Motor HAT and fix the Adeept Motor HAT to the Raspberry Pi 3 Fix the Raspberry Pi on the A02 Effect diagram after assembling Assemble the following components Raspberry P1 Ca...

Page 52: ...t com 48 Effect diagram after assembling Number the three servos and two Adeept RGB LED Modules to facilitate the next circuit connection Servo A Servo B Adeept LED RGB Module B Adeept LED RGB Module...

Page 53: ...If you have to use the Voice Module you need to insert it into the Raspberry Pi Assemble the following components Voice Module x1 Effect diagram after assembling Insert the Voice Modul e into any of t...

Page 54: ...nd take them out Install the batteries into the holder based on the pole Insert the batteries into the rings ribbon closer to the anode Roll one end of the ribbon to let through a battery and fix 2 7...

Page 55: ...www adeept com 51 2 8 Circuit Connection Connect components based on the figure Pay attention to match the wire and port and not connect inversely...

Page 56: ...ion and the system works well you may skip this step You need to download the Win32 Disk Imager and burn the operating system to the SD card Download the Win32 Disk Imager at https sourceforge net pro...

Page 57: ...tems they are hidden by default and you need to make the setting You may search on the Internet by yourself for how to display the filename extension suffix in your own system For example in Windows 7...

Page 58: ...mt is the common encryption method for most routers If the network connection fails you may log in and check on the router management page For more about the network connection for Raspberry Pi please...

Page 59: ...work Scanner App to check the address The address of the Raspberry Pi is the one with Raspberry The name of the router that the computer or mobile connects should be consistent with the one of the WiF...

Page 60: ...www adeept com 56 If a warning window prompts click Yes...

Page 61: ...ix Then you must set up a raspberry pi yourself by following the instructions of next chapter named Set Up a Raspberry Pi Download the program of the PiCar B Input the code below to download git clone...

Page 62: ...may cause inconvenience in the subsequent operations Here we first upgrade the system of the Raspberry Pi Type in the following command sudo apt get update The apt get update command is to acquire th...

Page 63: ...ed you may continue operations on it The Adeept Motor HAT V1 0 communicates with the Raspberry Pi via the I2C port but the I2C port is disabled by default You need to enable it sudo raspi config A win...

Page 64: ...bled lsmod grep i2c If the following contents are shown it indicates the module is enabled successfully 6 Install I2C Tools Install I2C Tools to check whether the external devices are connected succes...

Page 65: ...WHL file is a Python Wheel Package Python is a dynamicobject oriented programming language Wheel is a built package format for Python A wheel is a ZIP format archive with a specially formatted filenam...

Page 66: ...ess multiple files x Extract a tar ball z Decompress and extract the contents of the compressed archive created by gzip program tar gz extension v Verbose output or show progress while extracting file...

Page 67: ...all the software The sudo make install command will copy the built program and its libraries and documentation to the correct location Install the software More information https robots thoughtbot com...

Page 68: ...stream to PC Then you need to install zmq and pybase64 for FPV function sudo apt get install libatlas base dev libjasper dev libqtgui4 python3 pyqt5 libqt4 test sudo pip3 install zmq pybase64 libatlas...

Page 69: ...libraries sudo apt get install util linux procps hostapd iproute2 iw haveged dnsmasq Add the RPi Car program to auto start Creat a car desktop to add the RPi Car program to auto run sudo nano home pi...

Page 70: ...again to replace the old one and the car will go back to normal sudo cp f home Adeept_PiCar B server set txt home pi set txt 3 4 Install Python3 7 in the PC Install Python3 7 So far there are two ver...

Page 71: ...version based on your own system Install Speech Recognition on Windows Press R in Window and enter CMD in the textbox Click OK Type in python m pip install upgrade pip setuptools wheel to upgrade setu...

Page 72: ...pyaudio In our case we download PyAudio 0 2 11 cp37 cp37m win_amd64 whl for Python3 7 on x64 OS If you are using a x86 system you need to download PyAudio 0 2 11 cp37 cp37m win_win32 whl Download it a...

Page 73: ...to point to the swig s executable which is under the root directory of swig Just hit and R at the same time to get command prompt Then type sysdm cpl go to Advanced and select Environmental Variables...

Page 74: ...install PocketSphinx pip3 install pocketsphinx 0 1 15 cp37 cp37m win_amd64 whl 6 Install OpenCV Install numpy pip3 install numpy NumPy is a general purpose array processing package designed to effici...

Page 75: ...EDs turn red it means the car s server is connected to a Wi Fi waiting for the PC client to join If there is no Wi Fi for the car to connect with the LEDs turn blue it means the car has set up an AP H...

Page 76: ...as not changed you may press Enter directly next time to connect After the connection is made successfully the Video window shows up Now you may control the car by the keyboard based on the instructio...

Page 77: ...speed of car running in the bottom one After all changes you need to click Set button to send the new data to the car OpenCV Vision Recognition By default the Rover finds the biggest yellow object in...

Page 78: ...distance_range value default 0 4m both of the values can be changed in server py in the Rover Modes Stop and Led Control When you ve start a Mode such as OpenCV vision recognition or Find Line you ca...

Page 79: ...nplug the power cable for the Raspberry Pi which may cause damage to the Raspberry Pi and SD card data loss etc To avoid such issues you need a safe shutdown for the Raspberry Pi If you just use the R...

Page 80: ...all projects in the guide you should have some knowledge of the Raspberry Pi and Robot thus you can try to change the robot into other projects by adding more Adeept modules or changing the code for e...

Page 81: ......

Reviews: