Building a Home Security System with BeagleBone - William Pretty - E-Book

Building a Home Security System with BeagleBone E-Book

William Pretty

0,0
23,99 €

-100%
Sammeln Sie Punkte in unserem Gutscheinprogramm und kaufen Sie E-Books und Hörbücher mit bis zu 100% Rabatt.
Mehr erfahren.
Beschreibung

One of the best kept secrets of the security industry is just how simple the monitoring hardware actually is - BeagleBone has all the computing power you need to build yourself an extremely sophisticated access control, alarm panel, and home automation and network intrusion-detection system. Security companies make a fortune each year by charging exorbitant fees to their customers. You will learn how easy it is to make an alarm system with Beaglebone.

A company-maintained-and-monitored alarm system has its place - your dear old mum is probably not going to be creating her own system any time soon. But if you are reading this book, you are probably a builder or a hobbyist with all the skills required to do it yourself. With Building a Home Security System with BeagleBone, you will learn everything you need to know to develop your own state-of-the-art security system, all for less than a year's worth of monitoring charges from your local alarm company!

You will start by building and testing your hardware and open source software on an experimenter's prototype board before progressing to more complex systems. You will then learn how to test your new creations in a modular fashion and begin to utilize BeagleBone. Once your system is built and tested, you will install some of the professional-grade sensors used in modern alarm systems and learn how to use them. You will also discover how to extend your alarm system in a variety of different ways. The only limit will be your imagination.

Das E-Book können Sie in Legimi-Apps oder einer beliebigen App lesen, die das folgende Format unterstützen:

EPUB
MOBI

Seitenzahl: 96

Bewertungen
0,0
0
0
0
0
0
Mehr Informationen
Mehr Informationen
Legimi prüft nicht, ob Rezensionen von Nutzern stammen, die den betreffenden Titel tatsächlich gekauft oder gelesen/gehört haben. Wir entfernen aber gefälschte Rezensionen.



Table of Contents

Building a Home Security System with BeagleBone
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code and image files
Errata
Piracy
Questions
1. Alarm Systems 101
Door and window switches
The PIR – passive infrared sensor
Glass break sensors
The temperature rise sensor
Summary
2. Our Very First Alarm System
Zones
The hardware
The LM339 comparator
The EOL – End Of Line resistor
The software
Summary
3. Bigger and Better
The planning phase
Step 1 – the walkabout
Your dream home
The first floor
The second floor
Step 2 – the layered-defense technique
Step 3 – the installation
Switch contact wiring
Window and door contact wiring
Active sensor wiring
The software
Adding more outputs
Adding more inputs
BeagleBone I/O pins
Summary
4. Building the Hardware
Zone monitor PCB
Isolated output PCB
Connecting devices to the board
BeagleBone adapter PCB
Mechanical PCB assembly
Wiring harness assembly
Test harness
Summary
5. Testing the Hardware
The test equipment
Visual check
The zone input board
Power check
Troubleshooting power problems
Zone input tests
Alarm output board tests
Testing
Summary
6. Automating Stuff
The low-current solenoid driver
The DC-motor driver
The web page interface
Summary
7. Protecting Your Network
MyTraceRoute
Trace route examples
IPTraf
Configuring IPTraf
Summary
8. Keeping an Eye on Things
Yaler
Installing YalerTunnel
Enabling web access
SSH access
Configuring PuTTY
WiFi monitoring
Wavemon
Bluetooth monitoring
Summary
9. Going Further
An RFID reader
A fingerprint scanner
A geophone sensor
A barcode scanner
Summary
Index

Building a Home Security System with BeagleBone

Building a Home Security System with BeagleBone

Copyright © 2013 Packt Publishing

All rights reserved. No part of this book may be reproduced, stored in a retrieval system, or transmitted in any form or by any means, without the prior written permission of the publisher, except in the case of brief quotations embedded in critical articles or reviews.

Every effort has been made in the preparation of this book to ensure the accuracy of the information presented. However, the information contained in this book is sold without warranty, either express or implied. Neither the author, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this book.

Packt Publishing has endeavored to provide trademark information about all of the companies and products mentioned in this book by the appropriate use of capitals. However, Packt Publishing cannot guarantee the accuracy of this information.

First published: December 2013

Production Reference: 1101213

Published by Packt Publishing Ltd.

Livery Place

35 Livery Street

Birmingham B3 2PB, UK.

ISBN 978-1-78355-960-2

www.packtpub.com

Cover Image by Bill Pretty (<[email protected]>)

Credits

Author

Bill Pretty

Reviewers

Toni de la Fuente (Blyx)

Naoya Hashimoto

Jaime Soriano Pastor

Norbert Varga

Kelli Waxman

Acquisition Editor

Sam Birch

Commissioning Editor

Amit Ghodake

Copy Editors

Roshni Banerjee

Mradula Hegde

Dipti Kapadia

Deepa Nambiar

Karuna Narayanan

Kirti Pai

Lavina Pereira

Technical Editors

Shubhangi Dhamgaye

Pratik More

Nachiket Vartak

Project Coordinator

Akash Poojary

Proofreader

Ting Baker

Indexer

Tejal Soni

Graphics

Ronak Dhruv

Abhinash Sahu

Production Coordinator

Adonia Jones

Cover Work

Adonia Jones

About the Author

Bill Pretty began his career in electronics in the early 80s with a small telecom startup company that eventually became a large multinational. He left there to pursue a career in commercial aviation in North Canada. From there he joined the Ontario Center for Microelectronics, a provincially funded research and development center. He left there for a career in the military as a civilian contractor at what was then called the Defense Research Establishment, Ottawa. That began a career that was to span the next 25 years, and continues today.

Over the years, Bill has acquired extensive knowledge in the field of technical security and started his own company in 2010. That company is called William Pretty Security Inc. and provides support in the form of research and development to various law enforcement and private security agencies.

While this is Bill's first book, he has published and presented a number of white papers on the subject of technical security. Bill was also a guest presenter for a number of years at the Western Canada Technical Conference, a law-enforcement-only conference held every year in Western Canada. A selection of these papers is available for download on his website.

There are a number of people I would like to thank, for without their support this book would never have been started. My good friends Peter, Sam, Carol, Will, and Kelli for believing in me even when I didn't. To my life partner, Donna, who never stopped believing. And last but not least, my good friend and fellow code warrior Willie, the Mad Scott.

About the Reviewers

Toni de la Fuente is a Senior Solutions Engineer for Americas at Alfresco Software Inc. The highlight of his career is the more-than-14 years' experience he has in Systems Administration, Networking, and Security. He also has the LPI Linux and ITIL v3 certifications and is a Red Hat Certified Engineer (RHCE); recently, he has been certified as a AWS Technical Professional and AWS Business Professional.

He is an open source enthusiast, having founded different open source projects in previous years. He has participated in other open-source-related projects, such as Madrid Wireless, Fedora Linux, and OpenSolaris Hispano, and been referenced in books on network security. He is into teaching and regularly takes lectures, courses, and conferences at different events in Europe, the United States, and Latin America. He has also been contributing to the world of open source for more than 10 years with his blog http://blyx.com and through Twitter (@ToniBlyx).

I want to say thanks to Packt Publishing for their trust in me and to all the people who have spent tons of hours working at night making open source—you all make this world a better place, keep going.

Naoya Hashimoto has been working on Linux system integration and system and operation maintenance, both on premises and public cloud, for years. He has experience in planning, designing, and developing a new service to manage, maintain, and monitor a system on public cloud for 1-2 years in Japan.

His company is going to release a new service called Grow Cloud to manage, maintain, and monitor a system on Amazon Web Services this fall or winter in Japan. The customer support center supports Chinese, English, and Japanese. You can contact Naoya without hesitation if you have any question or are interested in our new service.

He has worked on books such as Icinga Network Monitoring and OSS DB Standard Text – PostgreSQL (http://www.oss-db.jp/ossdbtext/text.shtml) and was also involved in the translation of some chapters from Japanese to English.

Thanks to Amit Ghodake, Akash Poojary, Vineeta Darade, and Amigya Khurana for giving me the opportunity to review Chapter 7, Protecting Your Network, of Building a Home Security System with BeagleBone, which was the second time to review technical books, the first time was Icinga Network Monitoring. I wouldn't have had the experience to review this book without my work with Icinga. Lastly, I'd like to express my gratitude to Forschooner, Inc. as they have given me the opportunity to publish a company blog about OSS system integration and maintenance, mainly in Japanese and a few in English.

Jaime Soriano Pastor was born in Teruel, a small city in Spain. He has always been passionate about technology and sciences. While studying Computer Science at the university in his hometown, he had his first contact with Linux and free software, which has deeply influenced his career. Later on, he moved to Zaragoza to continue his studies and there he worked for a couple of companies on quite different and interesting projects, from operative systems in embedded devices to the cloud, giving him a wide view of several fields of software development as well as opportunities to travel around Europe. He currently lives in Madrid. Configuration management and continuous integration form part of his daily work as a tools engineer in a well-known Internet company.

Norbert Varga has over four years of experience in the software and hardware development industry. He is responsible for embedded software development, hardware-software integration, and wireless telecommunication solutions at his current employer, BME-Infokom.

He has extensive experience in networking and hardware-software integration and has engineered advanced systems, including wireless mesh networks and smart metering solutions. He also has a strong background in Linux system administration and software development.

Previously, Norbert worked as a software developer on various projects at the Budapest University of Technology and Economics (Department of Telecommunications), which is the most renowned technical university in Hungary. Norbert played a key role throughout all the development processes, ranging from initial planning through implementation to testing and production support.

Kelli Waxman is a high-tech crime investigator, adjunct faculty for Texas A&M TEEX, instructor at Homeland Security Defense Coalition, and President of National Security Consulting & Investigations PLLC. Kelli's background includes being a sociologist, criminolgist, MBA, private investigator, and former 100-mile endurance horse racer. She is an avid Grand Canyon hiker and advanced classical pianist. She is a US government contractor.

I'd like to thank Bill and Packt Publishing for being patient with us in returning the reviews. We were in the middle of major upgrades and migrations, as well as beta testing some products. Our engineers reminded us that their brains were tired.

www.PacktPub.com

Support files, eBooks, discount offers and more

You might want to visit www.PacktPub.com for support files and downloads related to your book.

Did you know that Packt offers eBook versions of every book published, with PDF and ePub files available? You can upgrade to the eBook version at www.PacktPub.com and as a print book customer, you are entitled to a discount on the eBook copy. Get in touch with us at <[email protected]> for more details.

At www.PacktPub.com, you can also read a collection of free technical articles, sign up for a range of free newsletters and receive exclusive discounts and offers on Packt books and eBooks.

http://PacktLib.PacktPub.com

Do you need instant solutions to your IT questions? PacktLib is Packt's online digital book library. Here, you can access, read and search across Packt's entire library of books. 

Why Subscribe?

Fully searchable across every book published by PacktCopy and paste, print and bookmark contentOn demand and accessible via web browser

Free Access for Packt account holders

If you have an account with Packt at www.PacktPub.com, you can use this to access PacktLib today and view nine entirely free books. Simply use your login credentials for immediate access.

This book is dedicated to anyone who has ever fallen down and had the courage to get back up.

In the words of Albert Einstein, "Anyone who has never failed, has never tried anything new."

Preface

I have been in the security industry for over 25 years, in one capacity or another, and there is something I would like to share with you.

One of the best kept secrets of the security and access control industry is just how simple the monitoring hardware actually is. It is the software that runs on the monitoring hardware that makes it seem cool.