Skip to content

maxx-ukoo/jk-bms2pylontech

Repository files navigation

JKBMS to Pylontech protocol converter

Read data from JK BMS via RS485 protocol and send updates to solar inverter via Pylontech low voltage US2000 battery protocol

TODO

  • Test current sensor on charge and discharde
  • Check converting alarms from JK BMS to Pytontech

Current state

Tested with Deye 3 phase hybrid inverter but only with CAN connection. Battery configured but not enabled Inverter show battery information:

  • current battery voltage
  • current battery temperature
  • SOC/SOH
  • battery charge voltage
  • charge current limit
  • discharge current limit

Old BMS support

Support BMS with request 0xDD, 0xA5, 0x03, 0x00, 0xFF, 0xFD, 0x77. o enable this mode set jumper between PE0 and GND before board start.

Hardware

Tested on STM32F4XX_M board

  1. PD0/PD1 CAN interface to inverter
  2. PA11/PA12 - serial output to USB for logs
  3. PA9/PA10 - RS485 interface to JKBMS
  4. Support ILI9341 LCD via SPI. (can be disabled)

See details at Wiki page

Disable LCD

  • to disable LCD comment line #define ENABLE_LCD in main.h

Useful links

STM32F4xx board description Pylon battery real data ESPHome component for parse JKBMS response

About

JK BMS to PYLON CANBUS Protocol converter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages