2-Wheel Self Balancing Robot by Using Arduino and MPU6050
Intro: 2-Wheel Self Balancing Robot by Using Arduino and MPU6050
2-Wheel Self Balancing Robot by using Arduino and MPU6050.
Use Arduino as the controller and sensor MPU6050 to control the balance. Just add a simple Serial Bluetooth module and use a Bluetooth Serial Controller APP for Android Phone to make the remote control.
In the first version, the controller is Arduino UNO, then in the sencond version as the following video shows, just change it to Arduino Lenardo.
Now let's see how to make this robot step by step.
Use Arduino as the controller and sensor MPU6050 to control the balance. Just add a simple Serial Bluetooth module and use a Bluetooth Serial Controller APP for Android Phone to make the remote control.
In the first version, the controller is Arduino UNO, then in the sencond version as the following video shows, just change it to Arduino Lenardo.
Now let's see how to make this robot step by step.
STEP 1: Materials
Mechanical Parts:
3 × Acrylic Board
16 × Brass Stud M4x16
2 × Encoder Motor
2 × Motor Brakcets
2 × Shaft Coupling
2 × Wheel
Screw M3
Nut M3
Electronic Modules:
1 × Arduino UNO (Arduino Leonardo in the second version)
1 × Motor Driver L298N
1 × DC/DC Power Converter LM2596
1 × MPU6050
2 × 18650 2600mAh 3.7V Li-ion Rechargeable Battery
1 × Battery Holder
3 × Acrylic Board
16 × Brass Stud M4x16
2 × Encoder Motor
2 × Motor Brakcets
2 × Shaft Coupling
2 × Wheel
Screw M3
Nut M3
Electronic Modules:
1 × Arduino UNO (Arduino Leonardo in the second version)
1 × Motor Driver L298N
1 × DC/DC Power Converter LM2596
1 × MPU6050
2 × 18650 2600mAh 3.7V Li-ion Rechargeable Battery
1 × Battery Holder
STEP 2: Build the Frame
Install 3 Acrylic board together by using Brass Stud M4x16, Screw M3 and Nut M3 to build the frame.
STEP 3: Install Motor Brackets
Install 2 Motor Brackets on the frame.
STEP 4: Install Encoder Motors and Wheels
First, install 2 encoder motors on the motor brackets.
Then add 2 wheels on the motors.
Then add 2 wheels on the motors.
678 Comments
queenidog 1 year ago
umutol 3 years ago
umutol 3 years ago
nguyenmyhieunhu 3 years ago
Email: nguyenmyhieunhu@gmail.com
Cảm ơn
hungb1709011 3 years ago
Email: hungb1709011@student.ctu.edu.vn
Thanks.
stealth50 4 years ago
YakupA6 5 years ago
yakup.akkus@outlook.com
MahÐiB 5 years ago
mahdi.bahloul7@hotmail.com
thank you
Radhe_S 5 years ago
gmail- rkb9999.rk@gmail.com
동빈임 5 years ago
idbaej@gmail.com
Thanks
PhuongN51 5 years ago
please send at mail please. danmientrung243@gmail.com
NajeebT 5 years ago
najatanb@yahoo.com
AlperA15 5 years ago
alper_0695@hotmail.com
Amv2 5 years ago
- Pravindenvasu@Gmail.com
fatih12 5 years ago
FaisalK56 5 years ago
hi, can u please share the schematic diagram on faisal.kamran1@hotmail.com
lukeclimo18 5 years ago
where can i find and buy all the reqired parts to build this ?
(went onto amazon beforehand and i couldn't find most of the parts)
Email; lclimo@outlook.com
any info, please send to my email
sk_upadhyay 5 years ago
Hi, I have one question, Can we use Arduino UNO, as it has only two interrupt and this code need three interrupt. Also I tried using Leo, it did not work. I tried using Arduino Mega 2560 and it seems not responding. This same setup is working fine with other code ( without encoder option and interrupt ) . But for the above code seems to have issue ( for me ) with encoder motor and interrupt combination. Hope to get some options.
Just to let you know, I have used mega 2560- pin 2 ( mpu ), 18,19 for encoder connection.
Rest are your code.
Thanks
Sanjay
dineshj921 5 years ago
THANK YOU FOR SHARING THIS PROJECT kindly send me the schematic diagram please email id: dineshj921@gmail.com
CườngN67 5 years ago
Please send me the schematic diagram of this self balancing robot !!!!!
Email id: b0yk0y3u3m@gmail.com
thanks !