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. My Project
  3. My 2AA battery sensor
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

My 2AA battery sensor

Scheduled Pinned Locked Moved My Project
90 Posts 27 Posters 106.6k Views 36 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.
  • M Offline
    M Offline
    MatrixIII
    wrote on last edited by
    #8

    @m26872 said:

    runtime 1-4 weeks

    So this gives a runtime of 1-4 weeks? I am just starting out and wanted to confirm this. There are other posts claiming 6 months but I suspect that is in theory and the reality is 1-4 as you have experienced. Also, are any of your sensors interrupt driven that only wake up on outside feedback such as door switch? - I wonder if that will have more battery life.

    VeraLite UI5
    Arduino UNO as Gateway (ENC28J60 Ethernet)
    Arduino Mini Pro as sensors

    m26872M 1 Reply Last reply
    0
    • M MatrixIII

      @m26872 said:

      runtime 1-4 weeks

      So this gives a runtime of 1-4 weeks? I am just starting out and wanted to confirm this. There are other posts claiming 6 months but I suspect that is in theory and the reality is 1-4 as you have experienced. Also, are any of your sensors interrupt driven that only wake up on outside feedback such as door switch? - I wonder if that will have more battery life.

      m26872M Offline
      m26872M Offline
      m26872
      Hardware Contributor
      wrote on last edited by
      #9

      @MatrixIII No no, that was for how long I have had my system running when I wrote the first post in this thread. The battery time in practice highly depends on how much the node sleeps. Always on and always asleep will give you the extreme. I'd say 6 months is very reasonable. I'll see if I can show some examples....

      1 Reply Last reply
      0
      • m26872M Offline
        m26872M Offline
        m26872
        Hardware Contributor
        wrote on last edited by m26872
        #10

        Ok here are some of my logged battery levels. Note that some nodes had been running before logging was turned on and that I also like to drain already used batteries. I'll leave to the reader to extrapolate the trends and estimate life time, but I suspect that the last 20% shouldn't be taken into account. First exampel shows briefly why;

        First one odd but illustrating example where I used two rechargeable 700mAh AAAs with one DS18B20, varying (very) temp and only 30s sleep. Any nodes transmission activity will temporary produce a lower voltage reading and make the curve look noisy. This band grows thick near the end of life and these low spikes are the ones to keep an eye on. Apart from that we see the typical "tilted S"-shaped battery discharge curve.
        Nod2.png

        1 Reply Last reply
        0
        • m26872M Offline
          m26872M Offline
          m26872
          Hardware Contributor
          wrote on last edited by m26872
          #11

          Next one is a rather nervous DHT22 with 30s sleep and supplied by two (initially fresh) normal alkaline AAs.
          Nod16.png

          1 Reply Last reply
          0
          • m26872M Offline
            m26872M Offline
            m26872
            Hardware Contributor
            wrote on last edited by
            #12

            This one has two DS18B20s, 30s sleep. The sensors are attached to a central heating pipe. The heating system was turned on 1 Nov which is visible as new more battery consuming trend.
            Nod101.png

            1 Reply Last reply
            1
            • m26872M Offline
              m26872M Offline
              m26872
              Hardware Contributor
              wrote on last edited by m26872
              #13

              Here is the interrupt-driven (front) door switch sensor as requested. Unfortunately not with fresh AAs. Since it's almost always sleeping I think the power draw is surprisingly high. Explanation is of course the 1mA to the china step-up.
              Node110.png

              1 Reply Last reply
              1
              • m26872M Offline
                m26872M Offline
                m26872
                Hardware Contributor
                wrote on last edited by
                #14

                Finally are there two nodes started up at the same time, equally equipped with one BMP180 and one DHT22 each. Sleep time are more normal 15+5min. (15+5 because I now have learned to filter the DHT-readings and I do this here by measure a value 5 min before the real processing for avaraging purpose and to reduce risk of invalid readings.)
                I'm confident this will survive 6 months since the decrease rate is 5% per month and it's still in the beginning of the "tilted S". The upper curve is with fresh batteries, the lower with used.
                Nod105106.png

                1 Reply Last reply
                1
                • hekH Online
                  hekH Online
                  hek
                  Admin
                  wrote on last edited by
                  #15

                  Great job with the graphs! Really interesting.

                  1 Reply Last reply
                  0
                  • AnticimexA Offline
                    AnticimexA Offline
                    Anticimex
                    Contest Winner
                    wrote on last edited by
                    #16

                    Very good analysis. I have just bought two lipo cells and a charger and a bunch of 9V battery cables. Sometime next year I hope to get the time to evaluate their use for power source to the sensors. Then I will also test my slightly more conservative battery level circuit described here.

                    Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                    1 Reply Last reply
                    0
                    • m26872M Offline
                      m26872M Offline
                      m26872
                      Hardware Contributor
                      wrote on last edited by
                      #17

                      Thanks.

                      I thought someone would ask why I expect a 3000mAh battery to supply 1mA for 6 months ?

                      RJ_MakeR Z 2 Replies Last reply
                      0
                      • m26872M m26872

                        Thanks.

                        I thought someone would ask why I expect a 3000mAh battery to supply 1mA for 6 months ?

                        RJ_MakeR Offline
                        RJ_MakeR Offline
                        RJ_Make
                        Hero Member
                        wrote on last edited by RJ_Make
                        #18

                        @m26872 said:

                        Thanks.

                        I thought someone would ask why I expect a 3000mAh battery to supply 1mA for 6 months ?

                        Nice Work!! Oh and with the mods you have in place, I don't think you should have much problem getting to 6 months.. :-)

                        RJ_Make

                        1 Reply Last reply
                        0
                        • m26872M m26872

                          Thanks.

                          I thought someone would ask why I expect a 3000mAh battery to supply 1mA for 6 months ?

                          Z Offline
                          Z Offline
                          Zeph
                          Hero Member
                          wrote on last edited by
                          #19

                          @m26872 said:

                          I thought someone would ask why I expect a 3000mAh battery to supply 1mA for 6 months ?

                          Ok, I'll be the straight man here: why do you expect a 3000mAh battery to supply 1mA for around 4400 hours?

                          m26872M 1 Reply Last reply
                          0
                          • Z Zeph

                            @m26872 said:

                            I thought someone would ask why I expect a 3000mAh battery to supply 1mA for 6 months ?

                            Ok, I'll be the straight man here: why do you expect a 3000mAh battery to supply 1mA for around 4400 hours?

                            m26872M Offline
                            m26872M Offline
                            m26872
                            Hardware Contributor
                            wrote on last edited by
                            #20

                            @Zeph Thank you.
                            Because it's 90% mAac (from dc source) and I think the china step-up isn't really that crappy after all. Energizing-deenergizing a a coil with no load will look like this without any real power produced. Of course there are loss power and wear on battery etc, but not compareable to 1mAdc. Deeper investigation to this should be the subject of a new thread.

                            1 Reply Last reply
                            0
                            • RJ_MakeR Offline
                              RJ_MakeR Offline
                              RJ_Make
                              Hero Member
                              wrote on last edited by
                              #21

                              I'm getting about 3-4 months from my less active sensors, and the only hardware mod I'm using is the Arduino LED removal. So I can image removing the regulator and step LED would save a fair amount of energy.

                              I really need to get around to removing those....

                              RJ_Make

                              1 Reply Last reply
                              0
                              • EasyIoTE Offline
                                EasyIoTE Offline
                                EasyIoT
                                wrote on last edited by EasyIoT
                                #22

                                This are my results, with low power arduino powerd on 2 AA alkaline batteries.

                                Door/window sensor (front door - opens frequently). On ocrober 4 battery status 64%, december 18 62% (still at 62%). 100% spike is when I reprogram my sensor. In 75 days battery drops for 2 % -> 100% in more than 10 years.
                                Code is available on GitHub.

                                EasyIoT server battery status
                                18-12-2014 22-14-47.png

                                Temperature and humidity sensor with DHT22 and step up regulator. Arduino and NFR24L is powered directly on 2 AA batteries, DHT22 is powered on step up regulator but only when measure is taken. Battery drops for 14% in 75 days. Actually this design is not so good. I'm testing new design without step up regulator and better temperature/humidity sensor. 2AA alkaline batteries could last 10 years.
                                18-12-2014 22-25-57.png

                                This is my water leak sensor. I'm using 2 wasted AA batteries for testing, and voltage actually rise. Current consumption is about 6uA (self discharge is about 10 times bigger) practically all the time.
                                upload-2b52408a-f0bd-43b0-a997-047e6dfa1995

                                --
                                EasyIoT framework http://iot-playground.com

                                m26872M 1 Reply Last reply
                                0
                                • EasyIoTE EasyIoT

                                  This are my results, with low power arduino powerd on 2 AA alkaline batteries.

                                  Door/window sensor (front door - opens frequently). On ocrober 4 battery status 64%, december 18 62% (still at 62%). 100% spike is when I reprogram my sensor. In 75 days battery drops for 2 % -> 100% in more than 10 years.
                                  Code is available on GitHub.

                                  EasyIoT server battery status
                                  18-12-2014 22-14-47.png

                                  Temperature and humidity sensor with DHT22 and step up regulator. Arduino and NFR24L is powered directly on 2 AA batteries, DHT22 is powered on step up regulator but only when measure is taken. Battery drops for 14% in 75 days. Actually this design is not so good. I'm testing new design without step up regulator and better temperature/humidity sensor. 2AA alkaline batteries could last 10 years.
                                  18-12-2014 22-25-57.png

                                  This is my water leak sensor. I'm using 2 wasted AA batteries for testing, and voltage actually rise. Current consumption is about 6uA (self discharge is about 10 times bigger) practically all the time.
                                  upload-2b52408a-f0bd-43b0-a997-047e6dfa1995

                                  m26872M Offline
                                  m26872M Offline
                                  m26872
                                  Hardware Contributor
                                  wrote on last edited by
                                  #23

                                  @dopustko Looks nice. Can you please share a more detailed description of your hardware?
                                  Edit: I searched and saw that you're running at 1MHz and soon with HTU21T. Very elegant!

                                  EasyIoTE 1 Reply Last reply
                                  0
                                  • m26872M m26872

                                    @dopustko Looks nice. Can you please share a more detailed description of your hardware?
                                    Edit: I searched and saw that you're running at 1MHz and soon with HTU21T. Very elegant!

                                    EasyIoTE Offline
                                    EasyIoTE Offline
                                    EasyIoT
                                    wrote on last edited by EasyIoT
                                    #24

                                    @m26872 here is my complete description for MySensors door/window sensor. For other sensors I will add descriptions in the future...

                                    --
                                    EasyIoT framework http://iot-playground.com

                                    m26872M funky81F 2 Replies Last reply
                                    1
                                    • EasyIoTE EasyIoT

                                      @m26872 here is my complete description for MySensors door/window sensor. For other sensors I will add descriptions in the future...

                                      m26872M Offline
                                      m26872M Offline
                                      m26872
                                      Hardware Contributor
                                      wrote on last edited by m26872
                                      #25

                                      @dopustko Great! I love your low-power guide. Wow! That should be mandatory for all sensors that work below 3.3V like e.g. a door switch. And you're able to use the internal battery monitoring method and all.
                                      Also, when I looked at your diagram I realized that I probably did a mistake with my door switch connection to arduino and have a substantial current draw through the switch. If true it means that the step-up is innocent.

                                      EasyIoTE 1 Reply Last reply
                                      0
                                      • m26872M m26872

                                        @dopustko Great! I love your low-power guide. Wow! That should be mandatory for all sensors that work below 3.3V like e.g. a door switch. And you're able to use the internal battery monitoring method and all.
                                        Also, when I looked at your diagram I realized that I probably did a mistake with my door switch connection to arduino and have a substantial current draw through the switch. If true it means that the step-up is innocent.

                                        EasyIoTE Offline
                                        EasyIoTE Offline
                                        EasyIoT
                                        wrote on last edited by
                                        #26

                                        @m26872 In fact most of sensors can work on 2 AA batteries without step up regulator if sensor is selected carefully. That also minimize number of components and battery consumption.
                                        I'm using 1M pull up resistor instead of internal resistor (50-60K) - this lower power consumption. 1M is quite big but wires are short, so it's working ok.

                                        --
                                        EasyIoT framework http://iot-playground.com

                                        1 Reply Last reply
                                        0
                                        • EasyIoTE EasyIoT

                                          @m26872 here is my complete description for MySensors door/window sensor. For other sensors I will add descriptions in the future...

                                          funky81F Offline
                                          funky81F Offline
                                          funky81
                                          wrote on last edited by
                                          #27

                                          Hi @dopustko , i've checked your cool website. can I ask few question regarding your setup?
                                          I saw this page, in order to get low power consumption, you did burn fuse and disable brown-out? Possible to use it without usbtinyisp?

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


                                          13

                                          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