ElectApp / Modbus-MQTT-RTU-Converter

ESP8266 Firmware for converting Modbus MQTT protocol to Modbus RTU protocol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Modbus MQTT-RTU Converter

Controlling Modbus device via the internet network. This firmware uses for ESP8266 Wi-Fi Module such as NodeMCU board.

Application Example Modbus MQTT Modbus RTU

How to use firmware

  1. Download .bin file to your computer.
  2. Download firmware to ESP8266 Wi-Fi module by NodeMCU Flasher
  3. Connect module to Modbus RTU device via serial port with TTL.
  4. Power ON the module and connect Wi-Fi from ESP8266 Wi-Fi module such as MB_MQTT_XXXX.
  5. Open URL http://192.168.4.1
  6. Settings a serial communication, MQTT broker and Wi-Fi network.
  7. Press 'Save' and waiting success.
  8. Download and install Modbus Online
  9. Open Modbus Online and setting MQTT broker
  10. Type 'DeviceID' of ESP8266 Wi-Fi module that get from Wi-Fi name in AP mode (MB_MQTT_XXXX)
  11. Press 'Start' for running TCP service
  12. Download and install Modbus Poll
  13. Open Modbus Poll and set connection to TCP/IP communications by getting IP address and port from Modbus Online software
  14. Read/Write register of Modbus RTU device by Modbus Poll

About

ESP8266 Firmware for converting Modbus MQTT protocol to Modbus RTU protocol


Languages

Language:C++ 100.0%