background image

 
 

 

 

 

 

 

2WD Self Balancing Robot 

 
 

 

SuperDroid Robots, Inc 

 

 

 

Contact 

 

224 Technology Park Lane 

 

 

 

(919) 557-9162 

 

Fuquay Varina, NC 27526 

 

 

 

SDR@SDRobots.com 

 

www.SuperDroidRobots.com 

 

 

 

  

 

 

Revised: February 8, 2019  

 

 

 

Page 4 of 6 

 

 

sandwiching the plates between two nuts. Separate the plates so the spacing is relatively even between them 
and the chassis base. 

6.

 

Mount the batteries on the top deck using provided Velcro straps in the slots.

 

7.

 

At this point, you are finished with the mechanical assembly. You are now ready to wire the robot.

 

 

Inflating the tires 

Before running the robot on the ground, make sure the tires have been inflated. Running the robot with a flat 
tire can cause the tube to spin inside of the tire and damage the valve stem. For this reason it is a good idea to 
check the tires periodically to make sure they are inflated. 

Electrical Assembly 

 

For electrical assembly please follow the provided schematic on our website:  

Self Balancing Robot Wiring Diagram 

For additional support on wiring, soldering, and crimping, please read the following support pages: 

Electric Motor Hookup Support 

Electric Power Hookup Support 

Soldering Tips 

Crimping Wires 

Software 

 

1.

 

Make sure you have the Arduino IDE installed on your computer from 

arduino.cc

. 

2.

 

Download the Self Balancing Robot firmware from the 

SuperDroid Robots GitHub

. 

3.

 

This code depends on the following libraries that need to be extracted to your Arduino libraries folder. This 
is typically located at C:\Users\...\Documents\Arduino\libraries. 
Includes: 

Encoder_Buffer.h 

Summary of Contents for 2WD

Page 1: ...WD self balancing robot This kit is a perfect platform for learning Arduino PID control serial communications Serial I2C SPI PWM signals IMU filtering etc Images shown may not be an exact representation of the robot s features listed in this document ...

Page 2: ... Inc Contact 224 Technology Park Lane 919 557 9162 Fuquay Varina NC 27526 SDR SDRobots com www SuperDroidRobots com Revised February 8 2019 Page 2 of 6 Contents Mechanical Assembly 3 Electrical Assembly 4 Software 4 Operation 5 General Terms 5 ...

Page 3: ...ck At this point you can mount the shafts to the motors using the provided 20 set screws It may be helpful however to leave the wheels off while you finish building and wiring the robot 4 Before mounting the middle deck mount the switch fuse block and the rest of the electronics Drill a hole to mount the switch Use the plastic spacers and hardware provided in the hardware kit to mount the fuse blo...

Page 4: ...e the tube to spin inside of the tire and damage the valve stem For this reason it is a good idea to check the tires periodically to make sure they are inflated Electrical Assembly For electrical assembly please follow the provided schematic on our website Self Balancing Robot Wiring Diagram For additional support on wiring soldering and crimping please read the following support pages Electric Mo...

Page 5: ...es the IMU feedback in order to calculate error between target and measured angles The result is a target speed which is sent as commands to the motor controller The inner loop PID parameters are labeled AngleKp AngleKi and AngleKd To start tuning the PID you may tune the inner loop first to do this you can go to line 58 and set SpeedPID SetMode MANUAL After you have a good tuning you can set that...

Page 6: ...o representations as to the fitness of its products for specific uses ANY IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE IS HEREBY EXCLUDED 3 Agreements shall be construed in accordance with the laws of the State of North Carolina and the rights and obligations created hereby shall be governed by the laws of North Carolina 4 In the event a dispute or controversy arises suc...

Reviews: