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. Hardware
  3. Please give me an advice for a simple sensor node

Please give me an advice for a simple sensor node

Scheduled Pinned Locked Moved Hardware
11 Posts 3 Posters 77 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.
  • D DenisJ

    Hi there all,
    I'm new on the MySensors and also Arduino world so please be pacient.

    I just want to make a very simple Temp/Hum node sensor that can be powered
    as long is possible from 2 X 1.5V AAA battery.

    I decided for ATmega328 + BME280 + RFM69HW.

    I have read a lot about battery power sensors and if I understand,
    in order to make a 2 X AAA battery sensor, and suck as much juice is possible
    from that battery, I'll need a Step up booster module.
    But at the doc page is not specified witch one can I use.

    I found/read a lot of post that is so old (about 3 to 6 or more years)
    ..so I want to gentle ask some low-power guru about what type of booster module regulator
    I must use at this time please.

    Or... maybe someone can give me a link of some similar (fresh) MySensors project that I can study.

    Thanks a lot
    Denis

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

    @DenisJ a step up converter is never 100% efficient, so although you can drain your batteries further, it depends whether you can run your sensor longer with, than without converter.
    Furthermore, boosters often introduce noise to the radio supply which can lead to range issues.
    As this is your first build, I would simply use 2 fresh aa or aaa batteries to power your node directly.
    I have several pro minis with bme280 and nrf24 radio that run for years on 2 aa batteries. Just follow the build instructions for the battery powered node.

    http://yveaux.blogspot.nl

    1 Reply Last reply
    2
    • E Offline
      E Offline
      evb
      wrote on last edited by
      #3

      @DenisJ I'm went the same way as @Yveaux, without booster, see my adventures at https://forum.mysensors.org/topic/11499/checking-mechanical-locked-doors-by-a-battery-based-windows-door-sensor-node
      The oldest sensor is now running for 6 months and the battery level is at 89%

      Just pay attention at the lowest possible voltage for all your components to operate on a stable way.
      If the 328 can go as low as 1.8V, but the temp sensor stops working at 2.2V, then 2.2V will be the lowest voltage that you can go!

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DenisJ
        wrote on last edited by
        #4

        Thanks a lot all for the help.

        So @evb you can confirm me that the internal 1 MHz it's still work on MySensors node ?
        I ask this because in this thread (that I take from your link... thanks a lot)
        at the first page I read:
        "UPDATE 2: There have been reported issues with MySensors 2.x freezing on SlimNodes running at 1MHz, which I've confirmed. Recommended solution when using MyS 2.x, is to use 8MHz (internal) instead."

        I'll begin to study the Minicore bootloader first... I have a lot to learn, and here in MySensors forum is a lot of page to read :-)

        Thanks a lot again
        Denis

        E 1 Reply Last reply
        0
        • D DenisJ

          Thanks a lot all for the help.

          So @evb you can confirm me that the internal 1 MHz it's still work on MySensors node ?
          I ask this because in this thread (that I take from your link... thanks a lot)
          at the first page I read:
          "UPDATE 2: There have been reported issues with MySensors 2.x freezing on SlimNodes running at 1MHz, which I've confirmed. Recommended solution when using MyS 2.x, is to use 8MHz (internal) instead."

          I'll begin to study the Minicore bootloader first... I have a lot to learn, and here in MySensors forum is a lot of page to read :-)

          Thanks a lot again
          Denis

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

          @DenisJ Yes, I did read also this comment, but wanting to go as low as possible with the batteries voltage, I took my chance and constructed now 3 nodes running on 1MHz internal with MySensors 2.3.2, with the idea, if it don't work, I reprogram with the minicore bootloader, the pro minis at 8 MHz. You don't loose money in trying it out :-)

          Today, after 6 months for the oldest node, they are still working without one freezing scenario...
          You must just pay attention that the BME280 sensor can work at such low µp frequencies!
          Look at the datasheet of this sensor.

          1 Reply Last reply
          0
          • D Offline
            D Offline
            DenisJ
            wrote on last edited by
            #6

            OK... thanks a lot.
            Now I play with an old Arduino Mega and the AVR program in order to write the bootloader :-)

            A little question... how can I understand that the BME280 can work at 1MHz please ? ...maybe also the RFM69HC.
            Thanks again
            Denis

            YveauxY 1 Reply Last reply
            0
            • D DenisJ

              OK... thanks a lot.
              Now I play with an old Arduino Mega and the AVR program in order to write the bootloader :-)

              A little question... how can I understand that the BME280 can work at 1MHz please ? ...maybe also the RFM69HC.
              Thanks again
              Denis

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

              @DenisJ I would advise to just build the standard node as described. The 1MHz frequency will hardly increase battery life, if any, but possibly introduces new issues (eg new bootloader).
              Your node will be sleeping over 99% of the time, so focus on sleeping current when trying to improve battery life.
              Once you feel more familiar with mysensors and Arduino you could try out new improvements, but you can always return to your initial, known good sleeping node.

              http://yveaux.blogspot.nl

              1 Reply Last reply
              2
              • D Offline
                D Offline
                DenisJ
                wrote on last edited by
                #8

                @Yveaux said in Please give me an advice for a simple sensor node:

                ...so focus on sleeping current when trying to improve battery life.

                Yeah you have right... I'll first program the 8Mhz bootloader first.
                hen when all will work, I'll study also the 1Mhz one.
                My node will sleep, and every minute (aprox 8 sec X 8 watchdog sleeps) will wake up for about 2 seconds.

                Thanks a lot again
                Denis

                1 Reply Last reply
                0
                • E Offline
                  E Offline
                  evb
                  wrote on last edited by evb
                  #9

                  @Yveaux Correct, the 1Mhz will hardly increase battery life. But the node will continue to work till 1.8V in a safe operating area. I'm referring to your own posted diagrams ;-)
                  https://forum.mysensors.org/topic/10952/battery-pro-mini-1mhz-vs-booster/12

                  But yes, good advice to stay with the standards, certainly if you are new to MySensor :-)

                  YveauxY 1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    DenisJ
                    wrote on last edited by
                    #10

                    For now I spent all afternoon to program the 328 using an Arduino but I can't :-(
                    I just buy from Amaz a ISP programmer and tomorow I'll retry.
                    I'll update the thread.
                    Thanks all again
                    Denis

                    1 Reply Last reply
                    0
                    • E evb

                      @Yveaux Correct, the 1Mhz will hardly increase battery life. But the node will continue to work till 1.8V in a safe operating area. I'm referring to your own posted diagrams ;-)
                      https://forum.mysensors.org/topic/10952/battery-pro-mini-1mhz-vs-booster/12

                      But yes, good advice to stay with the standards, certainly if you are new to MySensor :-)

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

                      @evb said in Please give me an advice for a simple sensor node:

                      But the node will continue to work till 1.8V in a safe operating area.

                      Yeah sure, but alkaline batteries are nearly depleted when they get to 1V, so barely worth the hassle.

                      http://yveaux.blogspot.nl

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


                      19

                      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