xiejunhui8899
"I'm a bit confused about the Modbus RTU setup for ESP32. Is it limited to using only GPIO3 and GPIO1, or can other pins like GPIO17 and GPIO16 be used depending on the interface settings?"
Reply 0 0
xiejunhui8899
[203128%2F9626747%2Fmceclip0]
Reply 0 0
thiagoralves
The only thing that changing interface does is using “Serial1” instead of “Serial” on the Arduino code. Particularly for ESP32 I don’t think Serial1, Serial2 maps to specific hardware pins as apparently it has only one UART that can be mapped to different pins.
Reply 0 0
xiejunhui8899
Ok, thank you
Reply 0 0
led32
The ESP32 can manage more than one UART. Configuring the tx and rx pins will be very interesting
Reply 0 0
Reply