syssi / esphome-seplos-bms

ESPHome component to monitor a Seplos Battery Management System (Seplos-BMS) via UART or RS485
Apache License 2.0
63 stars 29 forks source link

Decoding version 2.5 for bms TDT-6022 #71

Open wojtbar opened 10 months ago

wojtbar commented 10 months ago

Hello and welcome. I have a BMS as in the topic and it works with seplos ver2.0, but not everything is decoded correctly. Send data: ~25014642E00201FD30 answer: ~25014F4280800001 0E 0DD2 0DD2 0DD3 0DD3 0DCC 0DCC 0DCD 0DCD 0DCE 0DCF 0DCD 0DCE 0DCE 0DCE 06 0BE2 0BB1 0B9A 0B9A 0B9A 0BA2 0000 1354 395A 00 5B68 0000 5B68 133A 09BE 3F 0409 E092 bms is 14s. I have almost all the commands that are sent to the bms. If necessary, I can share the data. I have dump.pcap . Please help.

wojtbar commented 3 months ago

Czy możesz udostępnić połączenie między esp32 a baterią? Mam ESP32_C3, który ma UART, więc muszę go tylko podłączyć do portu RS485 w BMS?

Port rs232

wojtbar commented 3 months ago

tdt-6022 for esp-idf and 16s battery. tdt-bms.zip

wojtbar commented 3 months ago

esp32-rs232-module-wiring-diagram Depending on the type of rs232 to ttl the Vcc voltage can be 5V or 3.3V.

dajpereira commented 3 months ago

I buy the MAX2323 so it is 3.3V

wojtbar commented 3 months ago

Communicationboard Middle RS232 RS232 RJ11

wojtbar commented 3 months ago

Communication board switch DIP 1 on , 2,3,4 off

brunopiras commented 3 months ago

tdt-6022 for esp-idf and 16s battery.

tdt-bms.zip

New version?

nkinnan commented 3 weeks ago

wojtbar: From your provided data frames, it looks like your battery chemistry is not lithium iron, probably why you have a 14s pack rather than 16s, and so your data frame's chemistry is returned as "4F" instead of "46".

Would you mind sharing the chemistry of your pack? Or a link to a manufacturer page? I'm curious to document more about this BMS protocol.

wojtbar commented 3 weeks ago

Yes, my BMS is only for 14s. Li-ion lg e78.

wojtbar commented 3 weeks ago

Firmware is for Li-ion. I think the BMS frames are the same. I tested the software for 16s and everything works. https://github.com/syssi/esphome-seplos-bms/issues/71#issuecomment-1796847754