• Have you tried out dark mode?! Scroll to the bottom of any page to find a sun or moon icon to turn dark mode on or off!

diy solar

diy solar

Deye and JK BMS won't communicate via CAN

mortenmoulder

New Member
Joined
Jun 20, 2024
Messages
14
Location
Denmark
I'm trying to communicate with my JK PB2A16S20P BMS and Deye 12K-SG04LP3-EU inverter over CAN, using the provided cable. Protocol 00 on the inverter and then I tried 000, 001, 002, and 006 in the JK app, but there is simply no communication going on.

I tried connecting the inverter and BMS via RS485 (BMS) and BMS (inverter), then setting the "lithium protocol" to 12, which is modbus, and I was able to get some readings on the Deye display, but it was completely wrong. I couldn't see the voltages of the batteries and the battery percentage was wrong.

I then tried making an RS485 cable for upgrading the firmware, that I plugged into CH340 and FT232 adapters, but the JK Windows software could not communicate. I tried swapping TX/RX on the serial adapters and I tried swapping A+ and B- on the RS485 to TTL board, but no communication is going on at all. My RJ45 cable only has A+ and B- connected (to orange and orange/white).

Then I looked at the manual for PB2A16S20P I found online, and it said RS232 should be used to upgrade, and that the RS232 is for "communicate with a host computer via the RS232 interface to monitor various battery information, including voltage, current, temperature, status, and production info".

List of things tried:
  • BMS port (inverter) -> CAN port (BMS) and all these combinations:
    • Deye lithium protocol 00, 01, and 12
    • JK BMS "CAN protocol":
      • 000 - JK BMS CAN Protocol (250K) V2.0
      • 001 - Deye Low-voltage hybrid inverter CAN
      • 002 - PYLON-Low-voltage-V1.2
      • 006 - JK BMS CAN Protocol (500K) V2.0
  • BMS port (inverter) -> RS485 port next to CAN and all these combinations
    • Deye lithium protocol 00, 01, and 12
    • JK BMS "UART1 Protocol":
      • 000 - 4G-GPS REmote module Common protocol
      • 001 - JK BMS RS485 Modbus V1.0
      • 004 - PACE_RS485_Modbus_V1.3
      • 010 - JK BMS LCD Protocol V2.0
      • 013 - (9600)JK BMS RS485 Modbus V1.0
I can get a percentage reading on the screen, but it's way off and completely wrong, and none of the 16 cells' voltage show up.

What am I doing wrong? I don't care about the firmware upgrade, as long as I can make the BMS and inverter talk together.

BMS firmware: V15.26
Inverter firmware: 1001-C037
 
Last edited:
You need on the Deye; Lithium - 00
Use CAN port most on the left of all the ports on the BMS comms board. In JK bms, via Bluetooth select Deye protocol.
Use the BMS port in the Deye.

Here this works. (Deye 12kw hybrid 3phase LV, + 15.26)
 
You need on the Deye; Lithium - 00
Use CAN port most on the left of all the ports on the BMS comms board. In JK bms, via Bluetooth select Deye protocol.
Use the BMS port in the Deye.

Here this works. (Deye 12kw hybrid 3phase LV, + 15.26)

The "CAN port most on the left" says RS485 on my battery box. Like this:

1728548346958.png

I did try every combination, though. I also just made a UTP cable with the blue and blue/white swapped, to see if that was the issue.
 
Check the cable pinout, JK have it back to front. The two left most RJ45 sockets are internally connected so use either of them.
 

Attachments

  • 319552008-49eae168-cc7f-4b36-818e-1f0d6f7d0fa2.png
    319552008-49eae168-cc7f-4b36-818e-1f0d6f7d0fa2.png
    68.6 KB · Views: 41
Check the cable pinout, JK have it back to front. The two left most RJ45 sockets are internally connected so use either of them.

Yeah I tried using the included UTP cable (acts just like a regular CAT ethernet cable 1->1, 2->2, 3->3, and so on), but I also tried swapping blue and blue/white, but that didn't work.
 
The "CAN port most on the left" says RS485 on my battery box. Like this:

View attachment 249220

I did try every combination, though. I also just made a UTP cable with the blue and blue/white swapped, to see if that was the issue.
Take the CAN port.
Take the BMS/CAN port on your Deye.
Use a normal internet patch cable...

Check the videos from this guy
 
Take the CAN port.
Take the BMS/CAN port on your Deye.
Use a normal internet patch cable...

Check the videos from this guy

Tried it already. There is no communication going on. Tried all the different settings listed in my original post.

Followed both Grant and Off-Grid Garage's advice and guide.
 
Tried it already. There is no communication going on. Tried all the different settings listed in my original post.

Followed both Grant and Off-Grid Garage's advice and guide.
Uhm. You run JK 15.26? Thats what I have.
You could ask Deye to upgrade yours with latest fw.

Else...I am out of options
 
Following this, as I have a Deye SUN 5K-SG04LP1-EU on order, and am considering battery packs with JK BMS.
 
I had the same problem and tried most things like you. I upgraded the firmware on my BMS and it worked.

Inverter - Deye 12K-SG04LP3-AU
BMS - JK Inverter BMS - 200 amp - hardware version 15.
Battery - 3 x DIY YIXIANG battery boxes - 48 volt x 314 amps.

I upgraded to BMS version 15.32 which I think is only for the 200 amp BMS and it communicated with no problems.
 
I set the BMS CAN protocol to Deye Low-voltage hybrid inverter CAN and used the port labeled BMS in the inverter.
 
had the same issue all i did was shut down the bms and inverter completely restart them and now it works

jk bms protocol 1 for deye
deye lithium mode 0
ethernet cable in the can port on inverter and second port from the dip switchs on bms side
 
Hi. I had had the same issue. I used 004 Victron protocol instead. After Deye firmware was updated Dete can protocol on JK BMS started working.
 
Moje ustawienia na BMS UART1 protocol.... No 001 -jk bms rs485 Modbus v1.0 UART 2 ---TO SAMO I POTEM CAN PROTOCOL NA 2 OD PYLONTECHA.... KABEL SIECIOWY CAN NA LISTWIE CAN NA DEYE I WSZYSTKO GADA
 

diy solar

diy solar
Back
Top