Abstract:Based on the ST company’s newly minted LSM9DS0 chip, an attitude measurement system for a anti-aircraft gun teaching and experiment platform is designed. The design chooses STM32F103 microcontroller to collect data from the sensor, and uses four element algorithm to calculating the attitude angles, then sends relevant experimental data to the PC for display and analysis by serial communication. Finally, the attitude measurement accuracy of the system and the stability of data output parameters were tested, and the test results show that the system has smaller zero drift, strong anti-interference ability, sensitive response and accurate measuring range, etc, meet the design requirements.