BALANCING robot
Help me by sharing this post

PREVIOUS POST       NEXT POST

Author Andrei
02/07/2019
One very often made project for electronics that you might make is a balancing robot. Tech_support make his own balancing robot and posted the entire tutorial on instructables. The project is very cool and amazing to see how the robot will automatically adapt the speed and direction of rotation of the wheels in order to stay always streight. These kind of robots are using some sort of sensing to detect accelerations or gyros. With that the microcontroller could then calculate angles. If the angle is not horizontal the robot will automatically change the rotation of the wheels to counteract the movement in the oposite way.

Usually, the motors could be step motors becasue those are easy to control but also to know exaclty the speed and the position of the rotating shaft.


The problem of a self-balancing robot is that of an inverted pendulum. In order to counter-act the force of the robot falling either forwards or backwards we need a mechanism which will keep its center of gravity directly above the point in which it pivots. This pivot point would be our wheel axle. The strategy of counter-action will be conducted by driving the robot's wheels in the direction in which it is falling. To move the motors he used a H-bridge because he is using DC motors. But he also needs a feedback from the motors but it seams he doesn't have that.

To adjust the angle rapidlly he is using a PID control inside the code of the Arduino. PID is very powerfull and will keep this kind of system steady. All you have to do later is to adjust the PID constants so the reaction to movement is fast, exact and precise.


If you want to see the full tutorial, you have the original post here. He explains everything you need to know about PID, motor control, coding the Arduino, how to build the frame and connect everything so check his tutorial. I hope you will also like this project.

Apart this post, if you have your own project and you need good quality PCBs, consider using the services of JLCPCB.com which will offer you quite good services, I use their services a lot of my PCBs.

Consider supporting ELECTRONOOBS on PATREEON.







Help me by sharing this post

PREVIOUS POST       NEXT POST





yt_link
insta_link
fb_link
twitter_link
Blog#81 - BALANCING robot


Last tutorial - RADIO CONTROLLER
Check here my last tutorial. I hope that you will like it. Keep up you guys!

last tutorial


ADVERTISERS
PCBWAY PCB service



Gearbest Alfawise U30 2.8 inch Touch Screen DIY Desktop 3D Printer - U30 EU Plug Black
Alfawise U30 2.8 inch Touch Screen DIY Desktop 3D Printer - U30 EU Plug Black only $$162.89

AFFILATE

Gearbest Creality3D CR - 10S 3D Printer - EU Plug Upgrade Version Coffee and Black
Creality3D CR - 10S 3D Printer - EU Plug Upgrade Version Coffee and Black only $$352.94

Gearbest Creality 3D Ender-3 V-slot Prusa I3 DIY 3D Printer Kit 220 x 220 x 250mm Printing Size - EU Plug Black
Creality 3D Ender-3 V-slot Prusa I3 DIY 3D Printer Kit 220 x 220 x 250mm Printing Size - EU Plug Black only $$153.84

Gearbest Alfawise U20 Large Scale 2.8 inch Touch Screen DIY 3D Printer - EU - U20 EU Plug Black
Alfawise U20 Large Scale 2.8 inch Touch Screen DIY 3D Printer - EU - U20 EU Plug Black only $$253.39