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. Sensbender micro interrupts

Sensbender micro interrupts

Scheduled Pinned Locked Moved Hardware
3 Posts 2 Posters 975 Views 2 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.
  • nick van alstN Offline
    nick van alstN Offline
    nick van alst
    wrote on last edited by
    #1

    Hello,

    i currently have 4 Sensbender Micro and i am planning to build door/window sensors off them.

    i already created 2 single sensors and they are working perfectly. I used a simple REED contact connected on GND and D3 as D3 is an interrupt i could use the BinarySwitchSleepSensor example to build it.(https://github.com/mysensors/MySensors/blob/development/examples/BinarySwitchSleepSensor/BinarySwitchSleepSensor.ino)

    PS. a reed switch fits perfectly between the GND and D3, and rests on the extra PCB part of the sensbender!

    Though, now i want to build 1 sensor with 2 reed contacts. normally the example sketch would be perfect for it. but i noticed that on the arduino the only pins that have intterupt are pin 2 and 3. And on the Sensbender micro there is no D2.

    Is there a other pin on the board that supports intterupts? or should i build it like so that i use D3 as intterupt and also connect the senors to other digital in's to check the actual status of each sensor.
    That way i use D3 as a wakeup call. And D4 and D5 for the actual switch status.

    1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #2

      You'll have to modify it a bit.

      Cut the IRQ leg off from the radio and solder (or if you have the space) plug in a wire into the socket.

      nick van alstN 1 Reply Last reply
      0
      • hekH hek

        You'll have to modify it a bit.

        Cut the IRQ leg off from the radio and solder (or if you have the space) plug in a wire into the socket.

        nick van alstN Offline
        nick van alstN Offline
        nick van alst
        wrote on last edited by
        #3

        @hek So the IRQ pin is connected to the Arduino D2?

        AH nvm i checked the schematic and found it, thanks!
        will try this!

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


        19

        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