Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Building a Home Security System with Raspberry Pi

You're reading from  Building a Home Security System with Raspberry Pi

Product type Book
Published in Dec 2015
Publisher
ISBN-13 9781782175278
Pages 190 pages
Edition 1st Edition
Languages
Author (1):
Matthew Poole Matthew Poole
Profile icon Matthew Poole

Table of Contents (16) Chapters

Building a Home Security System with Raspberry Pi
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Setting Up Your Raspberry Pi Connecting Things to Your Pi with GPIO Extending Your Pi to Connect More Things Adding a Magnetic Contact Sensor Adding a Passive Infrared Motion Sensor Adding Cameras to Our Security System Building a Web-Based Control Panel A Miscellany of Things Putting It All Together Index

Connecting our PIR motion sensor


Commercially available alarm systems connect to their devices using a 4 core or 6 core alarm cable. In the previous chapter, we used a 4 core cable because we were connecting a switch that needed two wires plus an antitamper loop, which needed another two wires.

For our PIR sensor circuit, we need the same four wires; however, we also need to send power to the device from the control panel, so an additional two wires are needed for this—hence the requirement for a 6 core cable.

The following diagram shows the wiring connections for my GardScan PIR sensor, but this is in fact typical for most off-the-shelf security system devices:

Typical connections for security system sensor devices

Similar to the magnetic contact sensors that we looked at in the previous chapter, devices can come with either a normally closed (NC) or a normally open (NO) alarm. This particular device has a normally closed output, which means that the alarm circuit will be broken when the detector...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}