-
-
Notifications
You must be signed in to change notification settings - Fork 181
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-BD6A20S6P doesn't respond (ESP8266, UARTL-TTL) #537
Comments
Could you increase the log level and provide a log? https://github.com/syssi/esphome-jk-bms?tab=readme-ov-file#debugging |
Thank you for reply. Here is the new config and logs. |
This is outgoing traffic only. Your BMS doesn't respond. Incoming traffic is prefixed like this: |
Hmm. But if I turn off Discharging, it actually turns off. Voltage at the BMS output drops to zero. And if I turn it on, the voltage back to battery voltage. This is in the logs:
|
In this case the BMS is probably able to receive the instructions but the ESP is unable to receive the response. Could you try to use an ESP32? There is the chance the ESP32 is better in picking up the UART signal. |
The GPIO1 and GPIO3 of your ESP8266 aren't free floating because a USB-to-TTL chip is attached here. If you use a ESP32 the hardware UART can be routed to any GPIO because of the GPIO matrix. |
Unfortunately, I have not ESP32. But I connect a logic analyzer to TX, RX and see a request from ESP exactly like in logs (4E:57:00:13:00:00:00:00:06:02:00:00:00:00:00:00:68:00:00:01:28) but in RX wire no signal. So BMS didn't respond on request. Maybe the request is incorrect for my BMS? |
Did you buy the CAN bus enabled version of the BMS? Do you use the Android app and could you check some settings here? |
I have the RS485/BT version. Yes, I am using the Android app, what do I need to check? |
Could you provide a screenshot of the settings view and the controls view? |
At the controls view I'm looking for the state of the "CAN vs. RS485" switch. At the settings view there could be ab item called "UART1 protocol". The |
The selected protocol of UART1 looks good. The As next step a dissembly of the BMS is required to measure a possible response of the BMS before the probably broken optical isolator. |
Thank you for your answer. I will try both solutions. |
About GPS heartbeat from BMS datasheet: So here is the configuration that works for me jk-bms.txt |
@parumsancto Okay, in this case the USB-to-TTL chip attached to GPIO1 & GPIO3 caused the issue. Awesome engineering job! |
By the way, you can add JK-BD6A20S6P to supported devices. |
My BMS:![Screenshot_20240719-182329](https://private-user-images.githubusercontent.com/97938469/350450410-dc833360-401f-44a8-a853-9a2e0e28a5ef.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyNzI0OTUsIm5iZiI6MTczOTI3MjE5NSwicGF0aCI6Ii85NzkzODQ2OS8zNTA0NTA0MTAtZGM4MzMzNjAtNDAxZi00NGE4LWE4NTMtOWEyZTBlMjhhNWVmLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDExMDk1NVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTAwMDU2NDgzY2Y3NWNhMDUwZDMwNTQ2OGNiNDA3YmM5MzM2MTRkYzBhYTIyNGFjNzcyMjBhODkyNDYwMzZmZGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Rrslno4UvUa76w7TzKxxyPEUsOdNn32VnANsJCXD9VY)
Hardware: WeMos D1 mini V4.0.0.
My config: jk-bms-fridge-orig.txt
Controls is working
All sensors is "Unknown".
Any help please.
The text was updated successfully, but these errors were encountered: