Read data from JK BMS via RS485 protocol and send updates to solar inverter via Pylontech low voltage US2000 battery protocol
- Test current sensor on charge and discharde
- Check converting alarms from JK BMS to Pytontech
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
Support BMS with request 0xDD, 0xA5, 0x03, 0x00, 0xFF, 0xFD, 0x77. o enable this mode set jumper between PE0 and GND before board start.
Tested on STM32F4XX_M board
- PD0/PD1 CAN interface to inverter
- PA11/PA12 - serial output to USB for logs
- PA9/PA10 - RS485 interface to JKBMS
- Support ILI9341 LCD via SPI. (can be disabled)
See details at Wiki page
- to disable LCD comment line #define ENABLE_LCD in main.h
STM32F4xx board description Pylon battery real data ESPHome component for parse JKBMS response