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. Battery powered sensor drawing too much current

Battery powered sensor drawing too much current

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 6 Posters 2.0k Views 5 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.
  • J Offline
    J Offline
    Jan Greis
    wrote on last edited by
    #1

    I'm trying to build a battery powered temperature and humidity sensor. I used the wiring from https://forum.mysensors.org/topic/486/my-2aa-battery-sensor and started
    with the sketch from https://www.mysensors.org/build/humidity (battery monitoring will be added later). Exact components are:

    • https://www.aliexpress.com/item/10pcs-lot-Pro-Mini-328-Mini-3-3V-8M-ATMEGA328-3-3V-8MHz-for-arduino/1967122432.html?spm=a2g0s.9042311.0.0.M4C5Ug
    • https://www.aliexpress.com/item/10PCS-NEW-NRF24L01-2-4GHz-Antenna-Wireless-Transceiver-Module/32327366606.html?spm=a2g0s.9042311.0.0.dT2xho
    • https://www.aliexpress.com/item/New-Electric-Unit-1-PC-NEW-DC-0-8-3-3V-to-DC-3-3V-StepUP/32724361266.html?spm=a2g0s.9042311.0.0.dT2xho
    • https://www.aliexpress.com/item/DHT22-AM2302-Humidity-temperature-and-humidity-sensor-probe-digital-output-Free-shipping-to-Malaysia/1086124515.html?spm=a2g0s.9042311.0.0.M4C5Ug

    The sensor works fine and reports the measurements to the gateway, but is drawing too much power to feasibly run on battery, around 8mA consistently, i.e. whether in sleep or not. The power LED has been removed. There may have been some short-circuits from sloppy soldering initially, but I'm fairly confident they have all been resolved now. At this point I don't know what else I can do to try to diagnose this, so I would be grateful for any ideas.

    Y 1 Reply Last reply
    0
    • J Jan Greis

      I'm trying to build a battery powered temperature and humidity sensor. I used the wiring from https://forum.mysensors.org/topic/486/my-2aa-battery-sensor and started
      with the sketch from https://www.mysensors.org/build/humidity (battery monitoring will be added later). Exact components are:

      • https://www.aliexpress.com/item/10pcs-lot-Pro-Mini-328-Mini-3-3V-8M-ATMEGA328-3-3V-8MHz-for-arduino/1967122432.html?spm=a2g0s.9042311.0.0.M4C5Ug
      • https://www.aliexpress.com/item/10PCS-NEW-NRF24L01-2-4GHz-Antenna-Wireless-Transceiver-Module/32327366606.html?spm=a2g0s.9042311.0.0.dT2xho
      • https://www.aliexpress.com/item/New-Electric-Unit-1-PC-NEW-DC-0-8-3-3V-to-DC-3-3V-StepUP/32724361266.html?spm=a2g0s.9042311.0.0.dT2xho
      • https://www.aliexpress.com/item/DHT22-AM2302-Humidity-temperature-and-humidity-sensor-probe-digital-output-Free-shipping-to-Malaysia/1086124515.html?spm=a2g0s.9042311.0.0.M4C5Ug

      The sensor works fine and reports the measurements to the gateway, but is drawing too much power to feasibly run on battery, around 8mA consistently, i.e. whether in sleep or not. The power LED has been removed. There may have been some short-circuits from sloppy soldering initially, but I'm fairly confident they have all been resolved now. At this point I don't know what else I can do to try to diagnose this, so I would be grateful for any ideas.

      Y Offline
      Y Offline
      Yveaux
      Mod
      wrote on last edited by
      #2

      @jan-greis Hi there and welcome to the forum!
      The best way to reduce the power consumption of your sensor setup is to get rid of the stepup converter and select a different humidity sensor, like the BME280.
      A setup of ProMini 3.3V, nRF24 and BME280 can be directly powered from 2xAA battery (without stepup) and should be able to run for a few years on a set of batteries.
      To monitor the battery level you could use my Vcc library: https://github.com/Yveaux/Arduino_Vcc

      http://yveaux.blogspot.nl

      1 Reply Last reply
      1
      • J Offline
        J Offline
        Jan Greis
        wrote on last edited by
        #3

        @Yveaux Thanks for the suggestions, will definitely look into this. I suspect though that something is actually going wrong with my setup, since with this power draw, I couldn't possibly reach the longevity that @m26872 got out of their sensors using the same components. Especially the fact that my draw doesn't seem to reduce at all while sleeping seems very strange to me and to me suggests that something other than the hardware specs are to blame.

        M 1 Reply Last reply
        0
        • rozpruwaczR Offline
          rozpruwaczR Offline
          rozpruwacz
          wrote on last edited by
          #4

          I would suggest to connect things one at a time and measure power consumption in between. First start with just a pro mini board powered straight from the battery and nrf module connected. Make a sketch that just go to sleep and upload it. During the sleep You should get couple of uA current consumption.

          1 Reply Last reply
          0
          • gohanG Offline
            gohanG Offline
            gohan
            Mod
            wrote on last edited by
            #5

            Remember to remove the voltage regulator too from the pro mini. If you want to go to a smaller size, you can use a single LiFePO4 battery

            1 Reply Last reply
            0
            • J Jan Greis

              @Yveaux Thanks for the suggestions, will definitely look into this. I suspect though that something is actually going wrong with my setup, since with this power draw, I couldn't possibly reach the longevity that @m26872 got out of their sensors using the same components. Especially the fact that my draw doesn't seem to reduce at all while sleeping seems very strange to me and to me suggests that something other than the hardware specs are to blame.

              M Offline
              M Offline
              m26872
              Hardware Contributor
              wrote on last edited by
              #6

              @jan-greis With all respect to the criticism I don't think original part configuration is that bad. I don't build any new of them but I still use a few as frequent reporting nodes. If you already own the parts and you need a frequent awake node -why not?
              If I recall the sleep mode should be 90-100uA with this setup. Low power nodes have <10uA.
              Troubleshooting method should be the usual. Exchange components, test them one by one, etc. Start with testing the step-up quiscent current, then run test Arduino only in sleep (low power lib not Mysensors-lib), then add DHT, then nRF.

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

                Hello,

                8mA looks like your atmega running constantly and not going to sleep.
                Can you provide a log for your sensor ?

                1 Reply Last reply
                0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                17

                Online

                12.0k

                Users

                11.2k

                Topics

                113.4k

                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