Introduction: ESP8266 Slave Modbus RTU (RS232)

In this case we will test with a Module ESP8266 12E Node MCU Lolin, we will use modbus slave libraries implemented in previous tutorials with Arduino Mega 2560 R3, have made new modifications to Modbus libraries to operate by a port created with the SoftwareSerial, That we will visualize in the serial terminal the data received via modbus, we will add the SoftwareSerial library for ESP8266 which creates a second serial port for our module.

  1. The main serial port will be used for programming, debugging and visualization of data.
  2. The second serial port created with SoftwareSerial will be destined for the protocol Modbus RTU slave.

More Test and Tutorials

Website http://trialcommand.com

Blog English: http://en.trialcommand.com

Blog Español : http://es.trialcommand.com

Step 1: Components and Materials Required for Testing

Components and materials required for testing

Max232 TTL Converter

ESP8266 12E NodeMCU

ESP8266 12F

Wires

Step 2: ESP8266 Slave Modbus RTU (RS232)

Step 3: ​More Test and Tutorials

More Test and Tutorials

Website http://trialcommand.com

Blog English: http://en.trialcommand.com

Blog Español : http://es.trialcommand.com

Comments

About This Instructable

446views

5favorites

Bio: Share & Learn - Makers. Projects, Articles, #automation, #PLC, #Arduino, #IoT and More PDAControl
More by Jhon_Control:ESP8266 & Public "Free" MQTT Broker HiveMQ & Node-REDGateway:  Node-RED + ESP8266 Modbus RTU MQTT + HMI Industrial PanasonicArduino Writing Mewtocol Protocol From PLC'S Panasonic
Add instructable to: