| Attitude detection has a very realistic physical significance in people’s daily life.With the development of sensors and other related technologies,attitude measurement technology has become more and more mature.The emergence of new technologies represented by attitude acquisition technology has promoted the rapid development of modern society.Especially in some motion environments,attitude detection data need to be uploaded in real time through wireless mode.Aiming at the requirement of wireless attitude detection in special environment,a wireless attitude detection device based on STM32F103,MPU6050 and ESP8266 is designed to acquire real-time attitude information of the measured object and provide accurate information for further analysis of the motion of the object.The wireless attitude detection system designed in this paper includes two parts: the detection unit and the upper computer display unit.Based on MPU6050 sensor,ESP8266 radio frequency transceiver module and STM32F103 microcontroller,the attitude acquisition and measurement system module is built.The module uses MPU6050 to collect attitude information,STM32F103 MCU as the central control unit,and ESP8266 to realize data transmission.The host computer receiving display unit can display attitude data information through mobile phone APP,web pages and other display modes.The software design of the system mainly includes the software design of the acquisition unit and the display interface design of the mobile phone APP and the web page of the host computer.After the completion of the system,four kinds of swimming posture measurement experiments were carried out for swimmers,and the experimental data were analyzed.The whole system was controlled remotely and real-time by the command of the upper computer human-computer interaction software.The experimental results show that the system achieves the basic attitude detection,meets the basic requirements of the system design,and provides a basis for subsequent research. |