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. My Project
  3. 4 doors sensors and 4 move sensors on the same node

4 doors sensors and 4 move sensors on the same node

Scheduled Pinned Locked Moved My Project
5 Posts 2 Posters 1.7k 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.
  • carlekiC Offline
    carlekiC Offline
    carleki
    wrote on last edited by
    #1

    Hello,
    In my house, I have an old alarm system installed, with :

    • 4 doors sensors
    • 4 move sensors

    All the sensors are wired, and all the cables are going un a closet, where the old alarm system is installed.

    I don't want to use the old alarm because it is broken, but I want to reuse the sensors. I have electric power in the closet, so it will not be a batteries powered node, so is my idea realisable :

    • Arduino powered by USB, with at least 8 inputs (arduino uno ?)
    • I connect 1 cable of each sensor on each input
    • the other cables from the sensors connected to ground of the arduino

    is it correct ?

    1 Reply Last reply
    0
    • G Offline
      G Offline
      gloob
      wrote on last edited by gloob
      #2

      What type of sensors are they? Do they act like simple "switches" or what kind of signal do they offer on the output?
      An Arduino nano also has enough inputs to connect 8 sensors with on/off signal.

      carlekiC 1 Reply Last reply
      0
      • G gloob

        What type of sensors are they? Do they act like simple "switches" or what kind of signal do they offer on the output?
        An Arduino nano also has enough inputs to connect 8 sensors with on/off signal.

        carlekiC Offline
        carlekiC Offline
        carleki
        wrote on last edited by
        #3

        @gloob said:

        What type of sensors are they? Do they act like simple "switches" or what kind of signal do they offer on the output?

        For the door, I assume they are like reed switch (with magnet fixed on the door itself)
        For the movement ... I don't know !

        1 Reply Last reply
        1
        • G Offline
          G Offline
          gloob
          wrote on last edited by gloob
          #4

          If the door switches act like normal reed switchen then it is correct that you can put one wire to ground and the other one on an input of the arduino.
          Internally you can set the pullup resistor on the pin and check when the signal goes to low, to detect that the door is closed. If the door opens and the reed switch is open, you will get a high signal from the input pin.
          But you can also connect one pin of the sensor to 5V and the check if the output pin of the sensor goes to high when the door is closed.

          For the movement sensors you have to check the signals. There should be at least 3 pins for each sensor, power, ground and the signal itself.

          carlekiC 1 Reply Last reply
          2
          • G gloob

            If the door switches act like normal reed switchen then it is correct that you can put one wire to ground and the other one on an input of the arduino.
            Internally you can set the pullup resistor on the pin and check when the signal goes to low, to detect that the door is closed. If the door opens and the reed switch is open, you will get a high signal from the input pin.
            But you can also connect one pin of the sensor to 5V and the check if the output pin of the sensor goes to high when the door is closed.

            For the movement sensors you have to check the signals. There should be at least 3 pins for each sensor, power, ground and the signal itself.

            carlekiC Offline
            carlekiC Offline
            carleki
            wrote on last edited by
            #5

            @gloob

            ok ! I will check the wires and signal output from the movement sensors ;)

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


            25

            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