Solar Charger RS485


New CATL Modules with 20x 3.2v 280ah Prismatic - 17.92kWh - $145-$150/kWh live @ www.batteryhookup.com

grundholm

Member
Joined
Oct 3, 2020
Messages
80
Billede beskeder(3458204440), kopi 2.jpg

Recently I bought this solar charger on Aliexpress, it has RS485 - I have been playing around with the RS485 port and with som help from the nice people in China i'm now able to get some data :)

Anyone here have experience with this charger?
 

Korishan

Administrator
Joined
Jan 7, 2017
Messages
7,219
Please do share details. What inverter is this? Link to aliexpress page?
 

grundholm

Member
Joined
Oct 3, 2020
Messages
80
I got it from here:
https://de.aliexpress.com/item/1005004417934706.html

I bought this charger because it is very universal and easy to setup. The max. solar voltage is 230VDC and battery between 12V and 96V. In the menu it's possible to choose the battery type, Lead Acid, GEL, LiFePo4, Li-Ion and User - and how many batteries in series.

It has a RS485 port - On the pictures it looks like a normal RJ45 network port but I was surprised to find out that it's a RJ12 6P6C (not included)
The settings for the port is: 2400 baud, check bit NONE, data bit 8, stop bit 1
If I send 0x01 0x03 0x00 0x00 0x00 0x14 0x45 0xc5 then I get 45 bits back, the string contains all registers
 
Last edited:

Korishan

Administrator
Joined
Jan 7, 2017
Messages
7,219

grundholm

Member
Joined
Oct 3, 2020
Messages
80
I have updated the link... missing the l in html :)

Some pictures of the menu:

IMG_0601-1.JPEG

IMG_0602-1.JPEG


IMG_0603-1.JPEG


IMG_0604-1.JPEG


And modbus:

Modbus Response (COM4)
Address: 1
Function: 3 (0x03) - Read Holding Registers
Byte Count: 40
Values: 00 01 00 01 00 00 02 00 00 4c 00 00 00 03 02 c1 02 c1 01 dc 00 c9 02 dd 02 9a 00 6f 02 8b 00 00 00 2b 00 00 00 00 12 65
Register0: 1
Register1: 1
Register2: 0
Register3: 512
Register4: 76
Register5: 0
Register6: 3
Register7: 705
Register8: 705
Register9: 476
Register10: 201
Register11: 733
Register12: 666
Register13: 111
Register14: 651
Register15: 0
Register16: 43
Register17: 0
Register18: 0
Register19: 4709
Checksum: 0xbc0d - OK
 
Last edited:

Korishan

Administrator
Joined
Jan 7, 2017
Messages
7,219

grundholm

Member
Joined
Oct 3, 2020
Messages
80
Finally we got some sun here and i'm testing the charger. It works very well and I did a little programming in ESPHome / Home Assistent.
 

Attachments

  • Billede beskeder(905247627).jpeg
    Billede beskeder(905247627).jpeg
    130.3 KB · Views: 0

radoslavv

New member
Joined
May 10, 2023
Messages
1
I got it from here:
https://de.aliexpress.com/item/1005004417934706.html

I bought this charger because it is very universal and easy to setup. The max. solar voltage is 230VDC and battery between 12V and 96V. In the menu it's possible to choose the battery type, Lead Acid, GEL, LiFePo4, Li-Ion and User - and how many batteries in series.

It has a RS485 port - On the pictures it looks like a normal RJ45 network port but I was surprised to find out that it's a RJ12 6P6C (not included)
The settings for the port is: 2400 baud, check bit NONE, data bit 8, stop bit 1
If I send 0x01 0x03 0x00 0x00 0x00 0x14 0x45 0xc5 then I get 45 bits back, the string contains all registers
Hello,
How did you connect device, please?
According to picture on the device pins are 1. RS485-A, 2. 0 V, 3. RS485-B, 4. 0V, 5&6 5V.
However no any response from device using CP2102 device in RS485 mode.
I can see TX LED shows activity, but RX LED no any activity.

As no success with stty & echo I tried also mbpoll:
mbpoll /dev/ttyUSB0 -m rtu -b 2400 -P none -d 8 -s 1 -v -a 1 -r 1 -t4:hex -c20
but also no any response.
 

grundholm

Member
Joined
Oct 3, 2020
Messages
80
A -> B and B -> A no ground

I tried with different RS485 devices but the one on the picture works very well with an ESP32 (because of the 3.3V)
 

Attachments

  • 5c6848e0-aafe-4409-be98-25fa3065df7c.jpg
    5c6848e0-aafe-4409-be98-25fa3065df7c.jpg
    113.6 KB · Views: 0

acongdon

New member
Joined
May 26, 2023
Messages
1
This is the modbus documentation for this device.
 

Attachments

  • External MPPT communication MODBUS..pdf
    109.1 KB · Views: 0
Top