Posted on

#13: Connecting security sensors to Arduino

Just wiring up some lights so you can control them from your phone isn’t real home automation: that’s just turning your house into a really big remote controlled toy, even if you can do it from the other side of the world. For real automation your house needs to change its behaviour based on sensor input, and security sensors are a great way to add simple inputs that allow your house to make decisions about things like turning lights on and off automatically.

In this episode I show a clever way to connect security sensors up so that intruders can’t tamper with the cables undetected.

View directly on YouTube:

Here’s an example Arduino sketch that can read End-of-Line sensors and publish the results to an MQTT server:

One thought on “#13: Connecting security sensors to Arduino

  1. What motion sensor are you using in this video? Orion?

    In later blog, you mentioned a different motion sensor that had a wider “view” of the area that you were monitoring.

    I’m really inspired by what you are doing with your house.

    I’m running OpenHAB with ESP8266’s, but want to use the motion sensors to automate the lights and fans in the house.



Leave a Reply

Your email address will not be published. Required fields are marked *