摘要
在许多工程结构监测领域,非接触式位移远程测量是很有必要的。对2Y0A02型激光测距传感器进行了标定;利用STM32F103单片机对传感器数据进行采集;通过TTL串口与窄带物联网(Narrow Band Internet of Things,NB-IoT)数传模块BC95-B8连接;利用AT指令对BC95-B8模块进行通信配置,通过CoAP协议(Constrained Application Protocol)将数据上传到云服务器;利用Python语言编写了移动终端Socket程序,用于接收云服务器推送的数据。实验结果表明,设计的系统可实现多节点位移远程监测。
In many engineering practice, it is necessary to remotely monitor the non-contact displacement. The 2 Y0 A02 laser ranging sensor was calibrated to get the relationship between voltage and ranging. The micro control unit(MCU) STM32 F103 was used to collect data from the sensor. The MCU and NB-IoT(Narrow Band Internet of Things) module BC95-B8 were connected through the TTL serial port. The BC95-B8 communication module was configured by AT serial commands. The sensor’s data was then uploaded to the cloud server through the CoAP protocol. The mobile terminal Socket program was performed by the Python codes to receive the data sent by the cloud server. The experimental results show that the system designed could be used in the remote monitoring of displacement of multiple nodes.
作者
孙瑞熙
SUN Ruixi(School of Instrument and Electronic,North University of China,Taiyuan 038507,China)
出处
《仪表技术》
2020年第12期17-19,共3页
Instrumentation Technology