Skip to content
  • MySensors
  • 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

Battery: pro mini @ 1mhz vs booster

Scheduled Pinned Locked Moved Development
30 Posts 7 Posters 234 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 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
                    • NeverDieN NeverDie

                      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 Offline
                      K Offline
                      kiesel
                      wrote on last edited by
                      #21

                      @NeverDie

                      Thanks for letting me know about voltage rebound. I'll reprogram my nodes to take a measurement after tx as you said!

                      NeverDieN 1 Reply Last reply
                      0
                      • sundberg84S sundberg84

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

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

                        @sundberg84

                        In the "battery without a booster "-section, what do you mean by risky? I took it to mean that the arduino potentially could reboot or fail. Apologies if that's now what you meant.

                        I think I need to stick with a booster anyway, I am using a light sensor in most of my nodes and it needs 3v.

                        But I'll reprogram the bootloader of one of my arduino. Just out of curiosity :)

                        Do you disable just the bod or do you also switch the frequency to 8mhz?

                        zboblamontZ sundberg84S 2 Replies Last reply
                        0
                        • K kiesel

                          @NeverDie

                          Thanks for letting me know about voltage rebound. I'll reprogram my nodes to take a measurement after tx as you said!

                          NeverDieN Offline
                          NeverDieN Offline
                          NeverDie
                          Hero Member
                          wrote on last edited by
                          #23

                          @kiesel Yes, voltage drops steadily during transmission. I used to do continuous ADC measurements throughout the transmission and then take the lowest one. The lowest one was always the last one, so I think taking one measurement (the second one) immediately afterward should be good enough.

                          1 Reply Last reply
                          0
                          • K kiesel

                            @sundberg84

                            In the "battery without a booster "-section, what do you mean by risky? I took it to mean that the arduino potentially could reboot or fail. Apologies if that's now what you meant.

                            I think I need to stick with a booster anyway, I am using a light sensor in most of my nodes and it needs 3v.

                            But I'll reprogram the bootloader of one of my arduino. Just out of curiosity :)

                            Do you disable just the bod or do you also switch the frequency to 8mhz?

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

                            @kiesel "I think I need to stick with a booster anyway, I am using a light sensor in most of my nodes and it needs 3v." - Don't make the mistake restricting the solution for different voltage requirements to boosting only, they do create noise which can cause problems.
                            eg - If you can switch the higher power only when needed (to reduce energy) and use a level converter to talk to the processor, you can use a separate battery source, or increase the principal supply to 3xAA tapping off 2AA for the processor, etc., if space permits...

                            K 1 Reply Last reply
                            1
                            • zboblamontZ zboblamont

                              @kiesel "I think I need to stick with a booster anyway, I am using a light sensor in most of my nodes and it needs 3v." - Don't make the mistake restricting the solution for different voltage requirements to boosting only, they do create noise which can cause problems.
                              eg - If you can switch the higher power only when needed (to reduce energy) and use a level converter to talk to the processor, you can use a separate battery source, or increase the principal supply to 3xAA tapping off 2AA for the processor, etc., if space permits...

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

                              @zboblamont

                              How do I know whether a booster introduces noise? I think so far I have been lucky with my three nodes because they work as expected. Or I don't know what to look for...

                              zboblamontZ NeverDieN 2 Replies Last reply
                              0
                              • K kiesel

                                @sundberg84

                                In the "battery without a booster "-section, what do you mean by risky? I took it to mean that the arduino potentially could reboot or fail. Apologies if that's now what you meant.

                                I think I need to stick with a booster anyway, I am using a light sensor in most of my nodes and it needs 3v.

                                But I'll reprogram the bootloader of one of my arduino. Just out of curiosity :)

                                Do you disable just the bod or do you also switch the frequency to 8mhz?

                                sundberg84S Offline
                                sundberg84S Offline
                                sundberg84
                                Hardware Contributor
                                wrote on last edited by sundberg84
                                #26

                                @kiesel i mean exactly what @NeverDie mentioned above (https://forum.mysensors.org/topic/10952/battery-pro-mini-1mhz-vs-booster/12?_=1582011000646). When voltage drops below 2.4v the 8mhz processor is "out of specs". I cant promise it works as it should, but just as neverdie I also have alot of nodes out of specs so unless you do crasy stuff and pulling much current it should work.

                                About the noice questions, its very hard to diagnose or find unless you have a oscilloscope. What you might experience is bad reception and alot of :NACK messages.

                                In most cases i reprogram the bootloader and use 8mhz internal or 1mhz interlan.

                                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

                                YveauxY 1 Reply Last reply
                                2
                                • sundberg84S sundberg84

                                  @kiesel i mean exactly what @NeverDie mentioned above (https://forum.mysensors.org/topic/10952/battery-pro-mini-1mhz-vs-booster/12?_=1582011000646). When voltage drops below 2.4v the 8mhz processor is "out of specs". I cant promise it works as it should, but just as neverdie I also have alot of nodes out of specs so unless you do crasy stuff and pulling much current it should work.

                                  About the noice questions, its very hard to diagnose or find unless you have a oscilloscope. What you might experience is bad reception and alot of :NACK messages.

                                  In most cases i reprogram the bootloader and use 8mhz internal or 1mhz interlan.

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

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

                                  i mean exactly what @NeverDie mentioned above

                                  You, dear @sundberg84, can call me Yveaux :joy:

                                  http://yveaux.blogspot.nl

                                  sundberg84S 1 Reply Last reply
                                  0
                                  • YveauxY Yveaux

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

                                    i mean exactly what @NeverDie mentioned above

                                    You, dear @sundberg84, can call me Yveaux :joy:

                                    sundberg84S Offline
                                    sundberg84S Offline
                                    sundberg84
                                    Hardware Contributor
                                    wrote on last edited by
                                    #28

                                    @Yveaux - truly sorry my friend :) All credits go to you!

                                    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

                                    1 Reply Last reply
                                    0
                                    • K kiesel

                                      @zboblamont

                                      How do I know whether a booster introduces noise? I think so far I have been lucky with my three nodes because they work as expected. Or I don't know what to look for...

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

                                      @kiesel Bluntly, you won't until it does not behave as expected....
                                      Example - At one stage I had a second promini on 5v from a booster working the ultrasonic, all ok and signals passed on I2C to the Node via a level converter. When I tried using the ultrasonic direct off the booster, periodic results or nada. I finally figured out the VR on the pro-mini was attenuating the noise, tried various filters but none worked. I ultimately solved the problem using a separate 4xAA stack and a VR, no noise but bulky. But the trick was switching it on only when required, 4 years plus life was eminently possible...

                                      As @sundberg84 commented, without a scope you are on a hope and a prayer as far as noise is concerned, that is why I suggest a secondary cell may be your solution if it does ;)

                                      1 Reply Last reply
                                      1
                                      • K kiesel

                                        @zboblamont

                                        How do I know whether a booster introduces noise? I think so far I have been lucky with my three nodes because they work as expected. Or I don't know what to look for...

                                        NeverDieN Offline
                                        NeverDieN Offline
                                        NeverDie
                                        Hero Member
                                        wrote on last edited by NeverDie
                                        #30

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

                                        @zboblamont

                                        How do I know whether a booster introduces noise? I think so far I have been lucky with my three nodes because they work as expected. Or I don't know what to look for...

                                        If you wanted to play it safe (aka defensive programming), you could use your booster to charge a capacitor that's large enough to provide interim power, turn off the booster prior to doing your radio communications, and then turn the booster on again when you're done with tx/rx. That would effectively remove your booster from the equation as an interference source.

                                        Also, some boosters have a pass-through, so you can use your regular battery voltage for as long as it's high enough, and then when it no longer is, enable your booster, if that's what you want to do. Here's an example of one:
                                        https://www.openhardware.io/view/285/33v-Boost-Converter-with-Pass-Through

                                        For instance, CR2032's can have quite a voltage dip after volunteering some current, so this would be one way to keep wringing a useful voltage out of such a battery after its voltage may have temporarily dropped too low.

                                        Some of the ARM MCU chips include boost converters that can boost from as little as 0.5v....

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


                                        20

                                        Online

                                        11.7k

                                        Users

                                        11.2k

                                        Topics

                                        113.1k

                                        Posts


                                        Copyright 2025 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
                                        • MySensors
                                        • OpenHardware.io
                                        • Categories
                                        • Recent
                                        • Tags
                                        • Popular