Cost-Effective IIoT Gateway Development Using ESP32 for Industrial Applications

Authors

  • Paradon Boonmeeruk Prince of Songkla University
  • Pichet Palrat Prince of Songkla University
  • Kiattisak Wongsopanakul Prince of Songkla University

DOI:

https://doi.org/10.4186/ej.2024.28.10.93

Keywords:

ESP32 microcontroller, IIoT gateway, Modbus TCP/IP, MQTT and REST API protocols

Abstract

The Industrial Internet of Things (IIoT) connects industrial devices, such as measuring equipment and production line machines, to the Cloud system via the internet, creating a database for equipment data storage and performance analysis. Implementing an IIoT system requires an IIoT Gateway to interface with industrial controllers using protocols like Modbus TCP/IP or OPC UA, enabling data transmission to the Cloud. These Gateways, often produced by PLC manufacturers, are typically expensive. This research investigates using an ESP32 microcontroller as a cost-effective alternative to the Simatic IOT2050 IIoT Gateway. The study focuses on connecting the Siemens Simatic S7-1200 12144C AC/DC/RLY PLC via Modbus TCP/IP and facilitating data transmission between cloud systems using MQTT and REST API protocols. Results show that the IIoT Gateway's response time for writing 16-bit payload data to the PLC via Modbus TCP/IP averages 0.0591 seconds. Additionally, the device supports data scaling from 16-bit Integer to 32-bit Float for Modbus TCP/IP communication and converting 32-bit Float data to Message data for transmission via MQTT to ThingSpeak Cloud and REST APIs to Blynk Cloud. This approach offers a viable, cost-effective solution for IIoT implementations.

Downloads

Download data is not yet available.

Author Biographies

Paradon Boonmeeruk

Department of Electrical & Biomedical Engineering, Faculty of Engineering, Prince of Songkla University, Songkhla, Thailand

Pichet Palrat

Department of Electrical & Biomedical Engineering, Faculty of Engineering, Prince of Songkla University, Songkhla, Thailand

Kiattisak Wongsopanakul

Department of Electrical & Biomedical Engineering, Faculty of Engineering, Prince of Songkla University, Songkhla, Thailand

Downloads

Published In
Vol 28 No 10, Oct 31, 2024
How to Cite
[1]
P. Boonmeeruk, P. Palrat, and K. Wongsopanakul, “Cost-Effective IIoT Gateway Development Using ESP32 for Industrial Applications”, Eng. J., vol. 28, no. 10, pp. 93-108, Oct. 2024.

Most read articles by the same author(s)