更新时间:2021-07-30 09:47:19
封面
版权页
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Chapter 1. Setting Up Your Raspberry Pi
Which flavor of Pi?
Preparing the SD card
Setting up your Pi
Summary
Chapter 2. Connecting Things to Your Pi with GPIO
Prerequisites
Say hello to the GPIO
Getting acquainted with the GPIO
The most elaborate light switch in the world
Chapter 3. Extending Your Pi to Connect More Things
The I2C bus
Give me power
Building an I2C expander
Using ready-made expansion boards
Chapter 4. Adding a Magnetic Contact Sensor
The working of magnetic contact sensors
Setting up the I2C port expander
Connecting our magnetic contact sensor
Monitoring the sensor
Anti-tamper circuits
Getting into the zone
Chapter 5. Adding a Passive Infrared Motion Sensor
Passive infrared sensors explained
Give me power (again)
Connecting our PIR motion sensor
12V alarm zone circuits
Wireless PIR motion sensors
Logging detection data
Chapter 6. Adding Cameras to Our Security System
The Raspberry Pi camera module
Be a video star
You have new mail
Night vision
Using USB cameras
The multicamera setup
Chapter 7. Building a Web-Based Control Panel
Installing the web server
Being in control
The master configuration file
Creating the web page
Remote access to our control panel
Chapter 8. A Miscellany of Things
Arming and disarming the system
Driving inductive loads
Beyond intrusion
Remote administration for our Raspberry Pi
Chapter 9. Putting It All Together
Alarm system diagram
Designing the control scripts
Building the control script
Automatically starting the system
Preserving the SD card
Conclusion
Index