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.
  • openhardware.ioO Offline
    openhardware.ioO Offline
    openhardware.io
    wrote on last edited by openhardware.io
    #1

    https://www.openhardware.io/view/684/MySensors-Low-power-Multi-function-node-on-CR2032

    sundberg84S 1 Reply Last reply
    0
    • openhardware.ioO openhardware.io

      https://www.openhardware.io/view/684/MySensors-Low-power-Multi-function-node-on-CR2032

      sundberg84S Offline
      sundberg84S Offline
      sundberg84
      Hardware Contributor
      wrote on last edited by
      #2

      Looks great! I notised one small thing you might want to check. It looks like you are going to use a low profile battery holder and the battery directly on the board? The ISCP header might short the battery since the battery is all metal. I would not solder pinheaders to this as your 3d view shows, because that will short the battery. You can use pogo-pins and electrical tape for isolation.

      0_1553588101475_4f32944e-3e78-4158-a257-feb2c8671434-image.png

      Controller: Proxmox VM - Home Assistant
      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

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

        Hi,
        Thanks a lot for your feedback. My plan is to avoid any soldered header pin, to keep the design small and I use pogo pins for FTDI and ICSP. . This is my very first design. I received the PCB and began to solder. Thus, I found more critical issues :

        • ATmega328pb is not fully pin compatible with atmega328p !! but it does not seem to hurt here
        • the battery holder foot print is wrong : GND is not in the center but one of the side pads
        • the AT25DF pads 5-8 are reversed
        • the antenna schematic and routing is completely false
        • I met issues with the node sketch running at 1Mhz
        • My FTDI and my ICSP send 5V on the power rails, too much for NRF and AT25DF, I should take care of that
          Next iteration should have a better design and be able to work, but this one is clearly not functional. ;)
        1 Reply Last reply
        0
        • sundberg84S sundberg84

          Looks great! I notised one small thing you might want to check. It looks like you are going to use a low profile battery holder and the battery directly on the board? The ISCP header might short the battery since the battery is all metal. I would not solder pinheaders to this as your 3d view shows, because that will short the battery. You can use pogo-pins and electrical tape for isolation.

          0_1553588101475_4f32944e-3e78-4158-a257-feb2c8671434-image.png

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

          Hi @sundberg84 , Just in case, I redesigned the whole thing to fix some issues. This is still a work in progress, but it is very close to the final design.

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

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

            PiHome - Smart Heating Control

            FanfanF 1 Reply Last reply
            0
            • 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


                                13

                                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