Author Topic: Replacement firmware for Dyson V10 Batteries  (Read 13153 times)

m0nst9ra and 1 Guest are viewing this topic.

Offline suenbrad

  • Contributor
  • Posts: 21
  • Country: tw
Re: Replacement firmware for Dyson V10 Batteries
« Reply #25 on: October 21, 2023, 02:21:57 pm »
davidmpye Hello: I would like to ask you for advice. I followed the instructions in the article you published and used Raspberry Pi to complete all the procedures. Now the battery pack has changed from a red light to a blue light. I don't know how to proceed with the next procedure. Can you teach me how to proceed with the next step, because I really want to Save the unusable battery pack. Thank you for sharing the article. It makes me full of hope that the battery pack can be saved.
 

Offline davidmpyeTopic starter

  • Contributor
  • Posts: 27
  • Country: gb
Re: Replacement firmware for Dyson V10 Batteries
« Reply #26 on: October 21, 2023, 03:45:17 pm »
Hi,

What next step are you looking for?

Does it work in the cleaner?

David
 

Offline suenbrad

  • Contributor
  • Posts: 21
  • Country: tw
Re: Replacement firmware for Dyson V10 Batteries
« Reply #27 on: October 21, 2023, 11:31:08 pm »
I hope the battery can be used normally. At present, it only flashes blue light and cannot operate when the vacuum cleaner is installed. I only use the Raspberry Pi to update the firmware. I don’t know which aspects still need to be cleaned to completely solve the battery problem.
 

Offline davidmpyeTopic starter

  • Contributor
  • Posts: 27
  • Country: gb
Re: Replacement firmware for Dyson V10 Batteries
« Reply #28 on: October 22, 2023, 07:44:22 am »
Hi,

Does it charge if you connect the charger?  (Flashing blue segments until all 3 light)

A good next step would be to check the voltages of each cell with a multimeter.

Does the red led flash at any point and if so, how many flashes?

David
 

Offline suenbrad

  • Contributor
  • Posts: 21
  • Country: tw
Re: Replacement firmware for Dyson V10 Batteries
« Reply #29 on: October 22, 2023, 12:36:07 pm »
It won't charge when connected to the charger, and the red light will flash twice.

Please tell me what procedures I need to perform after refreshing the firmware using Shumei Pie, so that the battery can be successfully unlocked!
« Last Edit: October 22, 2023, 12:41:23 pm by suenbrad »
 

Offline davidmpyeTopic starter

  • Contributor
  • Posts: 27
  • Country: gb
Re: Replacement firmware for Dyson V10 Batteries
« Reply #30 on: October 22, 2023, 01:40:57 pm »
Hi,

I would use a multimeter next:

Check the voltage of each cell in turn.
When you push the black button, check the voltage that appears at the two battery terminals.

Let me know what you find.

David
 

Offline suenbrad

  • Contributor
  • Posts: 21
  • Country: tw
Re: Replacement firmware for Dyson V10 Batteries
« Reply #31 on: October 22, 2023, 03:27:17 pm »
I used an ammeter to measure the voltage of each battery, and it was probably between 4.03v and 4.07v. When I pressed the black button, the meter measured that there was no voltage output at the battery's output terminal.
 

Offline davidmpyeTopic starter

  • Contributor
  • Posts: 27
  • Country: gb
Re: Replacement firmware for Dyson V10 Batteries
« Reply #32 on: October 22, 2023, 03:41:47 pm »
Hi,

Is there any red flash code when you press and hold the black button?

If there is a pack fault the red light should flash a sequence to explain why

David
 

Offline suenbrad

  • Contributor
  • Posts: 21
  • Country: tw
Re: Replacement firmware for Dyson V10 Batteries
« Reply #33 on: October 22, 2023, 03:48:52 pm »
Press and hold the black button, the blue light will keep flashing, but there will be no voltage output.
I have other faulty v10 batteries here. I will try another one and see what happens before I report it to you. Thank you for your help.
 

Offline davidmpyeTopic starter

  • Contributor
  • Posts: 27
  • Country: gb
Re: Replacement firmware for Dyson V10 Batteries
« Reply #34 on: October 26, 2023, 01:20:51 pm »
Hi,

If you have access to a USB-serial converter, let me know.

The next firmware release will print debug output via a second serial interface, so you can see what the pack firmware is doing.

Unfortunately, sometimes the problem is a fault in the battery management IC (eg it cannot read voltage of one cell etc), which is a problem :-(

David
 

Offline Kamiyama

  • Newbie
  • Posts: 1
  • Country: by
Re: Replacement firmware for Dyson V10 Batteries
« Reply #35 on: November 04, 2023, 09:53:27 pm »
Hi David. Assume job!

How I can modify charge and discharge over current? Useful, if using this bms not in vacuum cleaner...
Thanks!
 

Offline suenbrad

  • Contributor
  • Posts: 21
  • Country: tw
Re: Replacement firmware for Dyson V10 Batteries
« Reply #36 on: November 05, 2023, 11:20:40 pm »
Hello, yesterday I took another faulty V10 battery and refreshed the firmware you provided through the Raspberry Pi. It finally turned on the blue light I had been waiting for for a long time. Pressing the black button can start the vacuum cleaner normally and charge normally. After charging, the special thing is that before the battery goes to sleep, there will be a very colorful light flashing once and then going out. Thank you very much for your assistance in getting my battery back to normal. Very happy, thank you.
 

Offline Samlivas

  • Newbie
  • Posts: 1
  • Country: gb
Re: Replacement firmware for Dyson V10 Batteries
« Reply #37 on: November 15, 2023, 05:20:12 pm »
 Hi. I have a problem with the V10 battery every 2 years. My plan is to make a new battery. Might be 3-5Ah or so. Do you know how to cheat and start a vacuum with non original battery? It has 2 comunication vires. What kind of ''food'' needs to be given to my Dyson v10? to start it. Spasibo    ;)
 

Offline davidmpyeTopic starter

  • Contributor
  • Posts: 27
  • Country: gb
Re: Replacement firmware for Dyson V10 Batteries
« Reply #38 on: November 18, 2023, 02:52:45 pm »
Hi David. Assume job!

How I can modify charge and discharge over current? Useful, if using this bms not in vacuum cleaner...
Thanks!

Hey,

Good question - you can modify voltage limits for cells in the config.h file:

https://github.com/davidmpye/V10_Dyson_BMS/blob/main/V10_BMS/src/config.h

At present, I haven't moved the current limits to config.h, but that could certainly be done with a small amount of effort.

At present, they are hardcoded in:

Specifically, in the enable_discharge function: https://github.com/davidmpye/V10_Dyson_BMS/blob/main/V10_BMS/src/bq7693.c

void bq7693_enable_discharge() {
   bq7693_write_register(SYS_CTRL2, 0x40);  //CC_EN=1
   bq7693_write_register(SYS_CTRL1, 0x18);  //ADC_EN=1, TEMP_SEL=1
   
   bq7693_write_register(PROTECT1, 0x9F);
   bq7693_write_register(PROTECT2, 0x04);

   uint8_t scratch;
   bq7693_read_register(SYS_STAT, 1, &scratch);
   bq7693_write_register(SYS_STAT, scratch); //Explicitly clear any set bits in the SYS_STAT register by writing them back.
   
   //DSG_ON turns the discharge FET on.
   bq7693_write_register(SYS_CTRL2, 0x42);//CC_EN, DSG_ON
   bq7693_write_register(PROTECT2, 0x04);
   bq7693_write_register(PROTECT1, 0x82);
}

The values written into PROTECT1 and PROTECT2 set the discharge overcurrent and short circuit delays and limits.  I don't think there is actually a charge current limit - you can measure it using the charge count

You'd have to reference the BQ7653 datasheet (https://www.ti.com/lit/ds/symlink/bq76920.pdf) and change the values appropriately for your application  :)

David
 

Offline davidmpyeTopic starter

  • Contributor
  • Posts: 27
  • Country: gb
Re: Replacement firmware for Dyson V10 Batteries
« Reply #39 on: November 18, 2023, 02:58:32 pm »
Hi. I have a problem with the V10 battery every 2 years. My plan is to make a new battery. Might be 3-5Ah or so. Do you know how to cheat and start a vacuum with non original battery? It has 2 comunication vires. What kind of ''food'' needs to be given to my Dyson v10? to start it. Spasibo    ;)

Hi,

It might be worth re-using the BMS board with my firmware, and replacing the cells?  Up to you!

Either way, the comms required are serial data at 115200 baud.  I *THINK* from memory that it actually uses the VBAT full pack voltage as serial V-high and pulls it down via a sizeable resistor/transistor combo, but you'd want to check that with an oscilloscope to mkae sure I'm right!

The actual data content is here:   https://github.com/davidmpye/V10_Dyson_BMS/blob/main/V10_BMS/src/serial.c

Each packet gets sent around 50mS intervals - it doesnt seem critical.

Alas, other than a few bits of information I figured out via snooping the serial data, I don't really know what the MEANING of the data inside those packets are, only that the cleaner insists on receiving them if you want it to work....

There are a couple of packets that are useful to interpret, from the cleaner to the pack, to enable it to show LED statuses for BLOCKAGE, and NO FILTER.  However, you might or might not want to bother with that functionality.

With the above information, it should be possible to make a mains adaptor to run the cleaner off the mains directly, or even to make an 'adaptor' letting you connect other 7S packs to the cleaner, if anyone really wants!

David
 
The following users thanked this post: najrao

Offline rulof

  • Contributor
  • Posts: 27
  • Country: ru
Re: Replacement firmware for Dyson V10 Batteries
« Reply #40 on: December 01, 2023, 11:01:58 am »
I'll ask you again. maybe there are already options with V11? I have 3 batteries lying around. I want to revive them.
 

Offline turenabo

  • Newbie
  • Posts: 4
  • Country: sg
Re: Replacement firmware for Dyson V10 Batteries
« Reply #41 on: February 21, 2024, 09:06:37 am »
hi David, great job, thanks, I am a beginner of learning BMS and I found your project on github when I try Tinfever's V6/7 BMS project. You mentioned some functions are still not implemented, will you go on this project and release new firmware? I would like to learn from this.

I got a MPLAB IDE and a PICkit3 when I learn V6/7, what should I prepare for V10? You have a very good idea is to use a raspberry pie to burn the firmware, but I don't have this, do you recommend to buy a raspberry or to buy an ATMEL tool?

many thanks

 

Offline volshebnik12345

  • Newbie
  • Posts: 1
  • Country: cn
Re: Replacement firmware for Dyson V10 Batteries
« Reply #42 on: March 05, 2024, 10:33:48 am »
Hello everyone Has anyone compiled a firmware V10 BMS file from dear David Moyes? I want to try to flash the controller using a programmer, can you share the bin firmware file?
 

Offline turenabo

  • Newbie
  • Posts: 4
  • Country: sg
Re: Replacement firmware for Dyson V10 Batteries
« Reply #43 on: April 21, 2024, 11:22:58 am »
Hi David, I saw in the firmware operation on your github that your firmware has LED code with high and low temperature protection. I saw here that you said there is no temperature protection. I am not sure whether there is temperature protection?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf