-
-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JK-B2A24S15P JkModbus CRC Check failed! 47F0!=4882 #120
Comments
Do you use an ESP8266 or ESP32? Which GPIOs did you use? |
Hi Syssi, i'm using ESP32 with GPIO 16&17. |
Alright. In this case it's no "software serial is unable to handle 115200 bauds properly" issue. Could you check your wiring and/or provide a photo? Make sure
The start sequence of a frame is
Some bytes at the end of the frames are missing (Register 0xA2 ... 0xC0 + the end of the frame including the checksum): https://github.com/syssi/esphome-jk-bms/blob/main/components/jk_bms/jk_bms.cpp#L268-L368 |
Thank you, i will check the wire again. As a test, the cells voltages are working fine, but as soon i add the total voltage or current sensor, it stops working and throws the invalid header error. |
Could you provide a not compiling config example? Please try a |
If you see the CRC error every now and then this is fine. The communication is super simple: Depending on the |
Succes! You were right about the cable. I made a new one and i used a shielded one and now it works fine. |
Sorry to open this again, but i need your opinion. Since i opened this support issue, it worked (almost) fine, there were moments when i got no response from the bms and then suddenly worked again, but for the last 2 days is completely dead, i get no reponse from the bms, so today i had some time to debug. |
The BMS is still working just the UART-TTL connection isn't working anymore? |
Please remove the ESP and the battery cells (+ balancer cables) from the BMS and measure the resistance between |
Hello, i have a JK bms, model JK-B2A24S15P and i'm trying to make it work with esphome, but i get some errors like invalid hearders or CRC check failed.
Please help me and tell me if you need more info.
Thank you!
Marius.
The text was updated successfully, but these errors were encountered: