Skip to content
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

Non-Working Battery #2

Open
puppywang opened this issue Sep 2, 2023 · 13 comments
Open

Non-Working Battery #2

puppywang opened this issue Sep 2, 2023 · 13 comments

Comments

@puppywang
Copy link

Thank you very much for your project. I have a potentially faulty V10 battery. The symptoms are as follows: after a full charge, pressing the power button only results in a brief noise, and then the battery light starts to flash. If I recharge it, it starts from the second bar and quickly fills up to three bars. However, pressing the power button again produces the same symptoms. I disassembled the battery and measured the voltage of each cell, which ranged between 4.05 to 4.07 volts, with a total voltage of 28.4 volts. I successfully unlocked the security lock using OpenOCD and flashed the V10_BMS.elf file from your project. After flashing, pressing the power button doesn't turn off the battery light, but strangely, the vacuum cleaner doesn't work at all. I measured the output voltage of the battery; it's 0.1V when the switch is not pressed and 28.41V when pressed. I also checked the serial port line interface, and all lines are connected. I ruled out the issue with the vacuum cleaner itself, as I ordered a new original battery and the vacuum cleaner resumed working. However, I'm completely stumped with this old battery, as if I've hit a dead end. Do you have any suggestions for me? Thank you.

@davidmpye
Copy link
Owner

davidmpye commented Sep 2, 2023 via email

@puppywang
Copy link
Author

I don't got one oscilloscope, but I have some home made logic analyzer, I will try to sniff the commuication between them.

@puppywang
Copy link
Author

puppywang commented Sep 4, 2023

@davidmpye The voltage on TX/RX line is around 25.81v, it is far beyond my logic anlayzer's voltage input range (0-5v). Do you know another TX/RX pin that have 0~5V ttl level ? Thanks.

@davidmpye
Copy link
Owner

Hi,

Yes I do. On the picture attache, you can see two ceramic capacitors labelled c13 and c43.

PXL_20230903_154152141

On the sides of them nearest the camera, you should find the signals at 3v3 levels. But do check first!

David

@davidmpye
Copy link
Owner

Sorry, should have added: they carry 115200 baud serial data.

@puppywang
Copy link
Author

Very appreicated, I will try later.

@puppywang
Copy link
Author

@davidmpye Sorry for the delay, I've trace the data sent from a working battery, the data is different everytime, might dyson upgrade their protocol ? I've collect some trace and attach to this issue, do you have any advice that I can follow? Thanks.

4.log
5.log
3.log

@davidmpye
Copy link
Owner

davidmpye commented Sep 18, 2023 via email

@puppywang
Copy link
Author

Sure, I am glad to share any information I have.

  1. I found two version of Dyson V10 battery here, the 2300mAH and 2600mAH version, the 2300mAh one is equip with Molicell ceil and the 2600mAh have the SONY ceil, the data is captured from the 2300mAH version, and is the data I capture is from battery to motor.

image
image

  1. I flash V10 firmware in this repo to another battery, the same 2300mAH battery, without luck, the moto won't start, I will capture and attach the commuication between them later.

  2. My old logic analyzer is not working anymore, so I use the USB-UART converter to capture the traffic, so the traffic is one way, I will try to capture using two USB-UART converter later.

By the way, I found there is a serial-debug function in your new V10 firmware, and the PIN you are using is PA10 and PA11, is this two pin available for connect from the TEST PIN ? I want to check the log from the battery, Thanks.

@davidmpye
Copy link
Owner

davidmpye commented Sep 20, 2023 via email

@davidmpye
Copy link
Owner

Hi,

I've tried making a firmware with the debug data that your cleaner sends, just to see what happens!
On my cleaner, it does not start. I wonder if your cleaner will run on it?

It seems there are 3 generations of 'V10 Dyson' - do you know what kind yours is?
Mine is an SV12 (it's on the bottom of the machine, but you have to remove battery to see it.) I wonder if the protocols are different for later editions?

David

V10_BMS.zip

@puppywang
Copy link
Author

@davidmpye Sorry for the delay, I am unable to test the firmware right now, as the battery died when I connect my USB-TTL to the PA10/PA11 debug pin. It start printing in the beginning, than I connect the battery to the vacuum to see what happened if I press the start button, then the battery died, the voltage on the VCC is always 0.3V, and the TI chip is a little bit hot, so I am unable to test the firmware anymore. Sorry for that.

But the way, I've double check the version of my V10 vacuum, at the place you metioned, It marked SV12 Animal version, that a different version than yours? And I've collect full log of a working battery, Could you check if the protocol inside the new log will able to power your vacuum, thanks.

dump_no_filter.log
dump_success_power_up.log
dump_fail_power_up.log

@turenabo
Copy link

turenabo commented Jun 9, 2024

I don't got one oscilloscope, but I have some home made logic analyzer, I will try to sniff the commuication between them.

hi, puppy, can you share some information about your logic analyzer? I want to get one too. thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants