Introduction - If you have any usage issues, please Google them yourself
This system is a two wheeled self balancing car system, which is composed of STM32 MCU control module, gyro attitude detection module, motor drive module, power supply module and so on. The gyroscope MPU-6050 module is responsible for collecting the balance of the car of the angle signal and angular velocity signal, and transmitted to the microcontroller; STM32 MCU control module processing attitude angle data, through the PID algorithm to adjust the driving voltage, to control the balance of the car balance; the motor drive module is responsible for receiving the control signal output of the microcontroller, drive two DC motor speed and the direction, speed and direction of the motor encoder feedback to the controller; the power supply module is responsible for each module. Through the system hardware and software design, test, proved that the two wheeled self balancing vehicle can keep balance in the range of 5 degrees.