In this quick and easy tutorial we are going to interface the DJI Mavic air battery BMS with Arduino to reset the battery cycle count. The lifespan of a Mavic Air battery can vary depending on various factors such as usage, storage conditions, and temperature. DJI, the manufacturer of the Mavic Air, recommends replacing the battery after 200 charging cycles or if it shows signs of swelling or damage.
So, if you feel buying a new battery burns your pockets, you can replace the cells inside with the newer ones. Doing so will lock your battery BMS by raising the Power failure flag. To remove it follow our previous article on DJI Mavic Air battery recovery (Clear PF). After new cells were replaced we need to reset the battery cycle count to measure the cycle counts and heath of the new cells in future. So, follow the below tutorial to reset the battery cycle count easily with the help of Arduino.
Table of Contents
What is Battery Cycle count?
A battery cycle count refers to the number of times a battery has gone through a full charge and discharge cycle. In other words, it is the number of times a battery was charged fully and discharged. For example, if you charge your smartphone from 0% to 100% and then use it till 0% again, that is considered one battery cycle.
Battery cycle count is an important metric because as a battery undergoes more charging and discharging cycles, its capacity to hold a charge decreases over time. This means that after a certain number of cycles, the battery’s ability to hold a charge will diminish, and it will need to be replaced. The number of cycles a battery can undergo before its capacity begins to deteriorate will vary depending on the battery type and its usage pattern. Manufacturers often specify a maximum cycle count for their batteries before recommended replacement.
Mavic air battery: How it works with BMS:
The Mavic Air battery is a 3 cell lithium-ion polymer (LiPo) rechargeable battery which is designed for Mavic Air drone only. It has a total capacity of 2375mAh and a voltage of 11.55V.
The Mavic Air battery also contains a battery management system (BMS), which helps to protect the battery from overcharging, over-discharging, and overheating. The BMS also balances the cells within the battery to ensure that they are charged and discharged evenly, which helps to extend the battery’s lifespan.
Required components:
Product Name | Quantity | ||
---|---|---|---|
Arduino NANO | 1 | https://amzn.to/3jVNZON | https://amzn.to/3KpUQry |
Few Connecting Wires | https://amzn.to/3H2BV4e | https://amzn.to/3J0WVu2 |
Mavic Air battery pinout:
Connecting BMS with Arduino
Now lets connect the battery to Arduino with the help of below circuit diagram.
Here we are using Arduino NANO board, you can even use Arduino UNO as well the pins are same and very simple. Just take 3 jumper wires and connect them. So in this case the A4 from Arduino which is SDA is connected to Pin 5 of battery and A5 from Arduino which is SCL is connected to Pin 6. And finally the GND pin from Arduino is connected to any of the 1,2,3,4 pins.
Arduino Code:
After connecting, its time to upload the code for that you need Arduino IDE.
- Download Arduino IDE: here
- Download Exclusive battery cycle count reset code: here
- Password for ZIP file: circuitschools.com
After downloading the exclusive cycle count reset code Download Xloader: here
Next upload the code to Arduino board using it. Choose the port and Baud rate to 115200.
This is an automatic process connect the battery, upload the code, open the serial monitor with baud rate 115200 and with in 5 seconds your battery cycle count will be reset to 0.
If you get any errors or stuck at Unseal FAS… read this Errors and troubleshooting.
If you like this project please subscribe to our YouTube Channel “Circuit Schools“ to encourage us to publish more interesting projects. If you have any doubts write to us from below comment section.
Hi,
I bought a Arduino nano to fix my Mavic air battery but I don’t know what kind of cable to connect it to computer. Please tell me which cable I can buy it.
Thank you
You can use USB A to Mini B cable for Arduino nano
Can i use Arduno uno
Yes you can.
Hi, I have 2 Mavic 3 batteries bricked, and cant fly my drone!
Could you send me the code to my email, so I can try adapting it for Mavic3?
good evening master
Would like to save my battery from Marvic air with their software
When I open the software ( Mavicair_pfreset_circuitschools.hex ) it needs a password
What is the password so I can save the battery
Thank you very much
And I’m glad there are people like you!
Best regards Macswiss
mavic air battery cycle count reset code