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. Troubleshooting
  3. Question about sleep until interrupt

Question about sleep until interrupt

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 3 Posters 1.8k 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.
  • TheoLT Offline
    TheoLT Offline
    TheoL
    Contest Winner
    wrote on last edited by
    #1

    I'm trying to create a sensor that sleeps until an interrupt occurs on either pin 2 or pin 3 of the Arduino. I just can't get it to work. Is it possible or does sleep only supports one interrupt pin at the time?

    Also, will message received from the gateway awaken the node?

    Thanx in advance.
    Theo

    F mfalkviddM 2 Replies Last reply
    0
    • TheoLT TheoL

      I'm trying to create a sensor that sleeps until an interrupt occurs on either pin 2 or pin 3 of the Arduino. I just can't get it to work. Is it possible or does sleep only supports one interrupt pin at the time?

      Also, will message received from the gateway awaken the node?

      Thanx in advance.
      Theo

      F Offline
      F Offline
      flopp
      wrote on last edited by flopp
      #2

      @TheoL
      You can read here, under Sleeping
      http://www.mysensors.org/download/sensor_api_15

      TheoLT 1 Reply Last reply
      1
      • F flopp

        @TheoL
        You can read here, under Sleeping
        http://www.mysensors.org/download/sensor_api_15

        TheoLT Offline
        TheoLT Offline
        TheoL
        Contest Winner
        wrote on last edited by
        #3

        @flopp thank you very much for your quick response!

        1 Reply Last reply
        1
        • TheoLT TheoL

          I'm trying to create a sensor that sleeps until an interrupt occurs on either pin 2 or pin 3 of the Arduino. I just can't get it to work. Is it possible or does sleep only supports one interrupt pin at the time?

          Also, will message received from the gateway awaken the node?

          Thanx in advance.
          Theo

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

          @TheoL said:

          Also, will message received from the gateway awaken the node?

          Unfortunately not. The radio uses as much power as the rest of the chip so it is shut down in sleep mode.

          TheoLT 1 Reply Last reply
          0
          • mfalkviddM mfalkvidd

            @TheoL said:

            Also, will message received from the gateway awaken the node?

            Unfortunately not. The radio uses as much power as the rest of the chip so it is shut down in sleep mode.

            TheoLT Offline
            TheoLT Offline
            TheoL
            Contest Winner
            wrote on last edited by
            #5

            @mfalkvidd Thank you for your reply. I'll have to make some changes to my original plan. I was planning on using the sleep mode in my doorbell. Just to save some on the energy bill ;-)

            But it's okay, I want a motion sensor in my hall way. I'll just combine it in the doorbell. Thanx again.

            mfalkviddM 1 Reply Last reply
            0
            • TheoLT TheoL

              @mfalkvidd Thank you for your reply. I'll have to make some changes to my original plan. I was planning on using the sleep mode in my doorbell. Just to save some on the energy bill ;-)

              But it's okay, I want a motion sensor in my hall way. I'll just combine it in the doorbell. Thanx again.

              mfalkviddM Online
              mfalkviddM Online
              mfalkvidd
              Mod
              wrote on last edited by
              #6

              @TheoL you're welcome. What message are you sending to the doorbell?

              TheoLT 1 Reply Last reply
              0
              • mfalkviddM mfalkvidd

                @TheoL you're welcome. What message are you sending to the doorbell?

                TheoLT Offline
                TheoLT Offline
                TheoL
                Contest Winner
                wrote on last edited by TheoL
                #7

                @mfalkvidd at the moment only the muting state of the doorbell chime. But once my digital potentionometer arrives I'll be sending a volume level as well.

                Update: I also want to trigger to chime remotely. My thinking is that I can solder a second one (but without switch) as a doorbell extender. I can mount that one in my living room.

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


                23

                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