Local web-server of telemetric system with MODBUS interaction sensors

2021;
: pp. 99 - 105
Authors:
1
Lviv Polytechnic National University, Computer Engineering Department

With the development of microprocessor components and, accordingly, a significant expansion of the use of computer technologies, remote measurement techniques are being developed. These include telemetry and remote control of technical systems or their components in industry, research, home appliances and other fields. In this paper, the author suggests how to build a local web-server based on a microcontroller with an ARM Cortex-M4 core, which can be interacted with via an http-browser with Internet access. The block diagram of the local web-server on the basis of the STM32F407 microcontroller with the ARM Cortex-M4 core is suggested. Hardware modeling of the local web-server with a two-processor architecture including the main controller and the Modbus processor with the RS- 485 interface, which provides information exchange via the Modbus RTU protocol, is done. The main controller is equipped with an indicator system based on functionally programmable LED indicators, an LCD indicator of type BC1602A, a local keyboard, USB and SWD ports for debugging and programming of the microcontroller, an external Ethernet module providing a temperature sensor and the Modbus RTU relay module, which interacts with the main controller of the local web-server via the Modbus processor with the RS-485 interface using the Modbus RTU protocol. A software for interaction of the local web-server and a http-browser has been developed. The local web-server was tested with different types of http browsers, proved to be reliable and showed the response time which depends on the number of sensors and is less than 1 second in case of 9 sensors.

  1. Telemetry: Summary of concept and rationale. Bibcode:1987 STIN 8913455. https://ui.adsabs.harvard.edu/abs/1987STIN...8913455./abstract (Accessed: 5 October 2021).
  2. Lucas Cavalcanti, Riei Joaquim, Edna Barros, Optimized Wireless Control and Telemetry Network for Mobile Soccer Robots, arXiv:2106.14617, https://arxiv.org/abs/2106.14617.
  3. Henry Hopper. A Dozen Ways to Measure Fluid Level and How They Work. Dec 1, 2004. https://www.fierceelectronics.com/components/a-dozen-ways-to-measure-fluid-level-and-how-they-work (Accessed: 5 October 2021).
  4. Meenakshi Syamkumar, Yugali Gullapalli, Wei Tang, Paul Barford, Joel Sommers, BigBen: Telemetry Processing for Internet-wide Event Monitoring, arXiv:2011.10911, [online] Available at: https://arxiv.org/abs/ 2011.10911(Accessed: 5 October 2021).
  5. Krishna  Shingala,  JSON  Web  Token  (JWT) based  client  authentication  in  Message  Queuing  Telemetry Transport (MQTT), arXiv:1903.02895, [online] Available at: https://arxiv.org/abs/1903.02895(Accessed: 5 October 2021).
  6. "Modbus home page". Modbus. Modbus Organization, Inc. Retrieved 2 August 2013
  7. "About Modbus Organization". Modbus. Modbus Organization, Inc. Retrieved 8 November 2012.
  8. Clarke, Gordon; Reynders, Deon (2004). Practical Modern Scada Protocols: Dnp3, 60870.5 and Related Systems. Newnes. pp. 47–51. ISBN 0-7506-5799-5.
  9. Beal, Vangie. "What is Wi-Fi (IEEE 802.11x). A Webopedia Definition". Webopedia. Archived from the original on 8 March 2012.
  10. R.W. Besinga. Integrating Wiznet W5100, WIZ811MJ network module with Atmel AVR Microcontroller. Jul 2, 2018.
  11. AVR-GCC-Tutorial. Aus der Mikrocontroller.net Artikelsammlung, mit Beiträgen verschiedener Autoren (siehe Versionsgeschichte). https://www.mikrocontroller.net/articles/AVR-GCC-Tutorial#Programmspeicher_.28F (Accessed:  5 October 2021). 
  12. Dp83848c Datasheet. [online] Available at:https://www.ti.com/product/DP83848C
  13. WIZnet     W5100.        Datasheet.         [online]        Available    at:https://www.sparkfun.com/datasheets/DevTools/Arduino/W5100_Datasheet_v1_1_6.pdf (Accessed: 5 October 2021).
  14. Modbus     RTU     Relay.     [online]        Available         at:https://www.waveshare.com/wiki/Modbus_RTU_Relay (Accessed: 5 October 2021).
  15. SHT20.       Datasheet.      [online]          Available      at:https://www.alldatasheet.com/view.jsp?Searchword= Sht20&gclid=EAIaIQobChMIxaeO_-Tt8wIV7xJ7Ch2TawvtEAMYAyAAEgLygPD_BwE (Accessed: 5 October 2021).