Interfacing MAX17043 Lithium Battery Fuel Gauge IC with Arduino to measure State of Charge (SOC)

  Переглядів 14,664

How To Electronics

How To Electronics

2 роки тому

Up to 20%-30% off for PCB & PCBA order:
Only 0$ for 1-4 layer PCB Prototypes:
www.nextpcb.com/?code=Htoeletric
Register and get $100 from NextPCB:
www.nextpcb.com/register?code...
𝗣𝗿𝗼𝗷𝗲𝗰𝘁 𝗗𝗲𝘀𝗰𝗿𝗶𝗽𝘁𝗶𝗼𝗻:
The 3.7V lithium batteries are commonly used in many projects. These batteries are a great way to power your projects. They're small, lightweight, and pack a pretty good punch for their size. Unfortunately, even the best batteries eventually run low on power, and when they do it's often unexpected. The remaining power and voltage of the lithium battery are highly nonlinear. We can only roughly judge whether the battery is full or almost empty according to its voltage.
The voltage of Li-ion or LiPo batteries doesn’t drop linearly. This is the reason why we need an accurate method to measure the battery percentage linearly. The MAX17043 LiPo Fuel Gauge connects your battery to your project and uses a sophisticated algorithm to detect the relative state of charge and direct the A-to-D measurement of battery voltage. In other words, it tells your microcontroller how much ‘fuel’ is left in the tank. The MAX17043 LiPo Fuel Gauge IC communicates with Arduino over I2C & tells Battery percentage and an alert pin also tells you when the charge has dropped below a certain percentage.
In this tutorial, we will interface MAX17043 LiPo fuel gauge Module from Sparkfun & Maxim Integrated with Arduino Pro Mini to measure the correct battery voltage & percentage of the State of Charge. We will display SOC & Voltage level on a 0.96" I2C OLED Display & use TP4056 to charge the battery.
𝗣𝗿𝗼𝗷𝗲𝗰𝘁𝘀 𝗟𝗶𝗻𝗸𝘀 & 𝗦𝗼𝘂𝗿𝗰𝗲 𝗖𝗼𝗱𝗲: how2electronics.com/interfaci...
....................................................................................................................................................................................................................................
Drop a like if you liked this video.
Don't forget to subscribe to our channel for more Electronics projects and tutorials.
Website: www.how2electronics.com
Facebook: / how2electronics
Instagram: / how2electronics

КОМЕНТАРІ: 29
@soupie187
@soupie187 Рік тому
Beware of the fake clones of these MAX17043 (0x32 address) these are really old and go back 8+ years. Some have made a specific library and got it slightly working but gave up, they dont operate as intended. Don't waste your time and money these clones.
@UBsLab
@UBsLab 2 роки тому
Clean and neat... as always.. thanks for the awesome tutorial..
@ahmedzarkhan1316
@ahmedzarkhan1316 2 роки тому
Is there any other fuel gauge for batteries like 12v or 15v.
@MrAlsan
@MrAlsan 2 роки тому
Awesome tutorial 👌
@bhavyatanneru3571
@bhavyatanneru3571
Can you suggest how to use for higher voltage batteries?
@mabhinays
@mabhinays 2 роки тому
Can we use this for lifepo4 battery cells...
@dinobeavermethaddict
@dinobeavermethaddict Рік тому
Is there something that prevents the battery from powering the Arduino
@Bianchi77
@Bianchi77 2 роки тому
Nice video, thanks :)
@zaheersuhabuth2677
@zaheersuhabuth2677 Рік тому
Can I use ESP 32 for this?
@abolfazlamini98
@abolfazlamini98
How can I use this circuit and programming to measure a 12v lipo battery
@ashutoshasare5535
@ashutoshasare5535 2 роки тому
hello i am wroking on universal battery pack ,so how can i calulate soc
@vaishnaviganeshbhagwat3079
@vaishnaviganeshbhagwat3079 Рік тому
Are you first dumping code in Arduino
@amiral3187
@amiral3187 2 роки тому
This video is very clear and it was going to be perfect if you demonstrate the moment when the interrupt of the less than %10 battery level triggers.
@nishanthg769
@nishanthg769 Рік тому
I used arduino UNO and i am getting SOC: -1.00%, VCELL: -0.02V as output and nothing else please help @How To Electronics
@moanggaf7407
@moanggaf7407 Рік тому
Is maximum for 1s only?
@hungdang6333
@hungdang6333 2 роки тому
i found I2C address at 0x32 ,it didn't work even though i changed the address from 0x36 to 0x32 in the library
@mramzadg
@mramzadg 2 роки тому
Intresting.video.
@edsonferraz1
@edsonferraz1 4 години тому
Excellent vídeo, congratulation. This source code working on battery pack of 7,4 V x 4200 mAh?
@electronic7979
@electronic7979 2 роки тому
👏👏👏
@shridharkondikoppa3710
@shridharkondikoppa3710 Рік тому
Can we use it for higher voltage battery
MAX17043 LiPo Fuel Gauge connects to Arduino via I2C #1
9:07
Julian Ilett
Переглядів 29 тис.
🔋Lithium vs. Lead Acid: Voltage vs. State of Charge (SOC)
5:46
Current Connected
Переглядів 45 тис.
Power Your Projects With Batteries! (LiPo/Li-ion)
9:27
Sine Lab
Переглядів 21 тис.
Don't do this!   (There's a much safer way)
21:27
bigclivedotcom
Переглядів 1,2 млн
DIY LiPo Charge/Protect/5V Boost Circuit
11:31
GreatScott!
Переглядів 784 тис.
The Cheapest Microcontroller? Getting started with the 10 cent Puya PY32.
21:36
Why you should avoid using charger modules!
16:44
Electronic Wizard
Переглядів 103 тис.
How to Accurately Measure Battery Pack SOC
2:06
Monolithic Power Systems | MPS
Переглядів 1,5 тис.