A simple balancing car, the chassis adopts the motor and chassis of Dayu Electronics. There are holes around the board to facilitate connection with the chassis using copper pillars to form upper and lower layers~~
The simple principle of balancing the car: MPU6050 uses the DMP library to read data, and the PID algorithm controls the car (those who are capable can choose other implementation principles, as long as they can realize the function) Basic function: realize the balance of the car Extension function: realize remote control based on Bluetooth , Lift detection (pick up the car body, the car stops rotating), the PID setting parameters can be modified through Bluetooth, and it can be used with OLED to display a beautiful interface. Can realize simple obstacle avoidance function.
Implementation method: 1. You can refer to the case project for board welding and verification. 2. Perforated boards + modules can be used to build hardware to realize a simple balancing car.
The reference project is for reference only: there are shortcomings in the component layout, please choose to modify the component layout on the PCB diagram by yourself using the board verification method. Some component packages do not match the material numbers of Lichuang Mall. Please be sure to check carefully when purchasing materials (check according to the schematic diagram).
See the attachment for the project reference code (the code is for reference only, do not burn directly)
Video tutorial reference: https://www.bilibili.com/video/BV1j7411z7uX?from=search&seid=6914006451029771705
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet