Design of balance car based on MPU6050 six axis sensors
Two wheel self balancing trolley monitors the pitch state and the rate of state change through the attitude sensors such as gyroscopes and accelerometers,via the digital control center processing and calculation,and then sends the appropriate instructions to the motor driven by the acceleration forward or backward in order to maintain the balance of the body.This project uses STM32 microcontroller as the main controller, detects the status of the car using MPU6050 six sensors and two axis gyroscopes sensors and controls two motors by TB6612FNG,lets the car constantly in a state of balance between the old and the new,thus reals the two wheel car hardware control system.
Two wheel self balancing trolleygyroscopeMPU6050 six axis sensoraccelerometer