michelsciortino / esphome-aurora-inverter

14 stars 9 forks source link

Connections and Configuration - Solution! #17

Open leovj opened 2 months ago

leovj commented 2 months ago

For all friends who have encountered problems, I attach the connection diagram followed to connect ESP32 and RS485.

354094787-ba681348-0acd-4a21-9926-8fbacf176c0e

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!

Rossigg commented 1 week 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?