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. Hardware
  3. Power usage with a Pro Mini as sensor node(Humidity & Temperature!)

Power usage with a Pro Mini as sensor node(Humidity & Temperature!)

Scheduled Pinned Locked Moved Hardware
12 Posts 5 Posters 5.0k Views 1 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.
  • MagiskeM Offline
    MagiskeM Offline
    Magiske
    wrote on last edited by Magiske
    #1

    I know this has been brought up before. But I thought I might as well share my expirence.

    I have made 3 measurements, running the default Humidity sketch on a 16Mhz Pro Mini powered by 3.7v. Sleeping for 60 sec.
    Screenshot 2015-01-07 16.30.39.png

    To quickly sum it up:
    .................................. Sleeping........ Reading sensors(2 sec)
    Normal mode : 2.48 mah......... 11.00 mah
    No Power Reg: 2.07 mah......... 10.87 mah
    No Reg and LED: 0.02 mah..... 8.90 mah

    Notice the green No-LED, Had to teste with another multimeter thats more precise, but still got around 0.02mah.
    So running on a 2500mah 3.7v battery gives me 300days plus. Thats pretty good if you ask me:)

    /M

    1 Reply Last reply
    0
    • tbowmoT Offline
      tbowmoT Offline
      tbowmo
      Admin
      wrote on last edited by
      #2

      @Magiske

      What is the type of sensor, that you use? Have you taken the discharge curve of the battery, vs. minimum voltage for the sensors, into account, when calculating the operation time?

      / Thomas

      1 Reply Last reply
      0
      • MagiskeM Offline
        MagiskeM Offline
        Magiske
        wrote on last edited by
        #3

        No, the 300days is purely a ballpark figure. But let's say 250-350 days with a DHT22, depending on the battery, brand, temperature ect.

        The point was the 0.02mah in sleep mode. So with a good slowdrain battery thats still gives you a very decent runtime.. But of course, this only applies to usage where long sleep time is not an issue. Or even some interrupt controlled applications could keep the power usage very low.

        /M

        1 Reply Last reply
        0
        • N Offline
          N Offline
          NotYetRated
          wrote on last edited by
          #4

          Very interesting, and not bad longevity at all. How much time can be bough by extending the sleep to 5 minutes? 10? I personally do not need temp/humidity sampling all that frequently.

          1 Reply Last reply
          0
          • tbowmoT Offline
            tbowmoT Offline
            tbowmo
            Admin
            wrote on last edited by
            #5

            What I have done in my sketch, is to wke up every 60th seconds, and take a measurement.. If the measurement differs from the last one, I send out the change. Every 30 minutes I force a transmission through.

            I am using a different sensor though (Si7021) which uses ~150uA while active, and arround 0.6uA while sleeping. (according to the datasheet). I also use internal 8Mhz oscilator (I am thinking about switching to 1Mhz when I'm finished debugging, and don't need the serial port anymore).

            Anyways, I have done some (theoretical) calculations on my setup.

            Assumptions: I wake up every minute, and send off an measurement, lets say this take 0.5 seconds, then return to sleep mode again for the next 60 seconds

            current ussage while measuring / transmitting is 15mA, and sleep mode is 0,01mA (Ballpark figures)

            Iavg = (0,515+600.01)/(0,5+60)

            iAvg is then ~0.13mA, if I have a 2500mAh battery, It should survive for 778 days, or a couple of years.

            If I change the sleep period to 5 minutes (300 seconds) I get a lifespan of 2981 days.. However, I think that the self discharge of the batteries will influence this as well..

            Anyway, for my part, I stick with transmitting every minute (if there are changes that in the measuremets)..

            / Thomas

            1 Reply Last reply
            1
            • MagiskeM Offline
              MagiskeM Offline
              Magiske
              wrote on last edited by
              #6

              It's really hard to calculate usage on a battery.

              What Thomas is doing looks about right. But there is a lot of variables. So even some minor differences can tip the calculation. But again as above, 778 vs lets say ~500 days. Both are good for me.

              It's more interesting if we talk 7 days vs 7 months. So in this case I am good with both calculations. As long as I get months even 1/2 years I am good.

              /M

              EasyIoTE 1 Reply Last reply
              0
              • MagiskeM Magiske

                It's really hard to calculate usage on a battery.

                What Thomas is doing looks about right. But there is a lot of variables. So even some minor differences can tip the calculation. But again as above, 778 vs lets say ~500 days. Both are good for me.

                It's more interesting if we talk 7 days vs 7 months. So in this case I am good with both calculations. As long as I get months even 1/2 years I am good.

                /M

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

                @Magiske I've got similar results with striped Arduino pro mini at 1Mhz, HTU21D as sensor and 2 AA alkaline batteries. Sending interval is 5 min. In 46 days battery drops for 2% -> 100% in 2300 days which is 6,3 years.

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

                BulldogLowellB 1 Reply Last reply
                0
                • EasyIoTE EasyIoT

                  @Magiske I've got similar results with striped Arduino pro mini at 1Mhz, HTU21D as sensor and 2 AA alkaline batteries. Sending interval is 5 min. In 46 days battery drops for 2% -> 100% in 2300 days which is 6,3 years.

                  BulldogLowellB Offline
                  BulldogLowellB Offline
                  BulldogLowell
                  Contest Winner
                  wrote on last edited by
                  #8

                  @EasyIoT if you poll every hour, it will outlive Noah. (OK, maybe Shem)

                  1 Reply Last reply
                  1
                  • MagiskeM Offline
                    MagiskeM Offline
                    Magiske
                    wrote on last edited by Magiske
                    #9

                    Even if you can't do a directly 2% -> 100% calculation because of different discharge rate. Thats really good. What capacity is the battery you are using ?
                    Making a few for around the house. Also making one in a watertight case for outside. Only "issue" could be that lipo only are rated for -20(c) so think I will try with some nicd for the outside one.
                    (Living in Denmark, we properly get a MAX of 5 days below -20(c) if at all, so purly luxury problem:)
                    /M

                    EasyIoTE tbowmoT 2 Replies Last reply
                    0
                    • MagiskeM Magiske

                      Even if you can't do a directly 2% -> 100% calculation because of different discharge rate. Thats really good. What capacity is the battery you are using ?
                      Making a few for around the house. Also making one in a watertight case for outside. Only "issue" could be that lipo only are rated for -20(c) so think I will try with some nicd for the outside one.
                      (Living in Denmark, we properly get a MAX of 5 days below -20(c) if at all, so purly luxury problem:)
                      /M

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

                      @Magiske this is approximation. I'm using 2AA alkaline batteries. Full alkaline battery is 1,6Vx2 = 3.2V. When battery is discharged voltage at beginning drops very quickly, between 1.5V and 1V is almost linear (when discharged with low current) and then drops very quickly. At 0.8V per cell battery is practically empty.
                      In my case 3V and more is 100% and 2V is 0%. I've measure those 2% in linear range. So I will get more than calculated value 2300 days.

                      I'm using wasted alkaline batteries from electric toys. Batteries are not branded. Capacity of new AA battery is between 2200 mAh and 2900 mAh. It depends on brand and discharge current. Self discharge rate of alkaline batteries is low.

                      Outside I'm using 50W photocell and Pb accumulator. It works in the winter (min -15C couple of days). This is also power supply for balcony irrigation system.

                      Total winner in low power consumption is my water leak sensor. Power consumption is so low, that after I put wasted battery in sensor from LCD temperature display voltage actually raise after couple of days.
                      Battery status:
                      1.dec 8%,
                      8,jan 18%.
                      8-1-2015 0-24-49.png

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

                      1 Reply Last reply
                      2
                      • MagiskeM Magiske

                        Even if you can't do a directly 2% -> 100% calculation because of different discharge rate. Thats really good. What capacity is the battery you are using ?
                        Making a few for around the house. Also making one in a watertight case for outside. Only "issue" could be that lipo only are rated for -20(c) so think I will try with some nicd for the outside one.
                        (Living in Denmark, we properly get a MAX of 5 days below -20(c) if at all, so purly luxury problem:)
                        /M

                        tbowmoT Offline
                        tbowmoT Offline
                        tbowmo
                        Admin
                        wrote on last edited by
                        #11

                        @Magiske said:

                        Making a few for around the house. Also making one in a watertight case for outside. Only "issue" could be that lipo only are rated for -20(c) so think I will try with some nicd for the outside one.

                        If you are going to make that watertight, wouldn't it make it impossible to measure the humidity in the air outside the box? ;)

                        1 Reply Last reply
                        0
                        • MagiskeM Offline
                          MagiskeM Offline
                          Magiske
                          wrote on last edited by
                          #12

                          :) Most will be of the DS18B20 kind. But still, a good silicone sealant around the sensor should still make it watertight.

                          /M

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


                          18

                          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