Join David Ross for an in-depth discussion in this video Connect the relay and motion detector, part of Home Monitoring and Control with Raspberry Pi.
- Let's look at how to connect the motion detector…you purchased from the parts list…and connect it to the breadboard.…Before you start this, it's a good idea…to have consulted the manual…to set up the motion detector receiver…for normal operation, as given in the manual.…You will need to put a nine-volt battery…into the motion detector, and connect the AC adapter…to the receiver.…Once you have the system set up,…so that when motion is detected,…only one LED will flash,…then we are ready to proceed.…If you take the infrared receiver module…and set it so that the screws are facing up,…if you take a look on the left-hand side,…there's a three-position switch:…off, low, and high.…
Remember that, because, when you take the two screws off…and you remove the back covering,…where those three, on, off, and high, are located,…you'll see pairs of pins.…And above those, those three pairs of pins,…right at the top, you're going to see…another solder trace.…That's where we're going to connect…our negative probe, or our black probe,…
This DIY electronics project provides simple directions for getting your home monitoring system up and running. Author David Ross helps you select a power supply, camera, motion detector, enclosure, and other components and accessories, and make your system "smart" by connecting to web services frameworks such as Weaved and WebIOPi. Then he helps you program the logic to make your Pi camera take pictures and stream video, connect to home peripherals, and mount your alarm system. With this training, and a little elbow grease, you can create a fully autonomous system that helps you and your family feel more secure at home and away.
Note: These instructions work with Raspberry Pi B, Raspberry Pi B+, and Raspberry Pi 2 models.
- Selecting hardware, including a Raspberry Pi camera and a Pi Cobbler
- Configuring VNC, SSH, and WebIOPi services
- Sending SMS messages with the Raspberry Pi
- Taking and accessing pictures remotely
- Setting up video streaming with a Raspberry Pi camera
- Connecting the Pi to the development board
- Connecting the relay and motion detector
- Programming the alarm in Python
- Mounting and securing the alarm system