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. Troubleshooting
  3. [SOLVED] High battery usage (Pro-Mini / RFM69 / Si7021)
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

[SOLVED] High battery usage (Pro-Mini / RFM69 / Si7021)

Scheduled Pinned Locked Moved Troubleshooting
pro minirfm69si7021battery poweredbattery
16 Posts 6 Posters 145 Views 6 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.
  • YveauxY Yveaux

    @Oumuamua what batteries are you using to power the node?

    OumuamuaO Offline
    OumuamuaO Offline
    Oumuamua
    wrote on last edited by
    #3

    @Yveaux

    Duracell PlusPower (alkaline).

    An update: I was able to measure the currency using the powersource below (which is actually very helpful for testing) and it seem to be using 20 mA for 1s between sleeps and less than 1mA as currency is show zero (probably the 120uA estimated by MySensors).

    So consumption seem to be as expected.

    If I make all calculations with the above values, I should have around 6 months battery life.

    I will try to get new batteries, as those are probably +1 year old.

    any further thought is welcome.

    Thanks

    alt text

    YveauxY 1 Reply Last reply
    0
    • OumuamuaO Offline
      OumuamuaO Offline
      Oumuamua
      wrote on last edited by
      #4

      ******* IMPORTANTE UPDATE **********

      Actually there is also a step-up converter, bought through the MySensors site (DC-DC Step Up Boost Module 3v3).

      What's the impact of the step-up converter on power consumption while the circuit is in sleeping mode?

      Thanks,

      E 1 Reply Last reply
      0
      • OumuamuaO Oumuamua

        @Yveaux

        Duracell PlusPower (alkaline).

        An update: I was able to measure the currency using the powersource below (which is actually very helpful for testing) and it seem to be using 20 mA for 1s between sleeps and less than 1mA as currency is show zero (probably the 120uA estimated by MySensors).

        So consumption seem to be as expected.

        If I make all calculations with the above values, I should have around 6 months battery life.

        I will try to get new batteries, as those are probably +1 year old.

        any further thought is welcome.

        Thanks

        alt text

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

        @Oumuamua said in High battery usage (Pro-Mini / RFM69 / Si7021):

        Duracell PlusPower (alkaline).

        Well I actually meant what type of batteries, but I suppose you're using 2xAA, correct?

        The sketch indicates you started off from the sketch presented in https://www.mysensors.org/build/humidity_si7021
        Please follow the exact build instructions in this article (except for the radio connection ofcourse).
        You also don't need resistors to measure the battery level then, and a boost converter also isn't required with 2xAA.
        I personally have no experience with battery powered RFM6x sensors, but for Nrf24 the calculations come pretty close to reality so far; i have a pir sensor that has been running for 4.5 years on a single set of varta batteries and is still at 63%!
        Furthermore i wouldn't trust that current measurement. These usb sticks are ok to get a ballpark number, but they're likely milliamps off (at best). Invest in a good quality multimeter or eg a uCurrent.
        And last, the individual modules (arduino, si7021,...) can all have a higher than usual current consumption for whatever reason. If the consumption of the whole node is too high, you need to measure individual modules in isolation. But again, you need a decent current meter for that...

        http://yveaux.blogspot.nl

        1 Reply Last reply
        1
        • OumuamuaO Oumuamua

          ******* IMPORTANTE UPDATE **********

          Actually there is also a step-up converter, bought through the MySensors site (DC-DC Step Up Boost Module 3v3).

          What's the impact of the step-up converter on power consumption while the circuit is in sleeping mode?

          Thanks,

          E Offline
          E Offline
          eiten
          wrote on last edited by
          #6

          @Oumuamua said in High battery usage (Pro-Mini / RFM69 / Si7021):

          What's the impact of the step-up converter on power consumption while the circuit is in sleeping mode?

          According to the datasheet 18-30μA

          1 Reply Last reply
          0
          • skywatchS Offline
            skywatchS Offline
            skywatch
            wrote on last edited by
            #7

            Your sleep interval is set for 1 minute but the comment says 10 minutes.

            If you want 10 minutes between sends then you have to change the sleep_interval from 60000 to 600000. (note the extra '0').

            1 Reply Last reply
            2
            • OumuamuaO Offline
              OumuamuaO Offline
              Oumuamua
              wrote on last edited by
              #8

              Hi,

              Thanks for all replies.

              @skywatch : thanks! I was running a test with a 1 min loop but didn't change the description.

              @Yveaux : have you been able to run up to 63% without the booster? my sensor stops working when the battery is at 2.8v (2x AA)

              @eiten : this might be the latest issue I'm having. Even with my limited current measurement, the step-up is actually using a crazy 11mA (not uA) when idle. Same current as when not connected with the board.

              Will investigate further and post back.

              Thanks all,

              YveauxY E 2 Replies Last reply
              0
              • OumuamuaO Offline
                OumuamuaO Offline
                Oumuamua
                wrote on last edited by
                #9

                Guys, quick update:

                Seems the step-up had a problem. Changed to a new one does not use that much current.

                E 1 Reply Last reply
                0
                • OumuamuaO Oumuamua

                  Hi,

                  Thanks for all replies.

                  @skywatch : thanks! I was running a test with a 1 min loop but didn't change the description.

                  @Yveaux : have you been able to run up to 63% without the booster? my sensor stops working when the battery is at 2.8v (2x AA)

                  @eiten : this might be the latest issue I'm having. Even with my limited current measurement, the step-up is actually using a crazy 11mA (not uA) when idle. Same current as when not connected with the board.

                  Will investigate further and post back.

                  Thanks all,

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

                  @Oumuamua said in High battery usage (Pro-Mini / RFM69 / Si7021):

                  have you been able to run up to 63% without the booster

                  Yes, just 2xAA, directly powering pro mini 8mhz & nrf24
                  What brown out level is set in the the atmega fuses? Mine are set to 1.8v (and yes, I realize I'm overclocking the atmega when batteries are low...)

                  http://yveaux.blogspot.nl

                  1 Reply Last reply
                  0
                  • OumuamuaO Oumuamua

                    Hi,

                    Thanks for all replies.

                    @skywatch : thanks! I was running a test with a 1 min loop but didn't change the description.

                    @Yveaux : have you been able to run up to 63% without the booster? my sensor stops working when the battery is at 2.8v (2x AA)

                    @eiten : this might be the latest issue I'm having. Even with my limited current measurement, the step-up is actually using a crazy 11mA (not uA) when idle. Same current as when not connected with the board.

                    Will investigate further and post back.

                    Thanks all,

                    E Offline
                    E Offline
                    eiten
                    wrote on last edited by
                    #11

                    @Oumuamua said in High battery usage (Pro-Mini / RFM69 / Si7021):

                    the step-up is actually using a crazy 11mA (not uA) when idle. Same current as when not connected with the board.

                    That is not normal! Do you have a second step up? It seems to be... not normal :face_with_rolling_eyes:

                    1 Reply Last reply
                    0
                    • OumuamuaO Oumuamua

                      Guys, quick update:

                      Seems the step-up had a problem. Changed to a new one does not use that much current.

                      E Offline
                      E Offline
                      eiten
                      wrote on last edited by
                      #12

                      @Oumuamua said in High battery usage (Pro-Mini / RFM69 / Si7021):

                      Seems the step-up had a problem. Changed to a new one does not use that much current.

                      Oh... Sorry. I should read all the new messages befor posting again....

                      1 Reply Last reply
                      0
                      • OumuamuaO Offline
                        OumuamuaO Offline
                        Oumuamua
                        wrote on last edited by
                        #13

                        Hi all,

                        Thanks for all the help.

                        After some testing and letting the node run for some days, it seems that the issue is partially solved: battery consumption is very low when the node is idle.

                        However, the battery consumption seems to reach full runtime levels when something happens with the gateway. My follow-up question is:

                        What exactly happens happens when the node sends a message to a gateways that is either unreachable or cannot pass the message on (to a MQTT server, for example)? Shouldn't the node try a couple of times and then move on to sleep as per the code?

                        I have been working on my home network and had to disconnect / reboot the router, gateway, etc.

                        Every time it happens, two situations occurred:

                        • gateway didn't report updates to the MQTT server (probably an issue with the gateway as the sensors are meters away and have -25 to -40 RSSI levels, I reseted the gateway in those few circumstances)

                        • message reaches the gateway and MQTT server, but the controller didn't record it (Openhab), in which case I rebooted the controller

                        Many thanks again,

                        1 Reply Last reply
                        0
                        • OumuamuaO Offline
                          OumuamuaO Offline
                          Oumuamua
                          wrote on last edited by
                          #14

                          Guys,

                          Just quick update to help others that may find this topic relevant: problem is solved. Problem was the step-up (probably low quality). Sensor is working well and with very low battery usage (no change in 5 days).

                          Thanks for the comments.

                          mfalkviddM 1 Reply Last reply
                          1
                          • OumuamuaO Oumuamua

                            Guys,

                            Just quick update to help others that may find this topic relevant: problem is solved. Problem was the step-up (probably low quality). Sensor is working well and with very low battery usage (no change in 5 days).

                            Thanks for the comments.

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

                            nice work @Oumuamua, thanks for reporting back.

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

                              The product listing for the step-up that the OP is using says:

                              Sucks the juice out of your batteries.

                              Sounds like it delivers on what it promises.... :rolling_on_the_floor_laughing:

                              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