It's not too difficult. You need a way of detecting what angle the robot is leaning, and something that can repeatedly check that angle, adjusting the speed of the motors to compensate. I used a PID controller loop for this robot (the wikipedia entry for PID should tell you everything you need). For detecting the angle I used an accelerometer and gyroscope, the same sensors used by iPhones and Wii remotes.
It's not too difficult. You need a way of detecting what angle the robot is leaning, and something that can repeatedly check that angle, adjusting the speed of the motors to compensate. I used a PID controller loop for this robot (the wikipedia entry for PID should tell you everything you need). For detecting the angle I used an accelerometer and gyroscope, the same sensors used by iPhones and Wii remotes.
bilewinters 11 months ago
Good Work, thts a nice proyect, could you tell me please the procedure for doing one of these? i want to make one too
Rukario19 11 months ago