2-Wheel Self Balancing Robot by Using Arduino and MPU6050

343,885

294

654

Published

Introduction: 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.

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

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.

Step 5: Add Electronic Modules and Batteries on the Robot.

Step 6: Source Code

3 People Made This Project!

Recommendations

  • Planter Challenge

    Planter Challenge
  • Casting Contest

    Casting Contest
  • Clocks Contest

    Clocks Contest
user

We have a be nice policy.
Please be positive and constructive.

Tips

7 Questions

Can you give me a manual of connections?

654 Comments

Same thing actually. Really great project! Would appreciate if you could send the schematics!

kanso8341will@gmail.com

Thank you very much!

Hi. Could you please post a schematic. Haha.

hi,

looks a nice balancer , good Work, can you send me plz the connection schematics, i see you wait for some interrupts on the analog ports right ?

piggitux@gmail.com

I really liked your work and I'm trying to do this project, could you give me schematic and connection diagram this project?

please send at mail please.

as.nandishas570@gmail.com

I really liked your work and I'm trying to do this project, could you give me schematic and connection diagram this project?

please send at mail please.

m.iqbal5392@gmail.com

Please send me connections Schematic

dks41896@gmail.com

Regards

Hi! How to connect arduino- lm298-moto-mp6050.

Please.duongvankhang298@gmail.com

Thank you

how to connect please

krishnaramrao110@gmail.com

thank you

please send me a schematic:

adarshkeshri01@gmail.com

circuit diagram please.

adarshkeshri01@gmail.com

You must provide wiring diagram, othervise this will not be an instructable

you must provide a wiring diagram, othervise this willl not be an instructable

would you please send me the Circuit/schematic diagram - ccolumbina@gmail.com

user

HI UFACTORY,

I NOTICE THAT MANY POSTED COMMENTS ARE REQUESTING THE SCHEMATICS OR WIRING CIRCUIT FOR THE ROBOT. I WANT TO BUILD THE ROBOT AND HAVE ALL OF THE HARDWARE AND THE CODING UPLOADS INTO MY ARDUINO CLONE, BUT I TOO, DON'T HAVE THE WIRING DIAGRAM. I THINK I HAVE ENOUGH UNDERSTANDING OF HOW TO WIRE IT, BUT BEING A NEWBIE TO ARDUINO I WOULD REALLY APPRECIATE GETTING THE DIAGRAM RATHER THAN TRYING TO WIRE IT MYSELF. I'D RATHER LIKE TO SUCCEED THE FIRST TIME AROUND THAN FAIL THE FIRST TIME AROUND. THANKING YOU IN ADVANCE FOR THE WIRING DIAGRAM.

SINCERELY,

EMAIL: deu1@shaw.ca

The PDF link doesn't open..

please help for send me the schematic m.iqbal5392@gmail.com thank you