Demo video of an simple Arduino Balancing Platform. I am using the accelerometer (MPU6050) for tracking the orientation of the base of the platform. As I tilt the base, the accelerometer tells the angle of the tilt. According to that angle I send signal to the servo motor to rotate the platform so that it remain horizontal to the ground. Also, I am using a Kalman filtering for stabilization.
Parts used in this example
- Arduino Mega 2560
- Accelerometer – MPU6050
- Servo Motor – SM-S2309S
For All Your PCB Need, One-stop PCB Solution Services Appear: