针对传统单片机与上位机的数据采集与通信系统的速度与外扩展局限性,文章构建了一种基于ARM与以MATLAB为上位机的通信系统.该系统主要运用MAT-LAB新增的设备控制工具箱实现STM32与MATLAB之间的串口通信,简化了流程,提高了工作效率.通过应用该系统对ADXL345采集的加速度信号与MATLAB进行实时通信试验,结果表明该系统通信准确、运行稳定,可用于桥梁结构的健康监测数据传递.
Regarding the data acquisition of traditional SCM and host computer and the speed and ex-ternal expansion limitations of communications systems, this article con - structed a communication sys-tern based on ARM and MATLAB as the host computer.This system mainly used the newly added MAT-LAB equipment control toolbox to realized the serial communication between STM32 and MATLAB,which simplified the processes and improved the work efficiency.Through the real-time communications test of this system on acceleration signal acquired by ADXL345 and MATLAB, the results showed that this sys - tam has accurate communication and stable operation,thus it can be used for health moni - todng data transfer of bridge structures.