摘要
基于六轴的陀螺仪MPU6050,设计了使用STM32微处理器作为核心的数据采集与发送系统,实现了空间姿态数据的低功耗快速采集和实时数据的显示。相应地介绍了六轴陀螺仪的原理与数据采集和发送系统的单元结构。主要说明了数据采集和发送系统中的硬件模块选择,给出了系统数据获取思路和重要模块的实现方法,然后通过实验进行验证,系统将采集到的姿态数据进行实时的显示在液晶显示屏上,之后还能通过UART端口将采集到的数据传输至上位机进行处理。同时,STM32微控制器通过蓝牙模块把采集到的数据发送到手机终端,使用户能在其它通信设备上同步观测到空间姿态数据并进行相应的处理。
Based on the six-axis gyroscope MPU6050,a data acquisition and transmission system using STM32 microprocessor as the core is designed,which realizes the low-power,fast acquisition and real-time data display of space attitude data.Accordingly,the principle of six-axis gyroscope and the unit structure of data acquisition and transmission system are introduced.It mainly describes the selection of hardware modules in data acquisition and transmission system in this paper,gives the idea of system data acquisition and the realization method of important modules,and then verifies through experiments.The system will display the collected attitude data on the LCD screen in real time,and then can transmit the collected data to the host computer through UART port for processing.At the same time,STM32 microcontroller sends the collected data to the mobile terminal through Bluetooth module,which enables users to synchronously observe and process the spatial attitude data on other communication devices.
作者
张友俊
杨希
ZHANG You-jun;YANG Xi(College of Information Engineering,Shanghai Maritime University,Shanghai 200120,China)
出处
《信息技术》
2019年第12期71-75,共5页
Information Technology
关键词
六轴陀螺仪
实时采集传输
实时显示
移动端显示
six-axis gyroscope
real-time acquisition and transmission
real-time display
mobile ter-minal display