The design and achievement of quadrotor based on STM32
The main controller of this Quadrotor is STM32F103RCT6, and we can quickly acquire quadrotor’s attitude data through hardware connection between MPU6050 module and controller;Then we use UpdataIMU algorithm to convert original data to corresponding attitude angle quaternion, complementary filter will deal with those data. At last, through PID algorithm, there will be PWM output wave to adjust speed of the motors, so that we succeeded in a stable flight attitude. This paper describes the quadrotor’s hardware design, software design and debugging methods, from repeated tests, this method can design a stable quadrotor aircraft. With further research, quadrotor aircraft has a broad application prospects.