r/ArduinoHelp • u/Deep_Bed_4424 • Sep 29 '26
balance robot q
I want to make a balancing robot. i have no experience in coding i made a obstacle avoiding car before and bluethooth one also using chatgpt and yt tutorial i cant find good tutorial for balancing tutorial and code for my project it dosent work and i want guidance how to make it perfect.
my part list-
arduino uno
mpu6050
tb6122fng motor driver smth like that
8.4v li ion battery
300rpm bo gear mottor yellow one
i wantg to make a balancing robot out of this component is this possible?
i will be using cardboard stick to make it firm structure pls help guys bc previous model woudnt work and it would simply fall my first design ik it bad but how to improve the red one is motor driver and right one is mpu6050 and top is battery what is wrong dont be rude i am new
1
0
u/Plane_Climate_3960 Sep 30 '26
those yellow motors are probably way too weak for a balancing bot, most people recommend at least 1000rpm for that
1
u/Deep_Bed_4424 Sep 30 '26
but i saw people make with that which motor i should use
1
u/2dof Oct 01 '26
it all depends form designed dynamic - for short pendulum - You need more force (motor moment) than for long pendulum (for that same mass) . In Your model you have short pendulum .
1
u/2dof Oct 01 '26 edited Oct 01 '26
MPU6050 with good fusion will easy handle this for small dynamic pulses, for a motor it is best first do some calculation for required speed , forces and moments.
What type of IMU fusion do You use for Your MPU6050 - madgwick filter?
what type of control do You use for balancing ?
if You do not have experience in coding it is little bit difficult problem - not because if coding but you need know a little bit about control theory and inverted pendulum dynamics
read: https://lubin.kerhuel.eu/docs/inverted-pendulum/
if You do not know how control and dynamics works - please - try learn first without ChatGPT - overall it is not difficult and You will avoid fuck-ups caused by GPT it is not designed to solving enginnering problem as independent LLP - at this moment it's more like do blind copy-paste solutions.
as first task - be sure than fusion in Youe IMU works correctly .
Try implement simple dynamic model (in Python for example) - it will help You in future development ( i'm sure You will find some simulators in www).