Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building a Home Security System with Raspberry Pi

You're reading from   Building a Home Security System with Raspberry Pi Build your own sophisticated modular home security system using the popular Raspberry Pi board

Arrow left icon
Product type Paperback
Published in Dec 2015
Publisher
ISBN-13 9781782175278
Length 190 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Matthew Poole Matthew Poole
Author Profile Icon Matthew Poole
Matthew Poole
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Setting Up Your Raspberry Pi 2. Connecting Things to Your Pi with GPIO FREE CHAPTER 3. Extending Your Pi to Connect More Things 4. Adding a Magnetic Contact Sensor 5. Adding a Passive Infrared Motion Sensor 6. Adding Cameras to Our Security System 7. Building a Web-Based Control Panel 8. A Miscellany of Things 9. Putting It All Together Index

Arming and disarming the system


We've included a switch on our Web-based control panel so that you can arm and disarm the system from your smartphone. However, this is probably not the most convenient way of doing it, especially when you're rushing out of the house, or you've returned home with a phone whose battery is flat. So, we need to find an additional way of arming and disarming our system at the entry and exit point of our property.

In the zone list table in the previous chapter, you'll notice that I assigned input GP0 on the Raspberry Pi GPIO as our arm/disarm switch input. This input will work in conjunction with our control panel switch.

This input can as be a simple as a toggle switch, or a bit more secure, such as a key switch or electronic keypad. Either way, it will be wired to ground GP0 (GPIO17) on our Raspberry Pi when the system is armed.

The circuit diagram for our arm/disarm switch

If you have switches or other such devices that will be outside and exposed to the elements...

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 $19.99/month. Cancel anytime