Friday, 29 April 2022

Using a NodeMCU to monitor an eSmart3 charge controller



The wiring is as follows:


From: https://skagmo.com/page.php?p=documents/04_esmart3_review
Extra: RS485 port
The pinout on this port is as follows:
Pin Function
1 RS-485 A/+
2 RS-485 B/-
5,6 GND
7,8 +5V out

Looking at the RJ-45 plug end on (towards you) with the retaining clip at the bottom the wiring is:


Pin Number:              8               7                  6            5                 4             3              2                1    

Cable Colour:        brown        brown /       green        blue /       blue       green /        orange      orange /
                                                 white                           white                     White                          white

Function:                  +5v         +5v            GND          GND                                             B              A

           

So first let's do a baseline test using PC software and A/B wired to a RS485 to USB adaptor.


All worked OK.


tele/nodemcu_pv_charger/pv_volt

70.70







The Arduino code was based on..

No comments:

Post a Comment