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. Wake pro mini when nrf data received....

Wake pro mini when nrf data received....

Scheduled Pinned Locked Moved General Discussion
7 Posts 3 Posters 1.2k 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.
  • skywatchS Offline
    skywatchS Offline
    skywatch
    wrote on last edited by
    #1

    I have read some messages on here, but they are 4 years old now.
    I want to know how to wake a node from sleep whenever a message is received by nrf24. Is it just setting sleep with interrupt and connecting the nrf24 int to one of the int pins on the arduino, or is there more that needs to be done? Can the my_message_buffer function work for a node like this?

    Thanks.

    mfalkviddM 1 Reply Last reply
    0
    • skywatchS skywatch

      I have read some messages on here, but they are 4 years old now.
      I want to know how to wake a node from sleep whenever a message is received by nrf24. Is it just setting sleep with interrupt and connecting the nrf24 int to one of the int pins on the arduino, or is there more that needs to be done? Can the my_message_buffer function work for a node like this?

      Thanks.

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #2

      @skywatch the nrf24 will consume 8.9mA in receive mode, so sleeping the pro mini (which consumes 3.58mA when active) will not result in significant power savings. To my knowledge, that's the reason why there is no easy way to do what you ask in MySensors.

      1 Reply Last reply
      0
      • skywatchS Offline
        skywatchS Offline
        skywatch
        wrote on last edited by skywatch
        #3

        OK thanks, I wanted to sleep that nodeto save on energy use.

        It's just that I have a 4 relay node that gets only a few messages to turn on or off each day - so would have been kinder to the planet if I could sleep it between messages and only wake it when it gets a message to change state of a relay....Is this not possible at the moment?

        No big deal if not possible - just thought I'd ask! ;)

        Thanks for reply! :)

        mfalkviddM 1 Reply Last reply
        0
        • skywatchS skywatch

          OK thanks, I wanted to sleep that nodeto save on energy use.

          It's just that I have a 4 relay node that gets only a few messages to turn on or off each day - so would have been kinder to the planet if I could sleep it between messages and only wake it when it gets a message to change state of a relay....Is this not possible at the moment?

          No big deal if not possible - just thought I'd ask! ;)

          Thanks for reply! :)

          mfalkviddM Offline
          mfalkviddM Offline
          mfalkvidd
          Mod
          wrote on last edited by mfalkvidd
          #4

          @skywatch sleeping the nrf24 is not possible if you want to receive incoming messages. It needs to be in receive mode to receive messages.

          1 Reply Last reply
          0
          • skywatchS Offline
            skywatchS Offline
            skywatch
            wrote on last edited by skywatch
            #5

            @mfalkvidd

            Yep, pretty obvious when you think about it ....... TsM

            1 Reply Last reply
            0
            • chisightC Offline
              chisightC Offline
              chisight
              wrote on last edited by
              #6

              @skywatch If it's acceptable for the relay to not react immediately on request from your controller, then you could queue the request at the server end and wait for the relay node to wake up and check in. For example, a system opening the blinds when the sun comes up wouldn't care if it was exactly at a given moment. If a delay of up to 10 minutes is acceptable, this could be quite a bit of battery savings but even 1 minute would probably save some battery.

              You could also just keep transmitting until there is an ack (be sure to comply with your local version of the FCC for transmission time limits.)

              Unfortunately, holding most relays closed takes a whole lot of power and toggle type relays are quite expensive. An SSR might significantly reduce this but would still require some power to hold the SSR and some circuitry to latch it while the node is sleeping.

              All of this might take a bit of a smarter home automation controller or some separate glue code between the controller and MySensors. (I use Node Red which could do this easily.)

              See me on IRC at ircs://freenode:6697/##nodered and ircs://freenode:6697/#mysensors

              1 Reply Last reply
              0
              • skywatchS Offline
                skywatchS Offline
                skywatch
                wrote on last edited by
                #7

                @chisight

                Thanks for the idea, I'll keep it in mind but for this project some of the relays will be controlling lights etc, so minimum delay is desireable.

                Thanks.

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


                18

                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