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. Troubleshooting
  3. How to get longest battery life

How to get longest battery life

Scheduled Pinned Locked Moved Troubleshooting
44 Posts 8 Posters 13.3k Views 9 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.
  • dbemowskD Offline
    dbemowskD Offline
    dbemowsk
    wrote on last edited by
    #26

    So I thought since the PIRs that I have say for the chip that the voltage minimum is 3 volts. If I am going to make sensors that run on 2 AA batteries, once the voltage drops a bit the PIR will be useless, thus decreasing the usable battery life for that sensor even though the pro mini and the radio will run at a significantly lower voltage. What about using something like this to step up the voltage just for the PIR, but leaving the radio and arduino directly connected to the battery? This one will work down to 0.8 volts.
    Step up booster 1
    Or this one which works down to 1.8 volts which is about what the drop off point of the radio and pro mini is. Step up booster 2
    I figure the current draw from the PIR would be low enough at 65ma tripped, and a quiscent current of 50ua for the second step up module (can't find quiscent current for the first one) that it shouldn't be too much of a drain on the battery, correct?

    Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
    Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

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

      Heizelman says (above) that the sensor works on voltages down to 2.4v. So, use two 1.5v lithium batteries. They have a flatter discharge curve than alkaline batteries.

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

        @dbemowsk you don't want to use a step up/step down to run a pir, these generate a lot of noise and can be trouble for radio transmission. With a PIR which is much more sensible it is not a viable option. The only thing you can use to change voltage is a voltage regulator which is less efficient when you have a big voltage drop, but will reduce noise instead of increasing it.
        But the best option is I think as NeverDie says, use 2AA with lithium technology, the voltage will stay high enough to run the PIR for most of the capacity of the batteries.

        I just made a test with 2 nimh AAA and the SR501 runs reliably at 2.7V after removing diode and regulator, but my measurements are higher:

        • 36µA in idle mode
        • 190µA when triggered.

        I did a test with another one, from another supplier (it had different diode an regulator).

        • 51µA in idle mode
        • 130µA when triggered.

        Too high for battery power imho :(

        H 1 Reply Last reply
        0
        • NeverDieN NeverDie

          Heizelman says (above) that the sensor works on voltages down to 2.4v. So, use two 1.5v lithium batteries. They have a flatter discharge curve than alkaline batteries.

          dbemowskD Offline
          dbemowskD Offline
          dbemowsk
          wrote on last edited by
          #29

          @NeverDie Being that the specs say 3v at the low end, makes me wonder how reliable it is down at 2.4v. That is 0.6v lower than it's rating.

          Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
          Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

          1 Reply Last reply
          0
          • Nca78N Nca78

            @dbemowsk you don't want to use a step up/step down to run a pir, these generate a lot of noise and can be trouble for radio transmission. With a PIR which is much more sensible it is not a viable option. The only thing you can use to change voltage is a voltage regulator which is less efficient when you have a big voltage drop, but will reduce noise instead of increasing it.
            But the best option is I think as NeverDie says, use 2AA with lithium technology, the voltage will stay high enough to run the PIR for most of the capacity of the batteries.

            I just made a test with 2 nimh AAA and the SR501 runs reliably at 2.7V after removing diode and regulator, but my measurements are higher:

            • 36µA in idle mode
            • 190µA when triggered.

            I did a test with another one, from another supplier (it had different diode an regulator).

            • 51µA in idle mode
            • 130µA when triggered.

            Too high for battery power imho :(

            H Offline
            H Offline
            Heizelmann
            wrote on last edited by Heizelmann
            #30

            @Nca78
            Take a battery lifetimecalculator, e.g. like this
            and you will see that battery life time is sufficient. In my opinion more than 1 year is enough.

            Nca78N 1 Reply Last reply
            0
            • scalzS Offline
              scalzS Offline
              scalz
              Hardware Contributor
              wrote on last edited by scalz
              #31

              the more lifetime, the less maintenance :)

              @NeverDie
              That's the beauty of mosfets, and Pmosfets :)
              i have not really a favorite for this, actually i use what i have at hand. That can be Vishay's (i've multiple ref like si2323 for instance), or cheap ali CJ2305 also work ok etc.

              1 Reply Last reply
              0
              • H Heizelmann

                @Nca78
                Take a battery lifetimecalculator, e.g. like this
                and you will see that battery life time is sufficient. In my opinion more than 1 year is enough.

                Nca78N Offline
                Nca78N Offline
                Nca78
                Hardware Contributor
                wrote on last edited by Nca78
                #32

                @Heizelmann said:

                @Nca78
                Take a battery lifetimecalculator, e.g. like this
                and you will see that battery life time is sufficient. In my opinion more than 1 year is enough.

                I like to use CR2032 batteries :P
                And when you use the calculator, you have to adapt the really available capacity to stay over a minimum voltage that will keep the sensor running reliably. If sensors can go down to 2.5 - 2.4V and still run reliably with enough range and sensibility, then with some agressive power management yes you can probably survive about one year with 2AAA.

                @NeverDie said:

                If it could be done cheaply enough, maybe this would be a good use-case for energy harvesting. If the energy harvesting were expensive, though, then it would be cheaper to just use a more energy efficient PIR. So far I've been quite surprised at just how expensive the best energy harvesting chips seem to be.

                I will give it a try "the cheap way" :)
                5.5V solar panel, small lipo taken from a 2$ mp3 player and CN3063 to manage the charge.
                I will need good lighting to be able to charge but I can put the panel in the corner of a window and wires to the sensor at the corner of the window/ceiling which is a good position for a PIR.

                korttomaK 1 Reply Last reply
                0
                • Nca78N Nca78

                  @Heizelmann said:

                  @Nca78
                  Take a battery lifetimecalculator, e.g. like this
                  and you will see that battery life time is sufficient. In my opinion more than 1 year is enough.

                  I like to use CR2032 batteries :P
                  And when you use the calculator, you have to adapt the really available capacity to stay over a minimum voltage that will keep the sensor running reliably. If sensors can go down to 2.5 - 2.4V and still run reliably with enough range and sensibility, then with some agressive power management yes you can probably survive about one year with 2AAA.

                  @NeverDie said:

                  If it could be done cheaply enough, maybe this would be a good use-case for energy harvesting. If the energy harvesting were expensive, though, then it would be cheaper to just use a more energy efficient PIR. So far I've been quite surprised at just how expensive the best energy harvesting chips seem to be.

                  I will give it a try "the cheap way" :)
                  5.5V solar panel, small lipo taken from a 2$ mp3 player and CN3063 to manage the charge.
                  I will need good lighting to be able to charge but I can put the panel in the corner of a window and wires to the sensor at the corner of the window/ceiling which is a good position for a PIR.

                  korttomaK Offline
                  korttomaK Offline
                  korttoma
                  Hero Member
                  wrote on last edited by
                  #33

                  @Nca78 said:

                  I will give it a try "the cheap way" :)
                  5.5V solar panel, small lipo taken from a 2$ mp3 player and CN3063 to manage the charge.

                  just make sure you share your results ;)

                  • Tomas
                  Nca78N 1 Reply Last reply
                  0
                  • korttomaK korttoma

                    @Nca78 said:

                    I will give it a try "the cheap way" :)
                    5.5V solar panel, small lipo taken from a 2$ mp3 player and CN3063 to manage the charge.

                    just make sure you share your results ;)

                    Nca78N Offline
                    Nca78N Offline
                    Nca78
                    Hardware Contributor
                    wrote on last edited by Nca78
                    #34

                    @korttoma said:

                    just make sure you share your results ;)

                    I will of course, but at the moment it's a bit early I just prepared 2 PIRs, 2 panels and soldered CN3063 and MCP73831 on adapter boards. I will compare the two, CN3063 is supposed to be better at this task but you never know...0_1481285235823_IMAG1109_1.jpg

                    1 Reply Last reply
                    1
                    • dbemowskD Offline
                      dbemowskD Offline
                      dbemowsk
                      wrote on last edited by
                      #35

                      What about using 2 of these in parallel? That would give 5200 mAh at 3.7v
                      Lithium ion rechargeable

                      Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                      Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

                      Nca78N NeverDieN 2 Replies Last reply
                      0
                      • dbemowskD dbemowsk

                        What about using 2 of these in parallel? That would give 5200 mAh at 3.7v
                        Lithium ion rechargeable

                        Nca78N Offline
                        Nca78N Offline
                        Nca78
                        Hardware Contributor
                        wrote on last edited by Nca78
                        #36

                        @dbemowsk I would put only one. Capacity is already very good and you won't gain battery life by using 2 cells as they self-discharge in around one year...
                        And if you buy those, just throw away the charger. It's made with very low quality charging ICs that might destroy the batteries...

                        1 Reply Last reply
                        0
                        • dbemowskD dbemowsk

                          What about using 2 of these in parallel? That would give 5200 mAh at 3.7v
                          Lithium ion rechargeable

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

                          @dbemowsk said:

                          What about using 2 of these in parallel? That would give 5200 mAh at 3.7v
                          Lithium ion rechargeable

                          It seems to defeat the purpose of buying a $1 PIR if it takes $16 to make it work in your use case. For instance, the last time I checked, you could buy a really nice, small, highly integrated Panasonic PIR with about 1ua standby current for around $19.

                          Of course, it hardly matters either way if you're making just one. But if you want to make a lot of them (and I don't know that you do), maybe it becomes a consideration.

                          dbemowskD 1 Reply Last reply
                          1
                          • dbemowskD dbemowsk

                            So I thought since the PIRs that I have say for the chip that the voltage minimum is 3 volts. If I am going to make sensors that run on 2 AA batteries, once the voltage drops a bit the PIR will be useless, thus decreasing the usable battery life for that sensor even though the pro mini and the radio will run at a significantly lower voltage. What about using something like this to step up the voltage just for the PIR, but leaving the radio and arduino directly connected to the battery? This one will work down to 0.8 volts.
                            Step up booster 1
                            Or this one which works down to 1.8 volts which is about what the drop off point of the radio and pro mini is. Step up booster 2
                            I figure the current draw from the PIR would be low enough at 65ma tripped, and a quiscent current of 50ua for the second step up module (can't find quiscent current for the first one) that it shouldn't be too much of a drain on the battery, correct?

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

                            @dbemowsk said:

                            So I thought since the PIRs that I have say for the chip that the voltage minimum is 3 volts. If I am going to make sensors that run on 2 AA batteries, once the voltage drops a bit the PIR will be useless, thus decreasing the usable battery life for that sensor even though the pro mini and the radio will run at a significantly lower voltage. What about using something like this to step up the voltage just for the PIR, but leaving the radio and arduino directly connected to the battery? This one will work down to 0.8 volts.
                            Step up booster 1
                            Or this one which works down to 1.8 volts which is about what the drop off point of the radio and pro mini is. Step up booster 2
                            I figure the current draw from the PIR would be low enough at 65ma tripped, and a quiscent current of 50ua for the second step up module (can't find quiscent current for the first one) that it shouldn't be too much of a drain on the battery, correct?

                            Anyhow, to answer your question, I have a hunch those voltage converters would drain your battery even faster for a number of reasons:

                            1. Inefficiency introduced by the up-converter itself. Purely guessing, but it might be only 30-60% efficient at converting lower voltages and currents.
                            2. It takes a lot more low voltage current to produce a higher voltage current. Ultimately, your battery is limited by the amount of mah in it, and so those higher currents will drain it faster.
                            3. The quiescent current you already mentioned.

                            #3 could be managed by using a storage capacitor and running the up-converter only intermittently, as needed, to recharge the capacitor. For instance, you could use a voltage detector to decide when to turn it on (for instance, maybe http://www.digikey.com/product-detail/en/rohm-semiconductor/BD49K25G-TL/BD49K25G-TLCT-ND/3693402 , which itself draws less than 1ua of current while monitoring the voltage). However, I don't see an easy way around #1 and #2, except maybe this: run on battery power only (i.e. no boosting) until your batteries are down to around 2.4-2.5v, and only then turn on your booster circuit. That would, in fact, give you at least some extra run-time versus just giving up and replacing the batteries after they became drained down to 2.4-2-5v. You might also want to boost to a lower voltage than 3.3v, as that would mitigate #2.

                            Maybe others here also have suggestions on how you might approach it.

                            1 Reply Last reply
                            0
                            • NeverDieN NeverDie

                              @dbemowsk said:

                              What about using 2 of these in parallel? That would give 5200 mAh at 3.7v
                              Lithium ion rechargeable

                              It seems to defeat the purpose of buying a $1 PIR if it takes $16 to make it work in your use case. For instance, the last time I checked, you could buy a really nice, small, highly integrated Panasonic PIR with about 1ua standby current for around $19.

                              Of course, it hardly matters either way if you're making just one. But if you want to make a lot of them (and I don't know that you do), maybe it becomes a consideration.

                              dbemowskD Offline
                              dbemowskD Offline
                              dbemowsk
                              wrote on last edited by
                              #39

                              @NeverDie I was just using that link as an example. Here is a 10 pack for $9.99 US. That's $1 per battery. And, these boast that they can supply 5800 mAh. Not sure if I believe that, but even if it could source half of that, it should last a while. Also, being rechargeable I wouldn't have to keep buying batteries.

                              Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                              Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

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

                                I'd wadger there's 0.0000% chance of them being 5400mah. The best that I'm aware of are the one's made by panasonic, and those are reputedly 3400mah.

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

                                  @dbemowsk you won't get nearly as the half of that with those cheap cells. I've seen some on Aliexpress boasting 9600mAh and in the end user comments pointed to capacity around 1000mAh...
                                  I can buy some cheap ones in local electronic market here in Vietnam, the cheapest are 1.5$ and only 1200mAh. If you want genuine 3400mAh it's around 8$...
                                  I would buy from Aliexpress with good seller and lot of comments so you can have some feedback on the real capacity of the batteries.

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

                                    Let's put this in perspective: according to Wikipedia ( https://en.wikipedia.org/wiki/D_battery), an Energizer Alkaline D-cell battery has 20,000mah at a 25ma draw, which is obviously far higher than the average current draw of the modified PIR. Also in the D-cell's favor is that it has comparatively low self discharge as well as little risk of spontaneously bursting into flames....

                                    So, you'd definitely get at least 2 years, and probably 3+ years from a pair of D-cells. Maybe a lot more years than that even. Good enough? Those are just some lower bound numbers, but even so, that sounds like a winner to me. :smile: By all means, though, use a sharper pencil and see what you figure it at. Of course, it will be a larger physical package than if you were running from a coin cell, but for the low cost, simplicity of construction, and long battery life, it seems like a worthwhile trade-off to me. :grinning:

                                    Wow. I really didn't expect anything worthwhile to come from this thread, but now I'm glad I stuck with it. :smiley:

                                    dbemowskD 1 Reply Last reply
                                    0
                                    • NeverDieN NeverDie

                                      Let's put this in perspective: according to Wikipedia ( https://en.wikipedia.org/wiki/D_battery), an Energizer Alkaline D-cell battery has 20,000mah at a 25ma draw, which is obviously far higher than the average current draw of the modified PIR. Also in the D-cell's favor is that it has comparatively low self discharge as well as little risk of spontaneously bursting into flames....

                                      So, you'd definitely get at least 2 years, and probably 3+ years from a pair of D-cells. Maybe a lot more years than that even. Good enough? Those are just some lower bound numbers, but even so, that sounds like a winner to me. :smile: By all means, though, use a sharper pencil and see what you figure it at. Of course, it will be a larger physical package than if you were running from a coin cell, but for the low cost, simplicity of construction, and long battery life, it seems like a worthwhile trade-off to me. :grinning:

                                      Wow. I really didn't expect anything worthwhile to come from this thread, but now I'm glad I stuck with it. :smiley:

                                      dbemowskD Offline
                                      dbemowskD Offline
                                      dbemowsk
                                      wrote on last edited by
                                      #43

                                      @NeverDie said:

                                      Wow. I really didn't expect anything worthwhile to come from this thread, but now I'm glad I stuck with it.

                                      I agree, I am really glad I posed the question.

                                      Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
                                      Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

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

                                        Looking at the costco price for D-cell batteries (http://www.costco.com/Duracell-D-Alkaline-Batteries-14-Unit%2C-2%2B-Pack-Pricing.product.100322549.html), two D-cells would cost just over $1 plus tax.

                                        So, rough BOM:
                                        $1 for batteries
                                        $1 for PIR
                                        $1(?) for battery holder
                                        $4 for atmega328p+RFM69HW mote (maybe $2 for an nrf24L01 mote)

                                        Total: around $6 to $8

                                        At that price you could afford lots of them, which would also offer a way to correct for possible false positives.

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


                                        15

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