Hey, are you the owner of Mavic Air Drone, and facing issues like the battery LED lights not glowing, battery not charging, battery not working, battery hibernating or battery voltage fluctuations locked the BMS? Here are the steps to rescue it and make it work again.
In this Tutorial, lets learn how the DJI Mavic air intelligent battery works, its BMS chip and its pinout, battery connections and finally how to remove the PF flag and recovering the battery.
Mavic air battery is also called as an intelligent battery as it has a Battery Management System which monitors everything like cell voltages, temperature, battery health and send it to the drone to display them on the remote controller. Not only monitoring but it also performs safety features like charging the Li-Po cells in limits accordingly, and discharging them automatically when not used for long time to increase the life of them. It also monitors the voltage fluctuations if a battery is malfunctioning and creates power failure Flags which makes battery hibernate and not responsive.
Even when you store the battery for more than 3 months without using in between they switch to hibernation mode. This mode makes the battery unresponsive to push buttons and they wont even charge.
Mavic Air Battery Specifications
- Nominal Voltage: 11.55 V,
- Max Charge voltage: 13.2 V,
- Rated Capacity: 2375 mAh, 27.43Wh
- Battery Type: Li-Po 3S(3 cells in series)
- BMS Board: BQ9003
Mavic Air Battery BMS Circuit and Pinout
As you can see from the above image the outer cover of the battery is removed so that the BMS Chip is visible. Its BMS has a lock sensor which checks weither battery is fixed inside the drone or not. It also has a temperature sensor attached between batteries to monitor the heat from the batteries while charging and discharging. This BMS has 10 pins.
Mavic Air Battery Pinout diagram
From the about pin diagram you can see there are 10 pins numbered from right to left. The first 4 right pins are for Ground( GND) and the pins 7,8,9,10 are positive terminals. The between pins 5 and 6 are SDA and SCL respectively. There are the Data pins which can communicate through SMBus and I2C communication protocols.
Also read : best IoT Projects
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 |
Connecting 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 Code : here.
- Password for Zip file: circuitschools
After downloading the code Download Xloader: here
Next upload the code to Arduino board using it. Choose the port and Baud rate to 115200.
After uploading the code open serial monitor in Arduino IDE at a baud rate of 115200. There you see the output as below screenshot.
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 will glow.
Charge the battery and it will be ready to use. Fly with caution for first use.
Errors and Troubleshooting:
- Battery not connected ……
If you see this error check the wiring between Arduino and Battery. If still error there might be very low voltage in the 3 Li Po cells in it. To solve this you can charge the cells individually with very low current till they reach at least 3.9v and connect it with Arduino.
- Battery Swollen
If the battery is swollen do not pierce or puncture to remove the air from it. If you do so the battery wont hold the voltage eventually making them to die permanently.
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 can u help i need the software for DJI to clear pf flag and battery maintenance pls thank you
hi can u help i need the code for DJI mavic mini BFS reader to clear PF flag due to long storage please
i did send a message b4 but i gave wrong email .sorry
thankyou
Sent check your email.
Hello,
Excuse me for my approximate English because it is not my native language.
I own a DJI Mavic Air 1 with two batteries. I haven’t used the device for several months and both batteries have gone into deep hibernation. I can’t reload them. The green LEDs do not light up when the button is pressed.
I have an Arduino Nano, I read your very well done tutorial, I only need the code to upload to the Arduino.
Would you be so kind as to send me this code.
Thanks a lot
Cordially
Sent. Please check your Mail for code and instructions.
Hi Thanks for the information.
I have a Mavic air I bought second hand with 3 batteries. One works the others are dead lights will not show.
Batteries are not swollen.
I would like to try your fix please send me the code.
Thanks for the information.
H
code sent please check.
Hi I have 2 faulty Mavic Air batteries that I would like to try you fix on.
Please send code.
Heney
Hi, friend. Very good the article. I’ve heard about some guys using a USB/SCI adapter to do the same, but as I already have Arduinos here, it willl be very useful and educative to try. Can you share the code? Thanks!
Sent.
Went to charge my mavic battery’s after sitting on the shelf for 6 months, hoping this code will recover them before I need to order a cp2112
Link to code added in the article. Reply here if it works.
Thanks for the help provieded
Hi all,
i have forgotten to load my my mavic air battery. After 3 month i can’t load them again.
Please send me the arduino code to bring them back to live. Thank you
Sent please check your email.
Can you make a tutorial on how to replace the cells of Mavic air with Li-Ion batteries. my original batteries are swollen and dead.
It is generally not recommended to replace the battery of a DJI Mavic Air with individual lithium-ion cells. The Mavic Air’s battery is a complex and carefully designed system that includes multiple cells, a built-in battery management system (BMS), and other components that are designed to work together to provide power to the drone and ensure safe operation. Modifying the battery in any way can pose a serious risk of injury or damage to the drone, and may also void the manufacturer’s warranty.
If you are experiencing issues with the battery on your Mavic Air, we recommend contacting DJI or an authorized DJI repair center for assistance. They will be able to diagnose any problems with the battery and provide recommendations for repair or replacement if necessary.
But if your country doesn’t has any DJI services you can go for it.
I want to know that too 😊
I have 3 DJI mavic air batteries from flymore combo and are not charging, they were unused for 5 months may be thats the reason please help me in turning them on. Also please send the code for arduino. Thanks in advance.
Link to the code added in the article please check. Thanks.
Hi,
I have a DJI Mavic Air with 3 batteries mod. PBI2375mAh 11,55V. I haven’t used the drone for 2 years and the batteries allready doesn’t work. I can’t charge them, if I press the button, the green LEDs do not light up.
I need the Arduino code to reset them, can you send me?
Many thanks, Fabio.
long term storage an battery is unresponsive – not a spicy pillow. pls send 1010101
I am in the same boat at Suraj – they were unused for an extended period of time – please help me in turning them on. Also please send the code for arduino. Thanks in advance. happy new year!
added in the article. Share your experience.
hi can u help i need the code for DJI mavic mini BFS reader to clear PF flag due to long storage please.
Hello sire.
I have two sleeping batteries not used for allmost one year. Now both are totally non responsive. Can you help please with the arduino code needed to try to activate them again?
Thank you very much!
Code link and tutorial given in the above article. please check it.
I need the code to unlock my Mavic Air Battery. No swelling.
Also, the link for the Arduino NANO you list above must have changed. https://amzn.to/3pxTUcK goes to a different product.
Arduino NANO in Amazon brings up the same item photo.
Sorry, updated the link for Arduino NANO. And also the link to code is in the article itself.
Hey, need to revive my battery, not swallen.
BR
Mario
Will this work with the phantom 3 batteries? They look very similar.
Hello,
How long should it take? 5 sec? it is stuck there:
***DJI MAVIC AIR BATTERY PF RESET TOOL : CIRCUITSCHOOLS.COM ***
***Visit circuitschools.com for Circuit diagram and tutorial***
***This program will unseal and clearPF automatically for DJI MAVIC AIR***
***If this program helped you please comment on our page***
Unseal/FAS …
It means BMS is not connected to the Arduino NANO.
Reasons: 1.Connection problem, or 2. the voltages in the internal cells are very low.
Solutions:1.Check the wiring, 2.Charge the individual cells upto nearly 3.8v with external lipo chargers with very slow speeds.
How long it is suppose to take? it is stuck at unseal/FAS… for ever
is there a way to get info from the battery?
Hello,
What does it means if it is stuck to unseal/FAS, does it means the bms board is dead?
Hi 🙂
Can you share the source code?
I would like to try to adapt it for my DJI FPV drone.
Thank you very much!
The Unseal key doesnt work for FPV drone.