基于Modbus协议的多路数据采集器
DOI:
CSTR:
作者:
作者单位:

华中师范大学 物理科学与技术学院 武汉 430079

作者简介:

通讯作者:

中图分类号:

TP212

基金项目:


Multi channel data collector based on modbus protocol
Author:
Affiliation:

College of Physical Science and Technology, Central China Normal University, Wuhan 430079, China

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    为了满足一般中远距离工业现场数据采集的要求,基于Modbus通信协议,设计了一种光照度、温湿度数据采集器系统。硬件方面,以STM32作为主控制器,采用传感器BH1750与DHT11分别采集光照信息与温湿度;软件方面,基于I2C协议读取光照度,并通过单总线协议读取温湿度,基于Modbus协议的RTU工作模式实现了与上位机的通信。系统测试表明,数据采集器运行稳定,与上位机间的通信准确可靠,且该多路数据采集器已成功应用于广西某段高速公路隧道照明系统。

    Abstract:

    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 DHT11 to collect light information and temperature、humidity. In terms of software, reading illuminance based on the I2C 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协议的多路数据采集器[J].电子测量技术,2017,40(11):175-178

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2018-01-02
  • 出版日期:
文章二维码
×
《电子测量技术》
财务封账不开票通知