Design of multi-channel data collector for highway tunnel lighting based on STM32 and Modbus protocol

Liang Zhao,Shaocheng Qu,Weigang Zhang
DOI: https://doi.org/10.1016/j.ijleo.2020.164388
IF: 3.1
2020-07-01
Optik
Abstract:This paper proposes a multi-channel data collector based on STM32 and Modbus protocol for highway tunnel lighting system. In terms of hardware, a STM32 microcontroller is designed as the main controller, and BH1750 sensor and DHT11 sensor are chosen to measure illuminance and temperature-humidity, respectively. In terms of software, the measured illuminance and temperature-humidity are read by I²C and single bus, respectively. Based on the RTU working mode of Modbus protocol, STM32 successfully transmits the collected data to host computer, and realizes the real-time collection and uploads of highway tunnel environmental parameters. Furthermore, the proposed data collector has operated stably in a tunnel lighting energy-saving system for nearly two years. The experimental results show that the proposed multi-channel data collector can sense tunnel environment accurately and communicate with upper computer reliably, and has good engineering application value.
optics
What problem does this paper attempt to address?