In this tutorial, we’re going to show you, how you can make “Arduino Self-Balancing Robot”.
Basically, this Arduino self-balancing robot is controlled with an Android Application or transmitter by using the Arduino Microcontroller. It is a bi-wheel robot that balances itself by applying the closed-loop algorithm. Some of the main features of this hi-tech robot are
- Simple Mode
- Position Holding
- Joystick Control
- Rise mode
This robot uses the information via Gyroscope and accelerometer for bringing it back to its original direction.
Components
- 2 x NEMA 17 Stepper Motor
- 2 x A4988 Drivers
- Arduino Nano
- Lipo Battery
- HC-05 Bluetooth Module
- GY-521 Module
- Prototype Board
- 10cm Wheels
- M5 Rod
- Angle Brackets
- Screws and Nuts
Balancing of Robot
Construction of Arduino project - Self Balancing Robot
Schematic Diagram
Understanding the Schematic Diagram
Left Motor = Step 2 & DIR 2
Right Motor = Step 1 & DIR 1
GY-521 Pins:
- A4 – SDA
- A5 – SCL
Motor driver pins:
- D5 – STEP1 (PORTD 5)
- D6 – STEP2 (PORTD 6)
- D7 – DIR1 (PORTD 7)
- D8 – DIR2 (PORTB 0)
- D4 – ENABLE (for both)
HC-05 Bluetooth Module Pins:
- TX-RX
- RX-TX
RC Control
D2 – CPPM (PPM_SUM) (For Transmitter)
Coding
Code credit goes to Mahowik
https://github.com/mahowik/BalancingWii
If you’re facing any kind of difficulty in finding the project parts that are necessary for this project then please call or email us. We’re here to help!
Conclusion
The Arduino Self-balancing robot is quite fascinating robot project. This robot will be controlled via Android application which you will install in your smartphone. You can also control this awesome robot with the help of joystick. Try this project in your home and send us your project. We will post it on our website.