Thanks Mark.
The charger producer certainly did something to not have it straight forward, I just wonder what it could be as they must have added something on top of the modbus approach to avoid people coming up with their own self-made solutions.
Also, their remote MT-50 monitor has changed, the older versions do not work with the newer charge controllers (Tracer A series is the older discontinued, Tracer AN is the new and current series), I have a newer charge controller.
There are two directions that I would like to further explore.
The first is related to connecting the charge controller via USB. Youtuber Adam Welch reviewed the AN version and highlighted for instance the issues with the old MT-50. He also mentions that the self-made arduion/ESP based monitoring solutions do not work anymore with the AN device, but he mentions that using the self-made USB cable works. He is using some converter like
this.
....while writing this and re-watching Adam's video I was wondering why the usb cable works and the ESP/Arduino isnt, what is the difference? It is so obvious - the USB solution does not ground the charger!
I disconnected pin 7 from the microcontroller ground and get now this on the serial:
- - - - - - - -
PV Voltage:
0.00
PV Current:
0.00
Battery Voltage:
12.47
Battery Charge Current:
0.00
0
- - - - - - - -
PV Voltage:
0.00
PV Current:
0.00
Battery Voltage:
12.47
Battery Charge Current:
0.00
0
It works!
The problem is that many instructions relate to having the ground connected. The AN series is a common negative series, maybe that has something to do with the ground issue but I dont really know.