Open leovj opened 2 months ago
Thanks for you share! I tried to connect like you, but maybe the first time can connect and send some data (not all parameter) and then I still see Inverter not connected, A component took a long time to respond. Any suggest?
For all friends who have encountered problems, I attach the connection diagram followed to connect ESP32 and RS485.
On the inverter.h file:
if defined(USE_ESP32)
define LED 2 //GPIO02, the ESP32 internal led
define RX 16 //GPIO16
define TX 17 //GPIO17
define TX_CONTROL_GPIO 4 //GPIO4
define INVERTER_MONITOR_SERIAL Serial2
after several unsuccessful attempts I changed this parameter:
define INVERTER_ADDRESS 1 //Default address; this can be modified on the inverter settings menu
Now everything works perfectly. Hoping to have done something pleasant for you, I thank those who created this fantastic project!