background image

39

www.adeept.com

Then a terminal will pop up. The default account is pi.

The password for login is

raspberry

by default.

* When you typing in the password, nothing will appear on the screen but it does not mean no

input. Type in the password carefully and press

Enter

after it's done.

Log in successfully.

3.2. Download Program

Setting up in a Raspberry Pi may take you a lot of time, and there are too many libraries
needed, so we write a python program to do the most of works for you.

NOTE

: If you want to know the exact details of the program, you can skip this chapter.

NOTE

: This

setup.py

program is needed to download and install a lot of applications and

libraries, and sometimes the server or internet may break down, which may lead to some
problems that the

setup.py

could not fix. 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 https://github.com/adeept/adeept_awr.git

Then setup

sudo python3 adeept_awr/setup.py

It may take some time to finish.
Now you can skip the next chapter and

Install Python3.7 in the PC

directly

.

NOTE:

The installation process of the Raspberry Pi can take a long time, so we have prepared a tes

Содержание RaspRover

Страница 1: ...www adeept com...

Страница 2: ...me 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...

Страница 3: ...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...

Страница 4: ...ion Part 3 1 4 Electronic Parts 4 1 5 Tools 5 1 6 Self prepared Parts 5 2 Assembly 6 2 1 Preparations before Assembly 6 2 2 Servo debugging 9 2 3 body parts 14 2 4 install wheels 34 3 Software Hardwar...

Страница 5: ...ylic plates are fragile so please be careful when assembling 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...

Страница 6: ...2 www adeept com M2 5 4 Screw X4 www adeept com M2 5 8 Screw X4 www adeept com M3 8 Screw X22 www adeept com M3 12 Screw X9 www adeept com M3 35 Screw X8 www adeept com M3 12 Countersunk Head Screw X4...

Страница 7: ...om 1 4 Electronic Parts 5 Pin Wire X1 3 Pin Wire X2 Adeept Motor HAT X1 Raspberry Pi Camera X1 Adeept Ultrasonic Module X1 Car Light X2 Raspberry P1 Camera Ribbon X1 18650 Battery Holder Set X1 3 Trac...

Страница 8: ...pt com 1 5 Tools Hex Wrench 2 0mm X1 Cross Screwdriver X1 Cross Socket Wrench X1 Large Cross head Screwdriver X1 Winding Pipe X1 Ribbon X1 1 6 Self prepared Parts 18650 Battery X2 Raspberry Pi X1 4 Pi...

Страница 9: ...following 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 wire...

Страница 10: ...7 www adeept com 3 Connect the Raspberry Pi Camera and the Raspberry Pi...

Страница 11: ...on diagrams of the remaining modules and wires are as follows 3 Tracking Module 5 Pin wire 1 set The two plugs of 3 Pin Wire are small plugs Wires are connected to the input of Car Light the end marke...

Страница 12: ...ling 2 2 Servo debugging 1 Fix four M2 5x10 6 Copper Standoffs on Raspberry Pi Assemble the following components and insert the Adeept Motor HAT into Raspberry Pi M2 5x10 6 Copper Standoff x4 Raspberr...

Страница 13: ...10 www adeept com 4 Connect the 18650 Battery Holder Set to the Adeept Motor HAT Note that the switch is OFF...

Страница 14: ...llowing method Take out 1 ribbons and 1 batteries Roll one end of the ribbon to let through a battery and fix Insert the batteries into the rings ribbon closer to the anode Install the batteries into...

Страница 15: ...12 www adeept com 6 Connect servos to Adeept Motor HAT The color of the servo wire corresponds to the color of the port Connect the servo to pwm0 on the Motor HAT...

Страница 16: ...rted the servo needs to be rotated to the middle position manually After debugging remove the servo and battery holder and take the 18650 batteries out of the Holder Set Do not rotate the rotation axi...

Страница 17: ...14 www adeept com 2 3 body parts Fix Raspberry Pi Camera on Acrylic Plates Assemble the following components Effect diagram after assembling Raspberry Pi Camera M1 4 6 Self tapping scre ws X4 s...

Страница 18: ...deept com Fix a rocker arm to the acrylic plate Assemble the following components Effect diagram after assembling Self tapping screw package with serov x2 Rocker arm x1 M2 5 4 screw package with serov...

Страница 19: ...16 www adeept com Assemble the camera Assemble the following components Effect diagram after assembling M3 12 Screw X4 M3 Nut X4...

Страница 20: ...17 www adeept com Fix a debugged servo to the acrylic plate Assemble the following components Effect diagram after assembling M2 10 Screw X2 Servo x1 M2 Nut X2...

Страница 21: ...18 www adeept com Fix the rocker arm on acrylic to the servo on acrylic Assemble the following components Effect diagram after assembling...

Страница 22: ...19 www adeept com Fix motors to the acrylic Assemble the following components Effect diagram after assembling PI M2 5 8 Screw x1...

Страница 23: ...attery Holder Set to acrylic Assemble the following components Effect diagram after assembling M3 12 Countersunk Head Screw x1 18650 Battery Holder Set X1 M3 35 Screw x4 M3 Nut x5 Pay attention todist...

Страница 24: ...21 www adeept com Assemble pi and connected motor acrylic Assemble the following components Effect diagram after assembling M2 5 8 Screw X3...

Страница 25: ...22 www adeept com Fix 3 Tracking Module on acrylic Assemble the following components Effect diagram after assembling M3 8 Nut x1 M3 8 Screw X1 3 Tracking Module X1...

Страница 26: ...23 www adeept com Fix two Car Lights on the acrylic plate Assemble the following components Effect diagram after assembling M1 4 6 Self tapping X4 Car Light X2...

Страница 27: ...24 www adeept com Fix Adeept Ultrasonic Module on the acrylic plate Assemble the following components Effect diagram after assembling Adeept Ultrasonic Module X1 M1 4 6 Self tapping X4...

Страница 28: ...adeept com Motor A Pay attention to the distinction between motor A and B and pay attention to the direction of the motor placement The motor on this side should be connected to Motor B on Adeept Mot...

Страница 29: ...26 www adeept com Connect the Adeept Ultrasonic Module Car Light 3 Tracking Module and 18650 Battery Holder Set and motor as shown below before assembling the body part motor right motorleft...

Страница 30: ...27 www adeept com Assemble the body part Assemble the following components Effect diagram after assembling...

Страница 31: ...28 www adeept com Connect the front part and the body part Assemble the following components Effect diagram after assembling M3 Nut x2 M3 12 Screw X2...

Страница 32: ...29 www adeept com Assemble the following components Effect diagram after assembling M3 20Copper Standoff x4 M3 Nut X4 M3 8 Screw x4...

Страница 33: ...30 www adeept com Assemble the expansion board on top Assemble the following components Effect diagram after assembling...

Страница 34: ...31 www adeept com Strengthen the body part Assemble the following components Effect diagram after assembling M3 8 Screw X2 M3 60 Copper Standoff X1...

Страница 35: ...32 www adeept com Effect diagram after assembling M3 60 Copper Standoff X1 M3 8 Screw X2...

Страница 36: ...33 www adeept com Effect diagram after assembling M3 60 Copper Standoff X1 M3 8 Screw X2...

Страница 37: ...34 www adeept com 2 4 Install wheels Install the wheels on the car Assemble the following components Effect diagram after assembling...

Страница 38: ...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...

Страница 39: ...ndows systems 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...

Страница 40: ...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...

Страница 41: ...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 WiFi in the file wpa_s...

Страница 42: ...gram you can skip this chapter NOTE This setup py program is needed to download and install a lot of applications and libraries and sometimes the server or internet may break down which may lead to so...

Страница 43: ...ca9685 The te st program runs as follows sudo pip3 install adafruit_pca9685 sudo pip3 install rpi_ws281x Enable i2c you can refer to the documentation on 3 3 5 to know how to enable i2c sudo cp f home...

Страница 44: ...need to setup up a password for the user by entering the following command in the terminal of the RPi sudo passwd root Enter the passwd twice as shown below Log in as Root User Type in the following...

Страница 45: ...d OpenCV under the Windows system Enable I2C and Camera After the Raspberry Pi is updated you may continue operations on it The Adeept Motor HAT V1 0 communicates with the Raspberry Pi via the I2C por...

Страница 46: ...erfacing Options P1 Camera Yes OK Finish Yes Reboot the Raspberry Pi If it does not reboot automatically type in the following command reboot Then the I2C and Camera module are both enabled After the...

Страница 47: ...ython Software Foundation It is a specialized package manager that only deals with python packages Note There are two versions of Python in Raspberry Pi by default for our Python programs are written...

Страница 48: ...github com mayeut pybase64 Download Packages for WS_2812 sudo pip3 install rpi_ws281x rpi_ws281x is a Raspberry Pi library for controlling WS281X LEDs Download Program for the AWR git clone https gith...

Страница 49: ...ify true Then press Ctrl X to exit editing Input Y to save and press Enter to confirm Then you need to copy the set txt to home pi so that the program could find it and load settings If you set a wron...

Страница 50: ...nstallation of Python 3 7 under Windows Download Python 3 7 https www python org Click through Downloads Download Python 3 7 0 Install it after download is done Python will configure the environment v...

Страница 51: ...f arbitrary records without sacrificing too much speed for small multi dimensional arrays Download OpenCV_python whl https www lfd uci edu gohlke pythonlibs opencv In our case we download opencv_pytho...

Страница 52: ...earch it the RPi Car s AP Hotspot s SSID name is AdeeptCar and password is 12345678 Then implement operations in Windows Double click to run the file client py in the folder client For initial running...

Страница 53: ...n Adrian Rosebrock s OpenCV code on pyimagesearch com You can also learn more about the OpenCV to gain more fun to play with such as syncing the captured image to the dropbox after detecting the motio...

Страница 54: ...ot in real time by dragging these three sliders These three sliders correspond to the brightness of the three channels of RGB In theory you can create 16 777 216 256 3 kinds of colors through these th...

Страница 55: ...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...

Страница 56: ...53 www adeept com...

Отзывы: