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. OpenHardware.io
  3. 💬 Minimal LiPo powered Arduino Pro Mini + RFM95 MySensors node

💬 Minimal LiPo powered Arduino Pro Mini + RFM95 MySensors node

Scheduled Pinned Locked Moved OpenHardware.io
rfm95pro minibme280mysensors
24 Posts 6 Posters 192 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.
  • E evb

    Hi @olka, on the topic https://forum.mysensors.org/topic/4796/battery-powered-sensors/243 you can read the whole story :-)

    The lowpower sketch is just used for measurement of the deepsleep power consumption to have an equivalent software sketch when comparing the results with the results from the given links like See table "The Simple @ 8Mhz"
    It was done with only the Pro Mini with no regulator and no power led.

    The only difference I see now is the build quality of the Pro Mini itself.
    Do you use also Pro Mini with these low currents in deepsleep?
    If yes, from where did you get them?

    O Offline
    O Offline
    olka
    wrote on last edited by
    #15

    @evb, I really don't know why you get that high consumption of 133uA, but there is defenently someting wrong. Sorry that I cant help.

    I use my own pcb design but it's basically the same as a mini pro without reg and led + RFM69HW. All my 328 chips is sourced from china and working fine.
    I just measured on of my older designs with 8mhz/no BOD and I get about 6.7uA in timed sleep (WDT active), including 1M/470k voltage divider.
    With the same setup without 1M/470k voltage divider and with external interrupt wake-up (sleep forever) I have about 0.8uA.

    This was measured with two different multimeters with uA range. Sure, in this range a multimeter is not as accurate as the uCurrent or similar instruments, but IMO more than good enough for this kind of measurement.

    If you are able to solve your main problem, I have a few other tips for further tweeking:

    • Don't use bootloader with BOD, you don't need it for a sensor that is continous connected to the battery. Saves 20-25uA.
    • If you power from 3V battery, don't use the suggested 1M/470k voltage divider for battery monitoring, you can do battery monitoring with code only (search here on the forum for it). Saves 2uA.
    • You could perhaps gain a tiny bit more by setting all unused pins to LOW OUTPUT or LOW INPUT.

    Some very good info on ATmega 328 power consumption here: https://www.gammon.com.au/forum/?id=11497

    YveauxY E 2 Replies Last reply
    0
    • O olka

      @evb, I really don't know why you get that high consumption of 133uA, but there is defenently someting wrong. Sorry that I cant help.

      I use my own pcb design but it's basically the same as a mini pro without reg and led + RFM69HW. All my 328 chips is sourced from china and working fine.
      I just measured on of my older designs with 8mhz/no BOD and I get about 6.7uA in timed sleep (WDT active), including 1M/470k voltage divider.
      With the same setup without 1M/470k voltage divider and with external interrupt wake-up (sleep forever) I have about 0.8uA.

      This was measured with two different multimeters with uA range. Sure, in this range a multimeter is not as accurate as the uCurrent or similar instruments, but IMO more than good enough for this kind of measurement.

      If you are able to solve your main problem, I have a few other tips for further tweeking:

      • Don't use bootloader with BOD, you don't need it for a sensor that is continous connected to the battery. Saves 20-25uA.
      • If you power from 3V battery, don't use the suggested 1M/470k voltage divider for battery monitoring, you can do battery monitoring with code only (search here on the forum for it). Saves 2uA.
      • You could perhaps gain a tiny bit more by setting all unused pins to LOW OUTPUT or LOW INPUT.

      Some very good info on ATmega 328 power consumption here: https://www.gammon.com.au/forum/?id=11497

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

      @olka said in 💬 Minimal LiPo powered Arduino Pro Mini + RFM95 MySensors node:

      you can do battery monitoring with code only (search here on the forum for it)

      @evb I wrote a small library for it: https://github.com/Yveaux/Arduino_Vcc

      http://yveaux.blogspot.nl

      E 1 Reply Last reply
      0
      • E evb

        Thanks for the dimensions :-)
        That will work in my setup!

        I have read also these links with results much better then my 133µA.
        I have tested my pro mini with the lowpower sketch to get the pro mini in deep sleep and I measure 133µA. My multimeter is already 30 years old and his last calibration was 20 years ago? But the voltage measurements are still correct, so I don't know...
        LowpowerLab has a Current Sense Amplifier device, but for 141 euros it is bit expensive ;-)

        You didn't mention where you did buy your Pro Mini's? I'm thinking about the quality of the used electronics...

        J Offline
        J Offline
        Joost
        wrote on last edited by
        #17
        This post is deleted!
        1 Reply Last reply
        0
        • E evb

          Thanks for the dimensions :-)
          That will work in my setup!

          I have read also these links with results much better then my 133µA.
          I have tested my pro mini with the lowpower sketch to get the pro mini in deep sleep and I measure 133µA. My multimeter is already 30 years old and his last calibration was 20 years ago? But the voltage measurements are still correct, so I don't know...
          LowpowerLab has a Current Sense Amplifier device, but for 141 euros it is bit expensive ;-)

          You didn't mention where you did buy your Pro Mini's? I'm thinking about the quality of the used electronics...

          J Offline
          J Offline
          Joost
          wrote on last edited by Joost
          #18

          @evb said in 💬 Minimal LiPo powered Arduino Pro Mini + RFM95 MySensors node:

          Thanks for the dimensions :-)
          That will work in my setup!

          I have read also these links with results much better then my 133µA.
          I have tested my pro mini with the lowpower sketch to get the pro mini in deep sleep and I measure 133µA. My multimeter is already 30 years old and his last calibration was 20 years ago? But the voltage measurements are still correct, so I don't know...
          LowpowerLab has a Current Sense Amplifier device, but for 141 euros it is bit expensive ;-)

          You didn't mention where you did buy your Pro Mini's? I'm thinking about the quality of the used electronics...

          @evb I don't have a specific source for my Pro Minis. Some are from Ali, some from Ebay international - I don't even know which one is from where. I just keep sure to always order the same layout/design, as can be seen in the photos.
          Also, when the regulator and LED are removed, there is not that much left besides the ATMega328 itself, is there? Some resonators, but not any questionable parts AFAICS.
          Perhaps you should really give another multimeter a try?

          E 1 Reply Last reply
          0
          • YveauxY Yveaux

            @olka said in 💬 Minimal LiPo powered Arduino Pro Mini + RFM95 MySensors node:

            you can do battery monitoring with code only (search here on the forum for it)

            @evb I wrote a small library for it: https://github.com/Yveaux/Arduino_Vcc

            E Offline
            E Offline
            evb
            wrote on last edited by
            #19

            @Yveaux I'm already using your VCC library :-)

            1 Reply Last reply
            1
            • O olka

              @evb, I really don't know why you get that high consumption of 133uA, but there is defenently someting wrong. Sorry that I cant help.

              I use my own pcb design but it's basically the same as a mini pro without reg and led + RFM69HW. All my 328 chips is sourced from china and working fine.
              I just measured on of my older designs with 8mhz/no BOD and I get about 6.7uA in timed sleep (WDT active), including 1M/470k voltage divider.
              With the same setup without 1M/470k voltage divider and with external interrupt wake-up (sleep forever) I have about 0.8uA.

              This was measured with two different multimeters with uA range. Sure, in this range a multimeter is not as accurate as the uCurrent or similar instruments, but IMO more than good enough for this kind of measurement.

              If you are able to solve your main problem, I have a few other tips for further tweeking:

              • Don't use bootloader with BOD, you don't need it for a sensor that is continous connected to the battery. Saves 20-25uA.
              • If you power from 3V battery, don't use the suggested 1M/470k voltage divider for battery monitoring, you can do battery monitoring with code only (search here on the forum for it). Saves 2uA.
              • You could perhaps gain a tiny bit more by setting all unused pins to LOW OUTPUT or LOW INPUT.

              Some very good info on ATmega 328 power consumption here: https://www.gammon.com.au/forum/?id=11497

              E Offline
              E Offline
              evb
              wrote on last edited by
              #20

              @olka Thanks for the tips. I'm already doing the last 2 tips.
              Concerning the first tip, you mean to program directly the sketch via the ISP and not the normal way to upload via the bootloader?
              Didn't know that this also saves some power.

              1 Reply Last reply
              0
              • J Joost

                @evb said in 💬 Minimal LiPo powered Arduino Pro Mini + RFM95 MySensors node:

                Thanks for the dimensions :-)
                That will work in my setup!

                I have read also these links with results much better then my 133µA.
                I have tested my pro mini with the lowpower sketch to get the pro mini in deep sleep and I measure 133µA. My multimeter is already 30 years old and his last calibration was 20 years ago? But the voltage measurements are still correct, so I don't know...
                LowpowerLab has a Current Sense Amplifier device, but for 141 euros it is bit expensive ;-)

                You didn't mention where you did buy your Pro Mini's? I'm thinking about the quality of the used electronics...

                @evb I don't have a specific source for my Pro Minis. Some are from Ali, some from Ebay international - I don't even know which one is from where. I just keep sure to always order the same layout/design, as can be seen in the photos.
                Also, when the regulator and LED are removed, there is not that much left besides the ATMega328 itself, is there? Some resonators, but not any questionable parts AFAICS.
                Perhaps you should really give another multimeter a try?

                E Offline
                E Offline
                evb
                wrote on last edited by
                #21

                @Joost I measured the current with another, even older, analog type of multimeter, a type where you need to read the needle using an integrated mirror :-)
                It is measuring approximately the same deep sleep current: 141µA

                Maybe the two multimeters are not correct, but they all give the same order of magnitude.

                Next weekend, I will redo a measuring:

                • a new Pro Mini + sketch deepsleep from lowpowerlab
                • the same Pro Mini without the power led + sketch deepsleep from lowpowerlab
                • the same Pro Mini without the power led and regulator + sketch deepsleep from lowpowerlab

                To be continued

                PS: @Joost, did you see my message about your breakout pcb to be able to order it via openhardware.io?

                E 1 Reply Last reply
                0
                • E evb

                  @Joost I measured the current with another, even older, analog type of multimeter, a type where you need to read the needle using an integrated mirror :-)
                  It is measuring approximately the same deep sleep current: 141µA

                  Maybe the two multimeters are not correct, but they all give the same order of magnitude.

                  Next weekend, I will redo a measuring:

                  • a new Pro Mini + sketch deepsleep from lowpowerlab
                  • the same Pro Mini without the power led + sketch deepsleep from lowpowerlab
                  • the same Pro Mini without the power led and regulator + sketch deepsleep from lowpowerlab

                  To be continued

                  PS: @Joost, did you see my message about your breakout pcb to be able to order it via openhardware.io?

                  E Offline
                  E Offline
                  evb
                  wrote on last edited by
                  #22

                  @Joost, bumping :-)

                  1 Reply Last reply
                  0
                  • C Offline
                    C Offline
                    chey
                    wrote on last edited by
                    #23

                    @evb Did you ever figure this out?

                    E 1 Reply Last reply
                    0
                    • C chey

                      @evb Did you ever figure this out?

                      E Offline
                      E Offline
                      evb
                      wrote on last edited by
                      #24

                      Hi @chey, no, with the pro minis and MySensors lib I couldn't get less.
                      Didn't measure with yet another multimeter though...

                      My battery sensors are working now for about a year and the battery levels are between 65% and 70%.
                      The sensor furthest from the gateway is at 65% and the 3 others at 70%.
                      Not bad I think.
                      https://forum.mysensors.org/topic/11499/checking-mechanical-locked-doors-by-a-battery-based-windows-door-sensor-node

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


                      11

                      Online

                      11.7k

                      Users

                      11.2k

                      Topics

                      113.1k

                      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