Hello,
I'm working on a modbus project with ESP32 TTGO board, which as a modbus RTU master gets data from a power meter.
The problem I have is that during the trasmission, after the second byte the Data Direction Pin goes low and the rest of the Modbus request message is not transferred over the RS485 bus.
Can you please check?
Regards,
Vladislav
ESP32 Modbus RTU Master Data Direction Pin Goes Low During Transmission
-
- Posts: 1
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 10, 2020 5:35 pm
ESP32 Modbus RTU Master Data Direction Pin Goes Low During Transmission
- Attachments
-
- ESP32_TTGO_Modbus.fcfx
- (26.89 KiB) Downloaded 166 times
-
- Matrix Staff
- Posts: 2086
- Joined: Wed Dec 02, 2020 11:07 pm
- Has thanked: 644 times
- Been thanked: 702 times
Re: ESP32 Modbus RTU Master Data Direction Pin Goes Low During Transmission
Hi.
The App Developer website has a Mains Power Monitor - ESP32, USB.
That uses the PZEM-004T to communicate via MODBUS.
You could use that to compare with your version.
It works OK with Wroom32 and WiFi Kit 32.
With the latter, it also displays all the values. I'm thinking of adding it to the TTGO myself s the text will look much better in colour.
The App Developer website has a Mains Power Monitor - ESP32, USB.
That uses the PZEM-004T to communicate via MODBUS.
You could use that to compare with your version.
It works OK with Wroom32 and WiFi Kit 32.
With the latter, it also displays all the values. I'm thinking of adding it to the TTGO myself s the text will look much better in colour.
Martin