基于Modbus协议的多路数据采集器  被引量:16

Multi-channel data collector based on modbus protocol

在线阅读下载全文

作  者:秦天柱 张伟刚[1] 瞿少成[1] 

机构地区:[1]华中师范大学物理科学与技术学院,武汉430079

出  处:《电子测量技术》2017年第11期175-178,共4页Electronic Measurement Technology

摘  要:为了满足一般中远距离工业现场数据采集的要求,基于Modbus通信协议,设计了一种光照度、温湿度数据采集器系统。硬件方面,以STM32作为主控制器,采用传感器BH1750与DHT11分别采集光照信息与温湿度;软件方面,基于I2C协议读取光照度,并通过单总线协议读取温湿度,基于Modbus协议的RTU工作模式实现了与上位机的通信。系统测试表明,数据采集器运行稳定,与上位机间的通信准确可靠,且该多路数据采集器已成功应用于广西某段高速公路隧道照明系统。In order to meet the requirement of data acquisition in the field of general middle and long distance industrial site,based on the Modbus communication protocol, the light intensity, temperature and humidity data collector is designed. In terms of hardware, STM32 as the main controller, using BH1750 and DHTll to collect light information and temperature, humidity. In terms of software, reading illuminance based on the IzC protocol, and reading temperature and humidity by the single-wire bus protocol, realizing the communication with the host computer based on the RTU working mode of Modbus protocol. The system test shows that the data collector is stable and the communication between the host computer and the host computer is accurate and reliable, and the multi-channel data acquisition device has been successfully applied to a section of highway tunnel lighting system in Guangxi.

关 键 词:MODBUS协议 STM32 数据采集 

分 类 号:TP212[自动化与计算机技术—检测技术与自动化装置]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象