• 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

CAN and RS485 BMS Interface with multiple emulated Inverter protocols for JkBms Jbd BMS Daly 123Smart

Thank you very much. Merry Christmas. I would like to support it but it doesn't work.

Communication between the bms and the ESP32 does not work, no information in the app. In Serial Protocol I have chosen JKBMS.

View attachment 184831View attachment 184832
Is a paypall link

In ur case put bt protocol OFF - if use bt protocl serial protocols and rs485 protocol will turn off.
Put Serial protocol OFF and RS485 on if u connect on Serial 2

Ur setup:
Can Interface: BT CAN
RE485 Protocol: JKBms
Can Protocol: Growatt / Pylon / Semplos
 
Last edited:
I used this diagram ...

View attachment 185666

There is a big problem in your software, for it to work I have to use RS485 port ????

View attachment 185667

View attachment 185668
I i explained before on JkBms GPS port is UART TTL signal at 115200 kbps

If connect direct RX TX GND to Serial 1 or serial 2 of esp32 will work.
In my schematics Serial 2 is connected to RS485 adaptor that why in software is named RS485

Hardware Connection:

IkBMS UART TTL <-> JkBMS RS485 adaptor< -> MAX 485 < -> ESP32 UART TTL

is same with

JKBMS UART TTL <-> ESP32 UART TTL

when u use serial direct u have RX TX GND line

when use rs485 adaptor u have only A B line

The problem with gnd connection is when u have 2 jkbms on same interface , if one of ur interface will block charge discharge will cut gnd connection, but gnd will be same on serial connection .
 
hi @mrconstantin
Is it possible to work with Voltronic inverter?
voltronic dont support can port, maybe they work on rs485 i dont know.

All invertors migrate to can bms support, on mpp solar / easun / other chinaese copy they start to have can support after last update


i have rs485 from seplos and pylon protocol is same but i dont tested.
 
This is the next generation interface DIY B4I

1 - Serial port used for extender
2 - Rs485 ports
2 - Can ports
1 - Digital output for contactor.

Hv Protocols will be on this setup.

20240112_210204.jpg
 
[...], but with esp32-can-iot I found, that my Balancers (JK-DZ08B2A24S-CAN) are communicating at 500Kbps, while MrConstantin uses them at 250Kbps.
Just to report my mistake:
I obviously ran into a known issue, where the internal SJA1000 of ESP32 is running at half speed only.
So I only "thought" to be able to communicate at 500Kbps, but now I verified with a Logic Analyzer, that it is running at 250Kbps with the 500Kbps setting!

Still, I wonder why my inverter sends some messages at that speed - but will investigate this later...
 
Would this work to get a Topband BMS to talk to Growatt SPA3000? If so would definitely pick up a kit!

I have a spare ESP32 here but it's one of the M5Stack canbus kits. I've got it to flash, might try to see if works with batt, could I have an app key?

ID: 9ddad4d4

 

diy solar

diy solar
Back
Top