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

Поделиться
HTML-код
  • Опубликовано: 17 авг 2024
  • ХоббиХобби

Комментарии • 118

  • @lint2023
    @lint2023 4 года назад +9

    Very valuable data collected and shared. Thanks.

  • @JohnClulow
    @JohnClulow 3 года назад +6

    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.

  • @ATP-Flo
    @ATP-Flo 2 года назад +4

    Awesome video. Exactly what I was looking for!

  • @donepearce
    @donepearce 2 года назад +11

    I think that as a fairer test you should have used the same two batteries in parallel for the 3.3V versions.

    • @UncommonSense75
      @UncommonSense75 Год назад +1

      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.

  • @watch54
    @watch54 2 года назад +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)

  •  3 года назад +45

    Its like testing car Fuel consumption without going anywhere.

    • @abhinav1299
      @abhinav1299 3 года назад

      Epic bro

    • @wilfdarr
      @wilfdarr 3 года назад +5

      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 года назад +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 года назад +1

      Kinda. Not really

    • @filiphodak6792
      @filiphodak6792 Год назад +1

      @@wilfdarr exactly

  • @jobbydude
    @jobbydude 2 года назад +2

    Very informational! Thank you for sharing this experiment with us :)

  • @allenpope4383
    @allenpope4383 3 года назад +7

    Does this change substantially by desoldering the on chip LED's?

    • @MichaelKlements
      @MichaelKlements  3 года назад +4

      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 - ruclips.net/video/A3shZgR5Y68/видео.html

  • @sanjaybatra6593
    @sanjaybatra6593 6 месяцев назад

    Its giving a nice idea. It would have been great .. if you would have connected few component like LCD and few relays

  • @FrancisQuigley
    @FrancisQuigley 3 года назад +1

    Excellent video, (are we there yet? 🤣🤣)

  • @elektron2kim666
    @elektron2kim666 3 месяца назад

    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.

  • @PyroRob69
    @PyroRob69 3 года назад +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 года назад +3

      I bought them from Banggood - bit.ly/3nKqyFp . Yes, they're really useful for rechargeable projects!

    • @PyroRob69
      @PyroRob69 3 года назад +1

      @@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 года назад +2

      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 7 месяцев назад +1

      Be careful, not all of these devices are capable of proper UPS function.

  • @sahanpanditharathne2765
    @sahanpanditharathne2765 6 месяцев назад

    is there a way to power down more than 8S ?
    this seems like a very bad limitation in the LowPower library

  • @the-matrix-has-you
    @the-matrix-has-you 2 года назад +1

    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 Год назад +1

      Yeah, I was thinking the same thing, this video doesn’t accurately calculate battery run time

  • @elex9rameshwargadekar190
    @elex9rameshwargadekar190 4 года назад +7

    You have taken lot more effort to make this video. Anyways very useful information for me.

  • @lis6502
    @lis6502 2 года назад +1

    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  2 года назад +2

      Haha, if there is one thing I've learned about RUclips 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 7 месяцев назад

      Not just fake batteries, but incorrect mesuring method plus, all that data is in the data sheets.

  • @korak002
    @korak002 3 года назад +1

    Where did you get those red PCB battery trays for the 18650s?

    • @MichaelKlements
      @MichaelKlements  3 года назад +3

      They're from Banggood - www.banggood.com/custlink/GDDEjgHQz7

  • @RezaSimRacing
    @RezaSimRacing 3 месяца назад

    thank you so much. you helped me a lot

  • @user-ev4fo7jp6h
    @user-ev4fo7jp6h 5 месяцев назад

    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  5 месяцев назад

      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.

  • @rudiratte9032
    @rudiratte9032 3 года назад +1

    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 года назад +1

      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.

  • @samadhistate9637
    @samadhistate9637 Год назад

    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  Год назад

      They're unprotected and the module that the battery is on is only a charger.

  • @abhinav1299
    @abhinav1299 3 года назад +1

    So finaly i found it

  • @TheMdfaiz
    @TheMdfaiz Год назад

    Good Info.

  • @amip231
    @amip231 3 года назад +1

    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 года назад +5

      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 года назад +2

      @@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 года назад +4

      Yes, it could also be that!

  • @jlnprssnr
    @jlnprssnr 3 года назад

    What spreadsheet program is that you're using? Doesn't look like Excel or Google

  • @mouvlieswaran3567
    @mouvlieswaran3567 3 года назад +1

    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 года назад +1

      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.

  • @jahraulanday5861
    @jahraulanday5861 3 года назад

    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  3 года назад +1

      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 3 года назад

      @@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. :)

  • @adinarkanantacahyo7928
    @adinarkanantacahyo7928 3 года назад

    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  3 года назад

      What are you measuring and how are you measuring it? This is a very open ended question.

    • @adinarkanantacahyo7928
      @adinarkanantacahyo7928 3 года назад +2

      @@MichaelKlements Sorry its my foult, luckly my multimeter doesnt broke😅. Nice video. Thanks for sharing👍

  • @ThePraveensharan
    @ThePraveensharan 3 года назад +2

    How long would a Nano last if I used it 1 minute a day?

    • @MichaelKlements
      @MichaelKlements  3 года назад +2

      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.

  • @DevasKarpDevas5000
    @DevasKarpDevas5000 Год назад

    Hey! The link to the batteries no longer works.

  • @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 года назад +2

      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 года назад +1

      I was also wondering how just the chip on a breadboard with a crystal would do.

  • @SunSun0712
    @SunSun0712 3 года назад +1

    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 года назад +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.

  • @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.

  • @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.

  • @NunoRVOliveira
    @NunoRVOliveira 3 года назад +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 года назад +1

      Who knows, maybe he has a time machine, and get those batteries from the future

  • @arkern6464
    @arkern6464 2 года назад +2

    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.

  • @gawaynee9739
    @gawaynee9739 Год назад

    Very nice

  • @Mots-mot
    @Mots-mot 3 года назад

    What about esp8266?

  • @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 3 года назад

      @@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

  • @billybbob18
    @billybbob18 3 года назад

    Try an attiny85 @ 1MHZ Great vid BTW.

    • @MichaelKlements
      @MichaelKlements  3 года назад

      Thanks for the suggestion, I’ll try it out

  • @leonhardlammerhirdt2730
    @leonhardlammerhirdt2730 2 года назад

    Would it work if i use 3 in series instead? Its 11,1 v.

  • @sanane7030
    @sanane7030 2 года назад +1

    Cool….

  • @s.sradon9782
    @s.sradon9782 3 года назад +5

    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 2 года назад

      Zero arguments, stop spamming please

    • @lis6502
      @lis6502 2 года назад

      @@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

  • @john543
    @john543 7 месяцев назад +1

    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.

  • @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 года назад +1

      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.

  • @neerajyelpale
    @neerajyelpale 3 года назад +2

    The max a li-ion can have is 3500 mah, u got cheated bro

    • @MichaelKlements
      @MichaelKlements  3 года назад +1

      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

  • @JamilKhan-hk1wl
    @JamilKhan-hk1wl 2 года назад +1

    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 Год назад +1

      @@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.

  • @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.

  • @stadsimkerijhengeloe.o.4300
    @stadsimkerijhengeloe.o.4300 3 года назад +1

    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

  • @elex9rameshwargadekar190
    @elex9rameshwargadekar190 4 года назад

    niceeeeee