Skip to content
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Development
  3. Battery: pro mini @ 1mhz vs booster
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

Battery: pro mini @ 1mhz vs booster

Scheduled Pinned Locked Moved Development
30 Posts 7 Posters 173 Views 7 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kiesel
    wrote on last edited by
    #1

    Hi,

    I am trying to find measurements on what uses less power: an arduino pro mini 3v at 1mhz with disabled bod vs an arduino getting powered by a step up booster.

    Has anybody done any measurements which setup uses less power?

    I see it sometimes pop up that every instruction will take 8 times longer at 1mhz which could negate the power saving in sleep mode, but I have not seen any actual data about which is better.

    So if you anybody has done the comparison please let me know!

    Thanks!

    YveauxY 1 Reply Last reply
    0
    • Nca78N Offline
      Nca78N Offline
      Nca78
      Hardware Contributor
      wrote on last edited by
      #2

      Hello @kiesel, 1MHz will take in theory 8 times more time to process, but it doesn't mean the wake-up time for your node will be 8 times longer because of :

      • the duration it takes to sensor(s) to return values
      • wait time with radio ON (most power hungry situation) while you get ACK after sending message (unless you use a passive node, never receiving anything)

      Also the power consumption is lower at a lower voltage, and lower at a lower frequency. If you boost at 3.3V it will need 3mA at 8MHz, while it's around (and even below) 1mA at 1MHz at 2.7V.

      So it will mostly depend on your duty cycle between sleep and wake-up time, but booster will consume waaaaaaaay more power in sleep mode and usually (except if you wake up really often) it means shorter battery life. Calculate an average processing time for you node when waking up and reporting data, it's power consumption when up, and use a calculator like this one to estimate the battery life
      https://oregonembedded.com/batterycalc.htm

      K 1 Reply Last reply
      1
      • K kiesel

        Hi,

        I am trying to find measurements on what uses less power: an arduino pro mini 3v at 1mhz with disabled bod vs an arduino getting powered by a step up booster.

        Has anybody done any measurements which setup uses less power?

        I see it sometimes pop up that every instruction will take 8 times longer at 1mhz which could negate the power saving in sleep mode, but I have not seen any actual data about which is better.

        So if you anybody has done the comparison please let me know!

        Thanks!

        YveauxY Offline
        YveauxY Offline
        Yveaux
        Mod
        wrote on last edited by Yveaux
        #3

        @kiesel I don't have a complete overview, but I can share some of my knowledge /findings.

        When building nrf24 mySensors nodes, BOD can be set at 1.8v as the radio won't go below anyway.
        If powered directly from alkaline batteries (eg 2x AA) the voltage of the battery will stay above 1.8 volts until batteries are nearly empty. A step up booster thus will only help in draining the last joules in the batteries. However, the inefficiency of the booster will also drain your battery during its complete lifetime.
        It's possible to run a MySensors node at 2xAA batteries with no booster for many years (@8 MHz) , so why bother?

        http://yveaux.blogspot.nl

        K 1 Reply Last reply
        1
        • Nca78N Nca78

          Hello @kiesel, 1MHz will take in theory 8 times more time to process, but it doesn't mean the wake-up time for your node will be 8 times longer because of :

          • the duration it takes to sensor(s) to return values
          • wait time with radio ON (most power hungry situation) while you get ACK after sending message (unless you use a passive node, never receiving anything)

          Also the power consumption is lower at a lower voltage, and lower at a lower frequency. If you boost at 3.3V it will need 3mA at 8MHz, while it's around (and even below) 1mA at 1MHz at 2.7V.

          So it will mostly depend on your duty cycle between sleep and wake-up time, but booster will consume waaaaaaaay more power in sleep mode and usually (except if you wake up really often) it means shorter battery life. Calculate an average processing time for you node when waking up and reporting data, it's power consumption when up, and use a calculator like this one to estimate the battery life
          https://oregonembedded.com/batterycalc.htm

          K Offline
          K Offline
          kiesel
          wrote on last edited by
          #4

          @Nca78

          Thanks, I'll try to figure out how much juice my sensors draw in sleep and will give the page a go :)

          1 Reply Last reply
          0
          • YveauxY Yveaux

            @kiesel I don't have a complete overview, but I can share some of my knowledge /findings.

            When building nrf24 mySensors nodes, BOD can be set at 1.8v as the radio won't go below anyway.
            If powered directly from alkaline batteries (eg 2x AA) the voltage of the battery will stay above 1.8 volts until batteries are nearly empty. A step up booster thus will only help in draining the last joules in the batteries. However, the inefficiency of the booster will also drain your battery during its complete lifetime.
            It's possible to run a MySensors node at 2xAA batteries with no booster for many years (@8 MHz) , so why bother?

            K Offline
            K Offline
            kiesel
            wrote on last edited by
            #5

            @Yveaux

            I am using the easypcbs from here and that's also where I got the idea to run without a booster. There it's says that at 8mhz it can be unstable. Is that not correct?

            I am also using Rechargeables, so I'll have to check what their lowest non empty voltage is.

            Thanks :)

            mfalkviddM YveauxY 2 Replies Last reply
            0
            • K kiesel

              @Yveaux

              I am using the easypcbs from here and that's also where I got the idea to run without a booster. There it's says that at 8mhz it can be unstable. Is that not correct?

              I am also using Rechargeables, so I'll have to check what their lowest non empty voltage is.

              Thanks :)

              mfalkviddM Offline
              mfalkviddM Offline
              mfalkvidd
              Mod
              wrote on last edited by
              #6

              @kiesel unless your sensor draws a lot of power, the self-discharge of your rechargables will be much higher than the power usage so using a booster or not will not matter.

              K 1 Reply Last reply
              2
              • K kiesel

                @Yveaux

                I am using the easypcbs from here and that's also where I got the idea to run without a booster. There it's says that at 8mhz it can be unstable. Is that not correct?

                I am also using Rechargeables, so I'll have to check what their lowest non empty voltage is.

                Thanks :)

                YveauxY Offline
                YveauxY Offline
                Yveaux
                Mod
                wrote on last edited by
                #7

                @kiesel said in Battery: pro mini @ 1mhz vs booster:

                There it's says that at 8mhz it can be unstable. Is that not correct?

                Do you have a reference to this statement?
                In not aware of any instability at 8mhz.

                http://yveaux.blogspot.nl

                K 1 Reply Last reply
                0
                • YveauxY Yveaux

                  @kiesel said in Battery: pro mini @ 1mhz vs booster:

                  There it's says that at 8mhz it can be unstable. Is that not correct?

                  Do you have a reference to this statement?
                  In not aware of any instability at 8mhz.

                  K Offline
                  K Offline
                  kiesel
                  wrote on last edited by
                  #8

                  @Yveaux

                  My bad, I forgot the Link: https://www.openhardware.io/view/389/EasyNewbie-PCB-RFM69-HWW-edition-for-MySensors

                  It's the last paragraph in the "battery without a booster section". "Unstable" is what I got from "risky", so it might have been a bad interpretation on my part.

                  YveauxY 1 Reply Last reply
                  0
                  • mfalkviddM mfalkvidd

                    @kiesel unless your sensor draws a lot of power, the self-discharge of your rechargables will be much higher than the power usage so using a booster or not will not matter.

                    K Offline
                    K Offline
                    kiesel
                    wrote on last edited by
                    #9

                    @mfalkvidd

                    Thanks, that's actually good news as it spares me the work of figuring out what to do ;)

                    One question if you don't mind: I am using the usual battery percentage calculation with the Rechargeables. When full they show 76%, that's OK by me. My question is: will it linearly decrease the emptier the Rechargeables become or should I use a different calculation?

                    mfalkviddM YveauxY 2 Replies Last reply
                    0
                    • K kiesel

                      @mfalkvidd

                      Thanks, that's actually good news as it spares me the work of figuring out what to do ;)

                      One question if you don't mind: I am using the usual battery percentage calculation with the Rechargeables. When full they show 76%, that's OK by me. My question is: will it linearly decrease the emptier the Rechargeables become or should I use a different calculation?

                      mfalkviddM Offline
                      mfalkviddM Offline
                      mfalkvidd
                      Mod
                      wrote on last edited by mfalkvidd
                      #10

                      @kiesel my guess is that linear is a good enough approximation. But if you want to get into details, there are probably whitepapers discussing the particular battery chemistry used by the batteries you have chosen. Or just try to find battery discharge curves for that type of battery.

                      1 Reply Last reply
                      0
                      • zboblamontZ Offline
                        zboblamontZ Offline
                        zboblamont
                        wrote on last edited by
                        #11

                        In addition to the above, as @Yveaux pointed out the processor can be run almost to battery death, so only the voltage requirements for the sensors may limit your options to running at 8MHz.
                        My Nodes were bought as a specific variant with onboard booster, so it is technically possible to build a highly efficient booster, but it's unlikely to come from China's mass market.

                        But this then touches on the point made by @mfalkvidd, rechargeables have very different characteristics to alkalines (Google for info on battery comparisons performed by others). I went through this extensively before starting up, and no regrets on alkalines.

                        As @Nca78 referred it also depends on load and duration.
                        My faster processor executes the radio update on a gas reed trigger then goes back to sleep within ms with no external load, 2 years later the Node batteries read 2v.
                        The tank monitor fires a 3v ultrasonic routine at 8mA every hour and maintains an RTC, but aside hourly routines is in deep sleep the vast majority of the time. 6 months in and Node batteries are at 2.89v, so over a year is guaranteed... However, without it's onboard booster it is likely the ultrasonic would have stopped working.

                        A further option to where a sensor needs a higher voltage is to switch on a secondary supply specifically for that sensor. I didn't have much joy with that using a booster due to noise, but it worked fine with a battery pack and VR.
                        Hope this helps...

                        1 Reply Last reply
                        2
                        • K kiesel

                          @Yveaux

                          My bad, I forgot the Link: https://www.openhardware.io/view/389/EasyNewbie-PCB-RFM69-HWW-edition-for-MySensors

                          It's the last paragraph in the "battery without a booster section". "Unstable" is what I got from "risky", so it might have been a bad interpretation on my part.

                          YveauxY Offline
                          YveauxY Offline
                          Yveaux
                          Mod
                          wrote on last edited by Yveaux
                          #12

                          @kiesel I think that article is referring to the maximum clock frequency at low supply voltage.
                          I looked it up in the ATMega328P datasheet at microchip's site (http://ww1.microchip.com/downloads/en/DeviceDoc/ATmega48A-PA-88A-PA-168A-PA-328-P-DS-DS40002061A.pdf).

                          7e0e5c0e-9966-4c36-8a78-a145094bc25c-image.png

                          So you will be using the ATMega out of spec when running at 8MHz around the BOD Level of 1.8V

                          386e542d-99b2-4d0a-9dbe-c7c3bf5377c7-image.png

                          I estimate the minimum supply level must be around 2.4V for 8MHz, which makes me realize I'm running most of my sensors outside spec :stuck_out_tongue_winking_eye:

                          http://yveaux.blogspot.nl

                          1 Reply Last reply
                          1
                          • K kiesel

                            @mfalkvidd

                            Thanks, that's actually good news as it spares me the work of figuring out what to do ;)

                            One question if you don't mind: I am using the usual battery percentage calculation with the Rechargeables. When full they show 76%, that's OK by me. My question is: will it linearly decrease the emptier the Rechargeables become or should I use a different calculation?

                            YveauxY Offline
                            YveauxY Offline
                            Yveaux
                            Mod
                            wrote on last edited by Yveaux
                            #13

                            @kiesel said in Battery: pro mini @ 1mhz vs booster:

                            My question is: will it linearly decrease the emptier the Rechargeables become or should I use a different calculation?

                            No, it won't. The voltage decrease in a battery discarge curve is far from linear. You are measuring voltage, so percentage calculation is also not linear.
                            You need a coulomb counter to accurately know how much juice is left in the battery.

                            http://yveaux.blogspot.nl

                            K 1 Reply Last reply
                            1
                            • YveauxY Yveaux

                              @kiesel said in Battery: pro mini @ 1mhz vs booster:

                              My question is: will it linearly decrease the emptier the Rechargeables become or should I use a different calculation?

                              No, it won't. The voltage decrease in a battery discarge curve is far from linear. You are measuring voltage, so percentage calculation is also not linear.
                              You need a coulomb counter to accurately know how much juice is left in the battery.

                              K Offline
                              K Offline
                              kiesel
                              wrote on last edited by
                              #14

                              @Yveaux

                              Ah, that's good to know. We'll, as long as I get a warning some time before the node dies.

                              From what I have seen the percentage decreases so it at least doesn't just suddenly drop to 0, that's OK for my use case.

                              Thank you everybody for your help!

                              1 Reply Last reply
                              0
                              • mfalkviddM Offline
                                mfalkviddM Offline
                                mfalkvidd
                                Mod
                                wrote on last edited by
                                #15

                                We've seen reports of continuous reboots, and the radio getting stick in "always on", blocking all other traffic, when nodes run outside of specs. So it is probably a good idea to stay above the ~2.4V limit when running at 8MHz. I such a limit myself in my plant monitoring node sketch.

                                I realized we didn't have any info on battery self-discharge on the battery page, so I added a new section. Feedback is welcome.

                                zboblamontZ 1 Reply Last reply
                                1
                                • NeverDieN Offline
                                  NeverDieN Offline
                                  NeverDie
                                  Hero Member
                                  wrote on last edited by NeverDie
                                  #16

                                  A pair of lithium AA primaries is hard to beat because:

                                  1. Unlike alkaline's, they don't leak.
                                  2. Have a look at the discharge curve: https://data.energizer.com/pdfs/l91.pdf By the time they drop to 2.4v, if not before, you'll want to replace them.
                                  3. Obviously much longer life, both shelf life (20 years!) and energy capacity.

                                  I think running 8Mhz from the internal RC is a no-brainer: wake up time is less than 4us. So, if your node wakes up often, you'll save a ton of energy over time.

                                  The best time to take your battery measurement is immediately after a Tx. That will give you the most conservative reading. Save that measurement in a variable and then send it in your next transmission. Switch on your ADC just before Tx and take your first ADC measurement during Tx, because you have to throw out the first measurement anyway. That way you can take a fresh (and valid) ADC measurement just after Tx before the voltage rebounds.

                                  Hope that helps!

                                  K 1 Reply Last reply
                                  4
                                  • mfalkviddM mfalkvidd

                                    We've seen reports of continuous reboots, and the radio getting stick in "always on", blocking all other traffic, when nodes run outside of specs. So it is probably a good idea to stay above the ~2.4V limit when running at 8MHz. I such a limit myself in my plant monitoring node sketch.

                                    I realized we didn't have any info on battery self-discharge on the battery page, so I added a new section. Feedback is welcome.

                                    zboblamontZ Offline
                                    zboblamontZ Offline
                                    zboblamont
                                    wrote on last edited by
                                    #17

                                    @mfalkvidd May I suggest a new pinned post in Hardware and a link to your new section may make make life easier for those starting, effectively expanding this thread to collate opinions and experiences?
                                    A table with type, shelf life, self-discharge rate, voltage, etc. may be later drawn together with experience from others here with LiFePo etc. and pros/cons found, and with ever changing technology, expandable ?

                                    mfalkviddM 1 Reply Last reply
                                    0
                                    • NeverDieN Offline
                                      NeverDieN Offline
                                      NeverDie
                                      Hero Member
                                      wrote on last edited by NeverDie
                                      #18
                                      This post is deleted!
                                      1 Reply Last reply
                                      0
                                      • zboblamontZ zboblamont

                                        @mfalkvidd May I suggest a new pinned post in Hardware and a link to your new section may make make life easier for those starting, effectively expanding this thread to collate opinions and experiences?
                                        A table with type, shelf life, self-discharge rate, voltage, etc. may be later drawn together with experience from others here with LiFePo etc. and pros/cons found, and with ever changing technology, expandable ?

                                        mfalkviddM Offline
                                        mfalkviddM Offline
                                        mfalkvidd
                                        Mod
                                        wrote on last edited by
                                        #19

                                        @zboblamont my experience is that people quickly learn to ignore the pinned posts. We've had a pinned post in the Troubleshooting section for years, and most people don't read it before posting in that category. This might just be me being grumpy though.

                                        1 Reply Last reply
                                        3
                                        • sundberg84S Offline
                                          sundberg84S Offline
                                          sundberg84
                                          Hardware Contributor
                                          wrote on last edited by
                                          #20

                                          Interesting all this - noticed you mentioned EasyPCB and something written in there, let me know if this can be clearer! Also worth mentioning here is that the booster will affect the radio with noice - my choise would be easy today, run it without booster if I can unless you can prove its way more efficient (longer life) with the booster. Downside with this is that you have to learn how to reprogram fuses and bootloader - but its worth the hassle.

                                          I just recieved a new batch of boosters and its 50/50 if they are good enough to not interfere with the radio. (Yes, its the cheap chinese mini boosters).

                                          Controller: Proxmox VM - Home Assistant
                                          MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                                          MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                                          RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                                          K 1 Reply Last reply
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          14

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular