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. General Discussion
  3. Does MySensors do all that LowPower does?

Does MySensors do all that LowPower does?

Scheduled Pinned Locked Moved General Discussion
2 Posts 2 Posters 705 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.
  • Bogus ExceptionB Offline
    Bogus ExceptionB Offline
    Bogus Exception
    wrote on last edited by Bogus Exception
    #1

    I've noticed that if I try to modify my source code for a pro-mini & nRF24 to include the LowPower library, the source will not compile:

    enum period_t {
         ^
    In file included from C:\Users\...\Documents\Arduino\LowPower_ProMini_DHT-22_nRF24_v1\LowPower_ProMini_DHT-22_nRF24_v1.ino:2:0:
    C:\Users\...\Documents\Arduino\libraries\Low-Power/LowPower.h:6:6: error: previous definition here
    enum period_t
         ^
    

    This makes me think that there are portions of the MySensors library that take advantage of the lower power modes available, like STANDBY-I and PowerDown. That's all great, but it begs that question;

    "How exactly is the MySensors library adjusting the power modes of the ATmel chips (which modes when), and does this same power-awareness apply to, say, the radio boards (nRF24, etc.)?"

    Right now, I have my first true battery-powered node drawing 7.1ma in [whatever mode(s) MySensors library is putting everything in]. Is this as good as it gets (I pulled the PWR LED), or are there further options available using, say, interrupts as an example, that could bring power consumption down further?

    Thanks!

    "If you drop it and it breaks, it was good." ~ Mr. Lehr, my Electronics Vo-Tech teacher, on testing vacuum tubes...
    -Arduinos (UNO, Nano, Pro-Mini, Mega, ...)
    -ATTiny, ATMega, STM32
    -Geek Channel: https://www.youtube.com/TheSalesEngineer

    Nca78N 1 Reply Last reply
    0
    • Bogus ExceptionB Bogus Exception

      I've noticed that if I try to modify my source code for a pro-mini & nRF24 to include the LowPower library, the source will not compile:

      enum period_t {
           ^
      In file included from C:\Users\...\Documents\Arduino\LowPower_ProMini_DHT-22_nRF24_v1\LowPower_ProMini_DHT-22_nRF24_v1.ino:2:0:
      C:\Users\...\Documents\Arduino\libraries\Low-Power/LowPower.h:6:6: error: previous definition here
      enum period_t
           ^
      

      This makes me think that there are portions of the MySensors library that take advantage of the lower power modes available, like STANDBY-I and PowerDown. That's all great, but it begs that question;

      "How exactly is the MySensors library adjusting the power modes of the ATmel chips (which modes when), and does this same power-awareness apply to, say, the radio boards (nRF24, etc.)?"

      Right now, I have my first true battery-powered node drawing 7.1ma in [whatever mode(s) MySensors library is putting everything in]. Is this as good as it gets (I pulled the PWR LED), or are there further options available using, say, interrupts as an example, that could bring power consumption down further?

      Thanks!

      Nca78N Offline
      Nca78N Offline
      Nca78
      Hardware Contributor
      wrote on last edited by
      #2

      Hello, @Bogus-Exception, you clearly have a problem in your node, use debug mode and check the console your node is probably not going to sleep with this power consumption.
      With a door sensor made of a ProMini board, a NRF24 clone and a reed switch the sleep function from MySensors uses less than 2uA.

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


      25

      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