From time to time I get a response from the slave device. Still don't know what the cause could be, the pulse train looks very clean so I don't expect a hardware/noise issue.
There is also no softwareserial library for the ESP32?
Search found 2 matches
- Thu Jan 11, 2018 9:53 am
- Forum: ESP32 Arduino
- Topic: ESP32 RS485driver hardwareserial ModbusMaster
- Replies: 23
- Views: 49704
- Wed Jan 10, 2018 12:31 pm
- Forum: ESP32 Arduino
- Topic: ESP32 RS485driver hardwareserial ModbusMaster
- Replies: 23
- Views: 49704
ESP32 RS485driver hardwareserial ModbusMaster
Hi, I'm trying to establish RS485 Modbus communication between ESP32 - RS485 Arduino driver board - Modbus device by using harwareserial(2) and the MODBUSMASTER library. https://github.com/4-20ma/ModbusMaster I know the MAXRS485 is TTL and ESP is CMOS, but I tried the code on an Arduino MEGA, and po...