Adeept Quadruped Robot
Adeept Quadruped Robot
com
www.adeept.com
Warning
Please pay attention to the following issues:
There are small components included in this kit. Make sure it's not reachable for children
under 6 years old in case swallowing mistakenly. If accident occurs, please seek medical help
immediately.
Parental guidance recommended for young children.
Do not place the products or the components near any AC socket or other circuits to avoid
electric shock.
Keep away from any liquid or flame when using the product.
Store the product in amicable environment, avoid extreme temperature and humidity.
Turn off the power after use.
Do not touch the moving part of the product or interfere it with any physical objects or
signals in case damages to the product or fire generated by over heat.
Product may be warm during use.
Do not reverse the cathode and anode of the power in case damages to the circuit.
Refer to instructions before use.
Handle the product gently, avoid vigorous shaking or slamming.
About
Adeept is a technical service team of open source software and hardware. Dedicated to applying
the Internet and the latest industrial technology in open source area, we strive to provide the
best hardware support and software service for general makers and electronic enthusiasts
around the world. We aim to create infinite possibilities with sharing. No matter what field you
are in, we can lead you into the electronic world and bring your ideas into reality.
The code and manual of our product are open source. You can check on our website:
http://www.adeept.com/
If you have any problems, feel free to send an email for technical support and assistance:
[email protected]
On weekdays, we usually will reply within 24 hours. Also welcome to post in our official forum:
http://www.adeept.com/forum/
Copyright
This user manual and code can be used for learning, 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 implemented with the
permission of the Company, or it will be deemed illegal.
www.adeept.com
Contents
Contents...............................................................................................................................................3
1.Component List................................................................................................................................ 4
1.1.Acrylic Plates......................................................................................................................... 4
1.2.Machinery Parts.................................................................................................................... 5
1.3.Electronic Parts......................................................................................................................5
1.4.Tools....................................................................................................................................... 7
1.5.Self-prepared Parts................................................................................................................7
2. Install the software..........................................................................................................................8
2.1.Install the Arduino IDE.......................................................................................................... 8
2.2. Install the library files.........................................................................................................10
2.3.Install the driver.................................................................................................................. 14
2.4. Upload program................................................................................................................. 16
3.Assembly........................................................................................................................................ 21
3.1.Preparations before Assembly............................................................................................21
3.2. Servo debugging.................................................................................................................23
3.3 Install and Remove Batteries.............................................................................................. 24
3.4 Assemble the legs................................................................................................................27
3.5 Assemble the other parts of the robot............................................................................... 35
4. Program debugging....................................................................................................................... 51
5.Install the upper computer control software Python....................................................................52
5.1.Download software.............................................................................................................52
5.2. Control the robot................................................................................................................56
6.Afterword....................................................................................................................................... 58
3
www.adeept.com
1.Component List
1.1.Acrylic Plates
A0-1
A0-1 1PCS
A0-1
1PCS
1PCS
A0-1
1PCS 1PCS
A0-1
A0-1 1PCS
A0-1
4PCS
8PCS
A0-1
A0-1 A0-1
A0-1 2PCS
7PCS 5PCS
5PCS
The acrylic 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 may have residues, so you need to clean them before use.
4
www.adeept.com
1.2.Machinery Parts
M2*6 M2.5*11
Copper Copper
Standoff Standoff
X4 X2
www.adeept.com www.adeept.com
1.3.Electronic Parts
Esp-8266 WiFi Module X1 Servo X14
5
www.adeept.com
MPU-6050 X1 Adeept Ultrasonic Module X1
4-PIN Wire-1 X1
6
www.adeept.com
1.4.Tools
Cross Screwdriver X1 Cross Socket wrench X1
Flathead Screwdriver X1
Ribbon X1
1.5.Self-prepared Parts
18650 Battery X2
7
www.adeept.com
8
www.adeept.com
3.Install,remember your installation directory.
9
www.adeept.com
10
www.adeept.com
Copy the four library files Adafruit_NeoPixel, Servo,IRremote and SR04 to the libraries
file in the installation directory of Arduino IDE.
11
www.adeept.com
12
www.adeept.com
13
www.adeept.com
2.Open the driver program, install corresponding driver according to the computer operating system.
14
www.adeept.com
3. Click to install.
15
www.adeept.com
4.Now you will find the Arduino serial port is accessible (different computer configuration has different serial
port).
16
www.adeept.com
17
www.adeept.com
5.Upload program.
Two sets of code are provided, the infrared remote control (four_feet_robot_wifi) and wifi control
(four_feet_robot_infrared). Upload the code according to your need.
Because the servo has a certain angle error, when you finish installing the servo, you may find that the four legs
of the robot cannot stand on the same level,and you need to fine-tune the angle through the program. (The
variable angle0-angle11 corresponds to 12 servos respectively)
18
www.adeept.com
6.After uploading, turn off the power and switch to 1, and then turn it on.
19
www.adeept.com
After the Wi-Fi and attitude sensor are debugged (about 30 second), LED changes to blue.
Now you can start to control the robot. (Note: After turning on the power, lay flat the robot when the LED does
not turn to blue yet. Do not move the robot during the process because the attitude sensor is calibrating and
reading the data.)
Install the servo: When the LED turns blue, install the servo (do not turn off the power).
20
www.adeept.com
3.Assembly
3.1.Preparations before Assembly
1.Connect the Adeept Ultrasonic Module with 4-Pin wire.
Assemble the following components
Adeept Ultrasonic Module x1
4-Pin wire x1
21
www.adeept.com
Connect Esp-8266 WiFi Module
22
www.adeept.com
23
www.adeept.com
Roll one end of the ribbon to let through a battery and fix.
Insert the batteries into the rings - ribbon closer to the anode.
To remove the batteries, just pull the ribbon and take them out.
24
www.adeept.com
M3 Nut
X3
M3*10 Screw
X3
25
www.adeept.com
In the following installation process, it is required to connect the servos to the AdeeptPixie The
AdeeptPixie will automatically check the servo angle and rotate it to the appropriate position.
26
www.adeept.com
Servo
X1 M2*8 Screw
X2
M2 Nut
X2
27
www.adeept.com
M3*8 Screw
X2
28
www.adeept.com
M2*8 Screw
X2
M2 Nut
X2
29
www.adeept.com
M3*10 Screw
X4
M3 Nut
X4
30
www.adeept.com
Servo rocker
Arm X2
X2
M1.7*6*6
self-tapping Screw
X2
31
www.adeept.com
M2 Nut
X2
Servo
X1
M2*8 Screw
X2
32
www.adeept.com
M2.5*8 Screw
X2
33
www.adeept.com
The above is the installation of the leg on one side of the robot. For the installation of the other
side of the leg, refer to the picture below (the legs on both sides are symmetrical).
34
www.adeept.com
M3 Nut
M3*8 Countersunk
X1
Head Screw
X1
35
www.adeept.com
Servo rocker
Arm X4
36
www.adeept.com
M3*15 Nylon
standoff
X4
M3*8 Screw
X4
37
www.adeept.com
M2 Nut
X4
WS2812 LED
X2
M2*6 Copper Standoff
X4
M2*14 Screw
X4
38
www.adeept.com
M3*8 Screw
X6
M3*40 Nylon
Standoff X6
39
www.adeept.com
MPU-6050
X1
40
www.adeept.com
Assemble the legs with the acrylic plate with the rocker arm installed (the servo needs to be in
the state of debugging)
Assemble the following components
M2.5*8 Screw
X4
41
www.adeept.com
Adeept Ultrasonic
Module X1
42
www.adeept.com
M3*8 Screw
X6
43
www.adeept.com
44
www.adeept.com
45
www.adeept.com
M3*8 Screw
X4
46
www.adeept.com
M3*8 Screw X4
47
www.adeept.com
M2.5* 8 Screw
X2
48
www.adeept.com
D8
D4
D3
D9
D14 D10
D6
D5
D7 D13
D12
49
www.adeept.com
GND D
5V
50
www.adeept.com
4. Program debugging
After the assembly is completed, the error of the servo itself will cause an angle de
viation of the robot's foot. At this time, each leg of the robot needs to be adjusted
to the correct angle as shown in the following figure by modifying the program.
Only then the robot can work normally. Refer to the following link for video tutoria
l: https://www.adeept.com/video/detail-68.html
0
90
0
90
51
www.adeept.com
52
www.adeept.com
53
www.adeept.com
5. Wait to complete.
54
www.adeept.com
55
www.adeept.com
56
www.adeept.com
57
www.adeept.com
6.Afterword
Thanks for purchasing our product and reading the manual! If you spot any errors or have any
ideas or questions for the product and this guide, welcome to contact us! We will correct them if
any as quickly as possible.
After completing 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 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
intriguing products!
Thanks again for choosing Adeept product and service!
58
www.adeept.com
59