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. Sensor + Interrupt questions

Sensor + Interrupt questions

Scheduled Pinned Locked Moved Hardware
14 Posts 5 Posters 2.3k Views 4 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.
  • CrankyCoderC Offline
    CrankyCoderC Offline
    CrankyCoder
    wrote on last edited by
    #1

    Hey All,
    I have done some stuff with normal buttons and interrupts to wake up a node. I am wondering if anyone has done other stuff on the interrupts? Like a moisture/water sensor? im checking the feasibility of doing battery powered leak sensors. Seems like it would work since it's basically doing a button press by conducting through the water.

    Now, I know what the first response is.... just try it!! I would, but alas i don't have my water sensors here yet :laughing:

    thanks!

    Home Automation Tinkerer
    www.CrankyCoder.net

    Controller: HomeAssistant in Kubernetes
    Gateway: MQTTClientGateway
    MySensors: 2.3

    zboblamontZ 1 Reply Last reply
    0
    • CrankyCoderC CrankyCoder

      Hey All,
      I have done some stuff with normal buttons and interrupts to wake up a node. I am wondering if anyone has done other stuff on the interrupts? Like a moisture/water sensor? im checking the feasibility of doing battery powered leak sensors. Seems like it would work since it's basically doing a button press by conducting through the water.

      Now, I know what the first response is.... just try it!! I would, but alas i don't have my water sensors here yet :laughing:

      thanks!

      zboblamontZ Offline
      zboblamontZ Offline
      zboblamont
      wrote on last edited by
      #2

      @crankycoder :mag:

      1 Reply Last reply
      0
      • CrankyCoderC Offline
        CrankyCoderC Offline
        CrankyCoder
        wrote on last edited by
        #3

        I swear I did a search. But apparently I searched on one of my other community forums that had nothing to do with arduino or mysensors :laughing:

        helps when i search the right forum.

        Home Automation Tinkerer
        www.CrankyCoder.net

        Controller: HomeAssistant in Kubernetes
        Gateway: MQTTClientGateway
        MySensors: 2.3

        1 Reply Last reply
        1
        • JohnRobJ Offline
          JohnRobJ Offline
          JohnRob
          wrote on last edited by JohnRob
          #4

          @CrankyCoder

          I have a similar (same?) sensor type running on a Pro mini.
          I uses a PNP to gain up the sensor current and ran it into INT1 . My RFM69 uses INTO.

          Works perfect. I've been running it on 3 AAA *** Carbon! batteries for a few months to see how long the batteries work. I can't yet estimate the battery life because I'm using the internal measurement of Vcc (which goes through the regulator).

          John

          *** updated, the original post stated 2 AAA batteries. This was in error.

          gohanG 1 Reply Last reply
          2
          • CrankyCoderC Offline
            CrankyCoderC Offline
            CrankyCoder
            wrote on last edited by
            #5

            nice :)

            I ordered a couple of sensors yesterday so as soon as they come in ill start doing some testing with them.

            Home Automation Tinkerer
            www.CrankyCoder.net

            Controller: HomeAssistant in Kubernetes
            Gateway: MQTTClientGateway
            MySensors: 2.3

            1 Reply Last reply
            0
            • JohnRobJ JohnRob

              @CrankyCoder

              I have a similar (same?) sensor type running on a Pro mini.
              I uses a PNP to gain up the sensor current and ran it into INT1 . My RFM69 uses INTO.

              Works perfect. I've been running it on 3 AAA *** Carbon! batteries for a few months to see how long the batteries work. I can't yet estimate the battery life because I'm using the internal measurement of Vcc (which goes through the regulator).

              John

              *** updated, the original post stated 2 AAA batteries. This was in error.

              gohanG Offline
              gohanG Offline
              gohan
              Mod
              wrote on last edited by
              #6

              @johnrob why are you using the regulator?

              1 Reply Last reply
              0
              • JohnRobJ Offline
                JohnRobJ Offline
                JohnRob
                wrote on last edited by
                #7

                @CrankyCoder
                For sensors I'm using 4 stainless steel screws extending out the bottom of a plastic housing. They are spaced at the corners of a 5/8 square. I tested it with 2 screw and it worked fine but I went with 4 for the extra sense current.

                @gohan,
                I'm using 3 AAA batteries, my 2 AAA carbon battery statement was in error. When fresh the voltage exceeds the RFM69 input voltage specification.

                John

                1 Reply Last reply
                0
                • gohanG Offline
                  gohanG Offline
                  gohan
                  Mod
                  wrote on last edited by
                  #8

                  you could use 3 ni-mh and get rid of the regulator, that drains battery fast unless you use a low quiescent current one.

                  1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    David Cabañero
                    wrote on last edited by
                    #9

                    Hi CrankyCoder,

                    I have door/window sensors running using interruptions. I got rid of the regulator and the power led and I am using a step up converter to take as much juice as possible from the batteries. The oldest node has been running for a year already on 2 AA batteries so your project is definitely doable.

                    The problem could be in case the leak sensor throws a lot of false positives in which case it would drain the battery quicker.

                    I hope it helps.

                    --
                    David
                    [http://www.smarthomeblog.net]

                    CrankyCoderC 1 Reply Last reply
                    1
                    • D David Cabañero

                      Hi CrankyCoder,

                      I have door/window sensors running using interruptions. I got rid of the regulator and the power led and I am using a step up converter to take as much juice as possible from the batteries. The oldest node has been running for a year already on 2 AA batteries so your project is definitely doable.

                      The problem could be in case the leak sensor throws a lot of false positives in which case it would drain the battery quicker.

                      I hope it helps.

                      --
                      David
                      [http://www.smarthomeblog.net]

                      CrankyCoderC Offline
                      CrankyCoderC Offline
                      CrankyCoder
                      wrote on last edited by
                      #10

                      @david-cabañero Thanks David, i just got a few of the step ups so I will give that a shot. Because of some of my other projects I have TONS of 18650 cells laying around so I figure those are decent batteries for this.

                      Home Automation Tinkerer
                      www.CrankyCoder.net

                      Controller: HomeAssistant in Kubernetes
                      Gateway: MQTTClientGateway
                      MySensors: 2.3

                      1 Reply Last reply
                      0
                      • gohanG Offline
                        gohanG Offline
                        gohan
                        Mod
                        wrote on last edited by
                        #11

                        are you running your nodes at 5V?

                        1 Reply Last reply
                        0
                        • CrankyCoderC Offline
                          CrankyCoderC Offline
                          CrankyCoder
                          wrote on last edited by
                          #12

                          no, i have a couple that i am running at 3.3 off the 18650s. so far it's been pretty good just using the sleep

                          Home Automation Tinkerer
                          www.CrankyCoder.net

                          Controller: HomeAssistant in Kubernetes
                          Gateway: MQTTClientGateway
                          MySensors: 2.3

                          1 Reply Last reply
                          0
                          • D Offline
                            D Offline
                            David Cabañero
                            wrote on last edited by
                            #13

                            Hi @CrankyCoder ,

                            I think that 18650 will have plenty of juice for a project like this one.

                            Do you have an idea on how much does the water sensor consume in sleep mode? I am curious and I might actually go for the same project.

                            Which one are you using?

                            1 Reply Last reply
                            0
                            • CrankyCoderC Offline
                              CrankyCoderC Offline
                              CrankyCoder
                              wrote on last edited by
                              #14

                              not sure about in sleep mode. But here is the sensor i am using.

                              https://smile.amazon.com/gp/product/B00Q9YBIJI/ref=oh_aui_search_detailpage?ie=UTF8&psc=1

                              Home Automation Tinkerer
                              www.CrankyCoder.net

                              Controller: HomeAssistant in Kubernetes
                              Gateway: MQTTClientGateway
                              MySensors: 2.3

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


                              15

                              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