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. πŸ’¬ MySensors Low-power Multi-function node on CR2032

πŸ’¬ MySensors Low-power Multi-function node on CR2032

Scheduled Pinned Locked Moved OpenHardware.io
nodenrf24l01+si7021atsha204amysensorsat25df512c
15 Posts 5 Posters 2.6k Views 3 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.
  • pihomeP pihome

    @Fanfan
    what is battery life like running uC at 1Mhz?

    FanfanF Offline
    FanfanF Offline
    Fanfan
    wrote on last edited by
    #6

    @pihome I don't know yet, I'm still waiting for the PCB. I should receive them this week. From the mysensors site, 1Mhz vs 8Mhz does not make a huge difference. I'll try them both. What I can say is that 1Mhz as other constraints (I had to compile my own bootloader, then it is difficult to have reliable serial communication faster than 9600bauds, including for uploading sketches, meaning an update in the boards.txt file). Anyway, for sure, I'll build the board and make tests very soon. In the worst scenario, I may switch to CR123 batteries or LS14250.

    pihomeP 1 Reply Last reply
    0
    • FanfanF Fanfan

      @pihome I don't know yet, I'm still waiting for the PCB. I should receive them this week. From the mysensors site, 1Mhz vs 8Mhz does not make a huge difference. I'll try them both. What I can say is that 1Mhz as other constraints (I had to compile my own bootloader, then it is difficult to have reliable serial communication faster than 9600bauds, including for uploading sketches, meaning an update in the boards.txt file). Anyway, for sure, I'll build the board and make tests very soon. In the worst scenario, I may switch to CR123 batteries or LS14250.

      pihomeP Offline
      pihomeP Offline
      pihome
      wrote on last edited by
      #7

      @fanfan
      I been using temperature sensors with 8Mhz without any custom bootloader or any other modifications on 18650 battery for over 2 years, sensor read temperature once every minute and go to sleep, haven’t done any battery consumption calculations, i m switching from 18650 battery to AAA or AA batteries hence need for power saving

      PiHome - Smart Heating Control

      1 Reply Last reply
      0
      • FanfanF Offline
        FanfanF Offline
        Fanfan
        wrote on last edited by
        #8

        @pihome I finally built it. There will still be some adjustments (routing for cutting castelized holes, diode protections removal, ...), but it works. Be careful, it is designed to have 2V-3.6V for power AND signals (double check your ICSP and FTDI programmers). The battery duration depends on your sketch (sleep time, transmission power, encryption ...), your battery (mAh), your sensors (I only have BME280 connected) and your gateway distance. I can tell you that it uses 13mA during transmissions at PA_MAX.

        1 Reply Last reply
        0
        • FanfanF Offline
          FanfanF Offline
          Fanfan
          wrote on last edited by
          #9

          @pihome A simple wakeup cycle lasts 1.2s at 20mA. In theory, I should have 10 hours of wakeup time.0_1560173350621_SDS00014.png

          1 Reply Last reply
          0
          • pihomeP Offline
            pihomeP Offline
            pihome
            wrote on last edited by
            #10

            @Fanfan 20mA during transmission is higher then mine but then i have cheap chines version of multimeter may be its not very accurate as yours. are you using any low clock bootloader?

            Power consumption with onboard regulator and onboard LEDs removed without any further modification:
            18.11 mA startup
            66.9 uA during sleeping
            3.01 mA during Transmission

            Pro mini with 1mhz bootloader and on board regulator/LEDs removed:
            14.42 mA startup
            7.50 uA during sleeping
            1.40 mA during Transmission

            PiHome - Smart Heating Control

            1 Reply Last reply
            0
            • FanfanF Offline
              FanfanF Offline
              Fanfan
              wrote on last edited by
              #11

              @pihome I did compile my own dualoptiboot for 1Mhz support. My board does not use any LDO (I am supposed to only plug 3V power supply, not more). The LED is not a "power LED" but a LED connected to A2 to be used (or not) by the sketch. I might have more current consumption because I use PA_MAX as transmission power. or because my sketch does not put BME280 in sleep mode (yet). I still need to rework on the schema and PCB to tune/optimize it (no need for the zener, the schottky and the FTDI connector), but the proof of concept for my very first real design works.

              rvendrameR 1 Reply Last reply
              0
              • FanfanF Fanfan

                @pihome I did compile my own dualoptiboot for 1Mhz support. My board does not use any LDO (I am supposed to only plug 3V power supply, not more). The LED is not a "power LED" but a LED connected to A2 to be used (or not) by the sketch. I might have more current consumption because I use PA_MAX as transmission power. or because my sketch does not put BME280 in sleep mode (yet). I still need to rework on the schema and PCB to tune/optimize it (no need for the zener, the schottky and the FTDI connector), but the proof of concept for my very first real design works.

                rvendrameR Offline
                rvendrameR Offline
                rvendrame
                Hero Member
                wrote on last edited by rvendrame
                #12

                @fanfan , not sure if that may help you, but in my case I discovered that even in sleep mode the BME280 still drawing current (up to 1mA). The only solution I found was to bring down the SCL and SDA pins before entering in the sleep mode.

                Something like this:

                digitalWrite( A4 , LOW ); 
                digitalWrite( A5 , LOW ); 
                sleep( 60000 );
                
                wait(200); 
                weather_sensor.begin();
                wait(200); 
                
                

                Not sure if this is best way but it worked for me...

                Home Assistant / Vera Plus UI7
                ESP8266 GW + mySensors 2.3.2
                Alexa / Google Home

                FanfanF 1 Reply Last reply
                0
                • pihomeP Offline
                  pihomeP Offline
                  pihome
                  wrote on last edited by
                  #13

                  it would be interesting to see what sleep function does, may be need to read library code to understand this in more detailed.

                  PiHome - Smart Heating Control

                  1 Reply Last reply
                  0
                  • rvendrameR rvendrame

                    @fanfan , not sure if that may help you, but in my case I discovered that even in sleep mode the BME280 still drawing current (up to 1mA). The only solution I found was to bring down the SCL and SDA pins before entering in the sleep mode.

                    Something like this:

                    digitalWrite( A4 , LOW ); 
                    digitalWrite( A5 , LOW ); 
                    sleep( 60000 );
                    
                    wait(200); 
                    weather_sensor.begin();
                    wait(200); 
                    
                    

                    Not sure if this is best way but it worked for me...

                    FanfanF Offline
                    FanfanF Offline
                    Fanfan
                    wrote on last edited by
                    #14

                    @rvendrame Thanks a lot, I'm currently working on another project (electronic load). But I keep your idea in mind and will investigate when I'll continue this sensors project.

                    1 Reply Last reply
                    0
                    • FanfanF Offline
                      FanfanF Offline
                      Fanfan
                      wrote on last edited by
                      #15

                      @rvendrame sorry, I did not see your comment. Yes, it is VERY valuable. Thanks a lot

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


                      12

                      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