How Long Can An Arduino Run On Batteries? I Tested 6 Of The Most Common Boards

  Переглядів 84,317

Michael Klements

Michael Klements

День тому

In this video, we're going to be looking at the power consumption of a number of different Arduino boards, with the aim being to try and power them for as long as possible using two 3.7V, 4200mAh, 18650 Lithium-Ion Batteries.
Most Arduino's require a minimum input voltage of around 6V, so we're going to be using two 3.7V batteries in series to power the boards. I've also included a 3.3V Pro Mini, which can be run on a single battery as a comparison test.
Have a look at the full write up for the links to the sketches and to the low power library used - www.the-diy-life.com/how-long...
We're going to be testing 6 of the most common Arduinos:
Arduino Uno - amzn.to/2Y8lwr9
Arduino Mega - amzn.to/31Vd6Ve
Arduino Nano - amzn.to/2QbhbiR
Arduino Pro Micro - amzn.to/345kfF3
Arduino Pro Mini 5V - amzn.to/3avnAhT
Arduino Pro Mini 3.3V - amzn.to/2Cwemp6
Here are links to the batteries and the multimeter used in the video as well:
4000mAh 18650 Lithium Ion Batteries - amzn.to/321c1LJ
18650 Battery Holder - www.banggood.com/custlink/GDD...
Fluke 17B+ Multimeter - amzn.to/3g4txnl

КОМЕНТАРІ: 117
@ATP-Flo
@ATP-Flo 2 роки тому
Awesome video. Exactly what I was looking for!
@lint2023
@lint2023 3 роки тому
Very valuable data collected and shared. Thanks.
@DeepWorksStudios
@DeepWorksStudios 3 роки тому
True
@JohnClulow
@JohnClulow 3 роки тому
Very nice experiment! I've been wondering about which boards might be most suitable for 18650 power, and this certainly answers that question. The information you provided regarding sleep mode is also very useful -- I wasn't aware that was available. So thanks very much and I'll look for the follow up video you mentioned to see whether you were able to do even better.
@MichaelKlements
@MichaelKlements 3 роки тому
Thanks John!
@jobbydude
@jobbydude 2 роки тому
Very informational! Thank you for sharing this experiment with us :)
3 роки тому
Its like testing car Fuel consumption without going anywhere.
@abhinav1299
@abhinav1299 3 роки тому
Epic bro
@wilfdarr
@wilfdarr 2 роки тому
Fuel consumption in idle, yes. But it's part of the puzzle, actually the part that I'm looking for: I can calculate how much everything else is using myself.
@florinarnautu8393
@florinarnautu8393 2 роки тому
You are right, but he still shows something usefull, witch board is the most power efficient, and about speel mode/low power mode
@anthonypeters1797
@anthonypeters1797 2 роки тому
Kinda. Not really
@filiphodak6792
@filiphodak6792 Рік тому
@@wilfdarr exactly
@watch54
@watch54 2 роки тому
i dont understand your voice(fully) but this video is the most usefull video i have ever seen. can you speak more understandable ? (english is not my first language)
@TheMdfaiz
@TheMdfaiz Рік тому
Good Info.
@sanjaybatra6593
@sanjaybatra6593 3 місяці тому
Its giving a nice idea. It would have been great .. if you would have connected few component like LCD and few relays
@rudiratte9032
@rudiratte9032 3 роки тому
cool video, and nice projects! Do you know how long those controllers last while in usage? Like with some kind of sensor and transmition (pir/433)
@MichaelKlements
@MichaelKlements 3 роки тому
It depends a lot on the type of sensor and how you’re using it. Sensors like thermistors and LDRs use very little power where GPS and GSM modules typically use significantly more than the Arduino would. There are also ways to reduce the power consumption by sensors by only turning them on when they need to be used or using a “sleep” mode.
@arxkhan6280
@arxkhan6280 3 роки тому
@@MichaelKlements brother.. i am making a project using arduino uno, touch module ttp223, reset switch, 1 digt lcd 7 segments. Can you tell me what will be the best battery source for it. I bought a single 9v battery for it.
@gawaynee9739
@gawaynee9739 8 місяців тому
Very nice
@donepearce
@donepearce 2 роки тому
I think that as a fairer test you should have used the same two batteries in parallel for the 3.3V versions.
@UncommonSense75
@UncommonSense75 10 місяців тому
The voltage would have been the same; you would just double the total capacity. Instead of 4 months of life, you'd have 8 months.
@sahanpanditharathne2765
@sahanpanditharathne2765 2 місяці тому
is there a way to power down more than 8S ? this seems like a very bad limitation in the LowPower library
@FrancisQuigley
@FrancisQuigley 3 роки тому
Excellent video, (are we there yet? 🤣🤣)
@allenpope4383
@allenpope4383 3 роки тому
Does this change substantially by desoldering the on chip LED's?
@MichaelKlements
@MichaelKlements 3 роки тому
Not really for the Mega and Uno, but it does make a significant difference for the smaller Arduinos, like the Pro Micro, Nano and Pro Mini. I've recently done a video on this as well - ukposts.info/have/v-deo/eWOknJCeiWuKl2w.html
@elektron2kim666
@elektron2kim666 12 днів тому
The Raspberry Pi Pico can run on 3.7v with a display attached. It's pointless to boost it up unless you need 5.1v somewhere badly.
@korak002
@korak002 3 роки тому
Where did you get those red PCB battery trays for the 18650s?
@MichaelKlements
@MichaelKlements 3 роки тому
They're from Banggood - www.banggood.com/custlink/GDDEjgHQz7
@abhinav1299
@abhinav1299 3 роки тому
So finaly i found it
@PyroRob69
@PyroRob69 3 роки тому
Where can I find those battery holders with the built in chargers? Those would be really useful. No need to remove the battery from the project to charge them.
@MichaelKlements
@MichaelKlements 3 роки тому
I bought them from Banggood - bit.ly/3nKqyFp . Yes, they're really useful for rechargeable projects!
@PyroRob69
@PyroRob69 3 роки тому
@@MichaelKlements Ok, good to know. I bought some similar from Amazon. In addition to the charger, they also have a pair of step down regulators, one for 5v and one for 3v3. www.amazon.com/gp/product/B088BWXPB3/
@MichaelKlements
@MichaelKlements 3 роки тому
These one's also look really useful. Having the on-board power switch is neat.
@PyroRob69
@PyroRob69 3 роки тому
@@MichaelKlements That's what I thought as well. They will be here in a few days so we shall see how well they work.
@john543
@john543 4 місяці тому
Be careful, not all of these devices are capable of proper UPS function.
@samadhistate9637
@samadhistate9637 11 місяців тому
Are the batteries you're using protected or unprotected? They seem to be mounted on a module. Does this module protect against over discharge?
@MichaelKlements
@MichaelKlements 11 місяців тому
They're unprotected and the module that the battery is on is only a charger.
@the-matrix-has-you
@the-matrix-has-you 2 роки тому
Battery Time is calculated with the Formula T = (Battery Voltage x Battery Ah) / (MCU Voltage x MCU Current) which will give you the result in Hours. Hours /24 Hours give you the Battery Days without defficiency...
@devinmarx5032
@devinmarx5032 Рік тому
Yeah, I was thinking the same thing, this video doesn’t accurately calculate battery run time
@finfan7
@finfan7 3 роки тому
I'm wondering how this compares to, say, using an uno to program the atmega and then operating it as a standalone microprocessor. How much energy cost is in having the rest of the arduino board around going unused?
@MichaelKlements
@MichaelKlements 3 роки тому
Well it depends on what you’re trying to do with it. Arduino boards in general are prototyping boards, so they’ve got a lot of components on them to make them as usable as possible but being power efficient isn’t really a consideration.
@finfan7
@finfan7 3 роки тому
@@MichaelKlements True. Just a curiosity.
@peterthinks
@peterthinks 2 роки тому
I was also wondering how just the chip on a breadboard with a crystal would do.
@jlnprssnr
@jlnprssnr 3 роки тому
What spreadsheet program is that you're using? Doesn't look like Excel or Google
@MichaelKlements
@MichaelKlements 3 роки тому
It's Apple's Numbers on macOS.
@jahraulanday5861
@jahraulanday5861 2 роки тому
How did he wire up the batteries and used them together? Is it in series or parallel? And can you please tell me how they are connected? Thank you!
@MichaelKlements
@MichaelKlements 2 роки тому
The write-up linked in the video description gives you more information on this. They're in series for the 5V tests and then just a single cell for the 3.3V tests.
@jahraulanday5861
@jahraulanday5861 2 роки тому
@@MichaelKlements The batteries are 3.7 V each right? Will destroy the board? Sorry I'm kinda new with arduino and really like to learn more. :)
@elex9rameshwargadekar190
@elex9rameshwargadekar190 3 роки тому
You have taken lot more effort to make this video. Anyways very useful information for me.
@MichaelKlements
@MichaelKlements 3 роки тому
Thanks RD Gadekar
@adinarkanantacahyo7928
@adinarkanantacahyo7928 2 роки тому
Hi sir, i want to ask, why my arduino blinking like on off, on off when i measure with my multimeter. I use 9v bat for powering arduino.
@MichaelKlements
@MichaelKlements 2 роки тому
What are you measuring and how are you measuring it? This is a very open ended question.
@adinarkanantacahyo7928
@adinarkanantacahyo7928 2 роки тому
@@MichaelKlements Sorry its my foult, luckly my multimeter doesnt broke😅. Nice video. Thanks for sharing👍
@SunSun0712
@SunSun0712 3 роки тому
remove +5V LED indicators as well as RX/TX uno board is not low power board/components. You can also try running all processors on 1MHz not 16Mhz and see difference :)
@MichaelKlements
@MichaelKlements 3 роки тому
I did a follow up on this video where I tried a couple of different things to make a Pro Mini more efficient. I got it down to using a couple of microamps, so the Arduino would outlast the natural discharge rate of the battery.
@Mots-mot
@Mots-mot 3 роки тому
What about esp8266?
@DevasKarpDevas5000
@DevasKarpDevas5000 10 місяців тому
Hey! The link to the batteries no longer works.
@antonykb
@antonykb 3 роки тому
can I put 4 18650 lithium-ion battery for Arduino board to power a collision avoidance car
@MichaelKlements
@MichaelKlements 3 роки тому
3 would probably be fine, bu t you should be able to use 4 as well.
@user-ev4fo7jp6h
@user-ev4fo7jp6h 2 місяці тому
Hey man can you please help me , My arduino turn on by battery but it does not run the code ?? It's like there is no code inside it But if i connect to laptop it works . Any solution for this ?
@MichaelKlements
@MichaelKlements 2 місяці тому
The battery is likely not able to supply enough current (or possibly incorrect voltage) to run the Arduino. The power LED might come on but the controller behaves strangely if it doesn't get enough power.
@majidmohd100
@majidmohd100 3 роки тому
How much time would Arduino nano be on 9v battery if connected to servo
@MichaelKlements
@MichaelKlements 3 роки тому
That's quite an open ended question. 9V batteries vary significantly in capacity and so do servos. It'll also depend on how often you're moving the servo.
@mouvlieswaran3567
@mouvlieswaran3567 3 роки тому
can a arduino uno board run for 30 days continuously? if i can supply power continuously
@MichaelKlements
@MichaelKlements 3 роки тому
Yes it can, they’ll typically run for a couple of years - depending on the quality of the components used.
@FishFind3000
@FishFind3000 3 роки тому
I’ve had mine running for the last 175 days continually without a problem. It’s been on and running combined for over 250 days easy. I’m using the arduino uno genuine board.
@sanane7030
@sanane7030 2 роки тому
Cool….
@arkern6464
@arkern6464 Рік тому
I bought these same batteries. Once fully discharged, I charged and found them to be only 1800mAh. I learned the hard way, if you want quality batteries try Panasonic or Samsung instead. You get what you pay for. No such thing as a 4200mAh or 9800mAh 18650 on the market only cheap China knockoffs.
@NunoRVOliveira
@NunoRVOliveira 3 роки тому
Less than 10 seconds into the video and I'm seeing fake batteries with a capacity that we can only dream to be possible....
@KevinMsyah
@KevinMsyah 3 роки тому
Who knows, maybe he has a time machine, and get those batteries from the future
@ThePraveensharan
@ThePraveensharan 3 роки тому
How long would a Nano last if I used it 1 minute a day?
@MichaelKlements
@MichaelKlements 3 роки тому
One minute a day is less than 0.1% utilization, so it won't be much different to the test results. Probably around 20 days on a 3000mAh battery.
@amip231
@amip231 3 роки тому
anyone help me please. its for my school project. i made a mood lamp and when i connect to the battery(9v), the board only turns on for about 10 seconds and then it will turn off for about 3 sec and turns on again, and the cycle continues. please if anyone knows how to solve this please help me....
@MichaelKlements
@MichaelKlements 3 роки тому
Some cheap 9V batteries are really poorly made and can’t handle the current drawn by an Arduino, especially if you’ve got a motor or servo attached. So the voltage drops and the Arduino cuts out and restarts.
@amip231
@amip231 3 роки тому
@@MichaelKlements oh but i think its bc of my battery holder bc my dad said they're low quality and the wires in it is too thin
@MichaelKlements
@MichaelKlements 3 роки тому
Yes, it could also be that!
@billybbob18
@billybbob18 3 роки тому
Try an attiny85 @ 1MHZ Great vid BTW.
@MichaelKlements
@MichaelKlements 3 роки тому
Thanks for the suggestion, I’ll try it out
@karproductions1964
@karproductions1964 3 роки тому
How did you set up the wiring?
@MichaelKlements
@MichaelKlements 3 роки тому
It’s just the two batteries in series and then those connected in series with the multimeter current probes and then onto each Arduino
@karproductions1964
@karproductions1964 3 роки тому
@@MichaelKlements Thanks!
@aaivilchip
@aaivilchip 2 роки тому
@@MichaelKlements so it's not a problem when the arduino connected with 7,4v as long as it's attached in Vin-G pin?
@TechNerdPrash
@TechNerdPrash Рік тому
@@aaivilchip yeah the vin pin has a voltage regulator so no problem
@lis6502
@lis6502 Рік тому
it's amusing that people in comments sections tend to pick on "fake battery" instead of appreciation that someone actually measured power consumption in mathematicaly proper way xD Thank you Michael, this video was really educational!
@MichaelKlements
@MichaelKlements Рік тому
Haha, if there is one thing I've learned about UKposts its that people will always find something to complain about. At least we all learn from it and can make improvements for the next one.
@john543
@john543 4 місяці тому
Not just fake batteries, but incorrect mesuring method plus, all that data is in the data sheets.
@leonhardlammerhirdt2730
@leonhardlammerhirdt2730 2 роки тому
Would it work if i use 3 in series instead? Its 11,1 v.
@s.sradon9782
@s.sradon9782 2 роки тому
WOW! your batteries break the limits of physics AND chemistry just to be 4200mAH. !this video isnt very scientific, your method stands to be improved in many ways.
@nbcq302
@nbcq302 Рік тому
Zero arguments, stop spamming please
@lis6502
@lis6502 Рік тому
@@nbcq302 actually i'll partially agree with OP. Altough cells used in this video are definetely shitty and surely doesn't have 4.2Ah capacity, author's method of measurment is correct. If you really had 4200 mAh 3.6v cell, calculations would be close enough. However if you have something more realistic like Samsung's INR18650-23 with 2.3Ah capacity, just include this in your calculations :)
@devinmarx5032
@devinmarx5032 Рік тому
@@lis6502 with the calculations, he had a wrong, it’s 4500 mA hours at 3.7 V, the total milliamp hours changes when he’s running them in series at 5V
@elex9rameshwargadekar190
@elex9rameshwargadekar190 3 роки тому
niceeeeee
@neerajyelpale
@neerajyelpale 3 роки тому
The max a li-ion can have is 3500 mah, u got cheated bro
@MichaelKlements
@MichaelKlements 3 роки тому
Yeah I've seen a lot of people have said this!
@peterlandin457
@peterlandin457 Рік тому
Not 4.2 mA i hope... 4.2A
@RaptorRotorHead
@RaptorRotorHead Рік тому
Not on those batteries you have pictures those batteries are fake there's no 18 650 battery that is over 3,500
@Marco040
@Marco040 2 роки тому
Nice test to see the bare power consumptions of the controllers. This test does not account for the fact that there is a voltage where the arduino stops working reliable working under a certain voltage. Especially in the case where the 3.7 volt is directly attached to the arduino. Also you did not include a battery protection to prevent deep discharging. When connecting the arduino to the batteryterminals, there is nothing stopping from going under the presumed safe 3.5 volts. The 4200 mAh rating is chemically not feasible, the max capacities with current li-ion technology, you could probably get 3500 mAh.
@MichaelKlements
@MichaelKlements 2 роки тому
As you've said, this test was more about testing the current draw from each Arduino setup than it was about correctly designing/sizing a battery setup to power them. All your points are valid when designing a battery powered project.
@RaptorRotorHead
@RaptorRotorHead Рік тому
First the capacity of the battery, that rating is fraud. So not a fair test. 1000ma true capacity battery will run a nano 24 hours. 8 hours a day, so 3 days.
@john543
@john543 4 місяці тому
Do you know that for any given battery chemistry there is a measure known as power density. I don't have the number handy, but I do know a legitimate 18650 LiIon with protection weighs 45gm and has at most 2,600mAh. In order for those batteries to have 4200 they will have to weigh at least 73gm. I guarantee you they are fake. I apologize if later in the video you disclose these facts, but I have only watched the first few minutes. Very unhelpful video. Also, research what happens when using a VOM to measure sub 1A currents. Hint: it messes up your readings and not in a good way.
@stadsimkerijhengeloe.o.4300
@stadsimkerijhengeloe.o.4300 2 роки тому
These 18650 cells are fake. There are no cells with more than about 3600mAh only the very best LG cells have it. More often 3000 mAh or 3400mAh.
@JamilKhan-hk1wl
@JamilKhan-hk1wl 2 роки тому
The high capacity ones are quite expensive. Typically you get 2400mAh-2800mAh
@JamilKhan-hk1wl
@JamilKhan-hk1wl 2 роки тому
Im 100% sure that battery is not 4200mAh
@carlerikkopseng7172
@carlerikkopseng7172 Рік тому
Yes, and I am 100% sure you are pulling facts out of your ass. If you make allegations, back them up
@JamilKhan-hk1wl
@JamilKhan-hk1wl Рік тому
@@carlerikkopseng7172 its an easy one to prove. The highest capacity li ion18650 battery available is by Samsung, LG and panasonic is 3500 mah. These three companies are very reputable in this field. Even then, these 3500 mah are very expensive. I doubt a random chinese company would be able to achieve higher capacity than these
@Henry-sv3wv
@Henry-sv3wv Рік тому
>that battery is not 4200mAh guess we need to invade china so we can put those people putting wrong numbers on batteries in prison
@JamilKhan-hk1wl
@JamilKhan-hk1wl Рік тому
@@Henry-sv3wv you can simply not buy scam products.
Can I Get An Arduino To Run For A Year On A Single 18650 Battery?
7:09
Michael Klements
Переглядів 31 тис.
5 Ways to Destroy an Arduino
10:33
Programming Electronics Academy
Переглядів 198 тис.
"Поховали поруч": у Луцьку попрощались із ДВОМА Героями 🕯🥀 #герої #втрати
00:15
Телеканал Конкурент TV - новини Луцька та Волині
Переглядів 321 тис.
Мы играли всей семьей
00:27
Даша Боровик
Переглядів 1,8 млн
LIVE - Парад Победы в Москве. 9 Мая 2024
2:27:56
AKIpress news
Переглядів 2,2 млн
How to Power an Arduino Project (Lesson #19)
13:24
Science Buddies
Переглядів 53 тис.
Arduino vs Pico - Which is the Best Microcontroller For You?
20:38
Gary Explains
Переглядів 278 тис.
A simple guide to electronic components.
38:06
bigclivedotcom
Переглядів 8 млн
MOSFETs and Transistors with Arduino
40:50
DroneBot Workshop
Переглядів 1 млн
Chapter 7 - Arduino - Options for Powering Your Board
13:11
Modest Maker
Переглядів 41 тис.
Half of a Great Idea
26:34
Inheritance Machining
Переглядів 222 тис.
Is Adam Savage Still an Atheist?
8:16
Adam Savage’s Tested
Переглядів 120 тис.
Arduino Multiplexor - MUX INPUTS & OUTPUTS - ANALOG and PWM
13:21
Electronoobs
Переглядів 95 тис.
Corel Linux - The (Word)Perfect Operating System
25:40
Michael MJD
Переглядів 89 тис.
#115 Put your Arduino to Sleep 💤 (using wake up 🚩 INTERRUPT)
24:05
Ralph S Bacon
Переглядів 47 тис.
10 травня 2024 р.
0:12
Marina Bilozor
Переглядів 65 тис.
10 травня 2024 р.
0:12
Marina Bilozor
Переглядів 65 тис.
Constipation - 3d animation  #meded #anatomy #3dmodel
0:21
SciePro
Переглядів 47 млн