Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connections and Configuration - Solution! #17

Open
leovj opened this issue Sep 3, 2024 · 1 comment
Open

Connections and Configuration - Solution! #17

leovj opened this issue Sep 3, 2024 · 1 comment

Comments

@leovj
Copy link

leovj commented Sep 3, 2024

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
Copy link

Rossigg commented Nov 16, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants