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.
- The main serial port will be used for programming, debugging and visualization of data.
- The second serial port created with SoftwareSerial will be destined for the protocol Modbus RTU slave.
More Test and Tutorials
Blog English: http://en.trialcommand.com
Blog Español : http://es.trialcommand.com