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 2.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.
  • T Offline
    T 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
    • T 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

      T 1 Reply Last reply
      1
      • F flopp

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

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

        @flopp thank you very much for your quick response!

        1 Reply Last reply
        1
        • T 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 Offline
          mfalkviddM Offline
          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.

          T 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.

            T Offline
            T 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
            • T 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 Offline
              mfalkviddM Offline
              mfalkvidd
              Mod
              wrote on last edited by
              #6

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

              T 1 Reply Last reply
              0
              • mfalkviddM mfalkvidd

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

                T Offline
                T 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

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                12

                Online

                12.1k

                Users

                11.2k

                Topics

                113.4k

                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