Building Smart Homes with Raspberry Pi Zero
eBook - ePub

Building Smart Homes with Raspberry Pi Zero

Marco Schwartz

Share book
  1. 196 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub

Building Smart Homes with Raspberry Pi Zero

Marco Schwartz

Book details
Book preview
Table of contents
Citations

About This Book

Build revolutionary and incredibly useful home automation projects with the all-new Pi Zero

About This Book

  • Create and program home automation projects using the Raspberry Pi Zero board
  • Connect your Raspberry Pi Zero to a cloud API, and then build a cloud dashboard to control your devices
  • Integrate all the projects into a complex project to automate key aspects of your home: data monitoring, devices control, and security

Who This Book Is For

This book is for enthusiasts and programmers who want to build powerful and inexpensive home automation projects using the Raspberry Pi zero, and to transform their home into a smart home. It is for those who are new to the field of home automation, or who already have experience with other platforms such as Arduino.

What You Will Learn

  • Learn how to measure and store data using the Raspberry Pi Zero board
  • Control LED lights, lamps, and other electrical applications
  • Send automated notifications by e-mail, SMS, or push notifications
  • Connect motion detectors, cameras, and alarms
  • Create automated alerts using Raspberry Pi Zero boards
  • Control devices using cloud-based services
  • Build a complete home automation system using Pi Zero

In Detail

The release of the Raspberry Pi Zero has completely amazed the tech community. With the price, form factor, and being high on utility—the Raspberry Pi Zero is the perfect companion to support home automation projects and makes IoT even more accessible.

With this book, you will be able to create and program home automation projects using the Raspberry Pi Zero board. The book will teach you how to build a thermostat that will automatically regulate the temperature in your home. Another important topic in home automation is controlling electrical appliances, and you will learn how to control LED Lights, lamps, and other electrical applications.

Moving on, we will build a smart energy meter that can measure the power of the appliance, and you'll learn how to switch it on and off. You'll also see how to build simple security system, composed of alarms, a security camera, and motion detectors. At the end, you will integrate everything what you learned so far into a more complex project to automate the key aspects of your home.

By the end, you will have deepened your knowledge of the Raspberry Pi Zero, and will know how to build autonomous home automation projects.

Style and approach

This book takes a step-by-step approach to automate your home like never before!

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on “Cancel Subscription” - it’s as simple as that. After you cancel, your membership will stay active for the remainder of the time you’ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlego’s features. The only differences are the price and subscription period: With the annual plan you’ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Building Smart Homes with Raspberry Pi Zero an online PDF/ePUB?
Yes, you can access Building Smart Homes with Raspberry Pi Zero by Marco Schwartz in PDF and/or ePUB format, as well as other popular books in Informatica & Hardware. We have over one million books available in our catalogue for you to explore.

Information

Year
2016
ISBN
9781786466952
Subtopic
Hardware
Edition
1

Building Smart Homes with Raspberry Pi Zero


Table of Contents

Building Smart Homes with Raspberry Pi Zero
Credits
About the Author
About the Reviewer
www.PacktPub.com
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
Errata
Piracy
Questions
1. Configuring Your Raspberry Pi Zero Board
Introducing the Raspberry Pi Zero board
Required components for the Zero board
Assembling the different components
Installing Raspbian
Configuring the board for remote access
Installing Node.js
Summary
2. Measure Data Using Your Raspberry Pi Zero Board
Hardware and software requirements
Hardware configuration
Software configuration
Reading data from the sensor
Storing sensor data
Accessing the data remotely
Plotting the stored data
Summary
3. Building a Smart Home Thermostat
Hardware and software requirements
Hardware configuration
Testing individual components
Building the thermostat
Controlling the thermostat remotely
Summary
4. Controlling Appliances fromthe Raspberry Pi Zero
Hardware and software requirements
Controlling LEDs
Controlling the speed of a DC motor
Controlling home appliances
Summary
5. Making a Smart Plug with the Raspberry Pi Zero
Hardware and software requirements
Hardware configuration
Configuring the smart plug
Creating an interface for the smart plug
Logging your energy consumption over time
Summary
6. Sending Notifications using Raspberry Pi Zero
Hardware and software requirements
Making a motion sensor that sends text messages
Sending temperature alerts through email
Receiving measurement SATA through push notifications
Summary
7. Use the Raspberry Pi Zero to Build a Security System
Hardware and software requirements
Building a motion sensor with the Pi Zero
Making a simple alarm module
Building a wireless security camera
Creating a security system
Summary
8. Monitor Your Home from the Cloud
Hardware and software requirements
Monitoring data from a cloud dashboard
Creating a cloud dashboard for your devices
Accessing your security camera from anywhere
Summary
9. Control Appliances from Anywhere
Hardware and software requirements
Control a LED from anywhere in the world
Creating several lamps from the cloud
Make a motion-activated lamp using IFTTT
Build an automated cloud thermostat
Summary
10. Building a Home Automation System with Raspberry Pi Zero Boards
Hardware and software requirements
Building all the modules
Configuring the modules
Integrating the modules into a single interface
Automating your home
Accessing your home automation system from anywhere
Summary
Index

Building Smart Homes with Raspberry Pi Zero

Copyright © 2016 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: October 2016
Production reference: 1241016
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78646-695-2
www.packtpub.com

Credits

Author
Marco Schwartz
Reviewer
Vasilis Tzivaras
Commissioning Editor
Kartikey Pandey
Acquisition Editor
Prachi Bisht
Content Development Editor
Trusha Shriyan
Technical Editors
Nirant Carvalho
Naveenkumar Jain
Copy Editors
Safis Editing
Sneha Singh
Project Coordinator
Kinjal Bari
Proofreader
Safis Editing
Indexer
Pratik Shirodkar
Graphics
Kirk D'Penha
Production Coordinator
Shantanu N Zagade
Cover Work
Shantanu N. Zagade

About the Author

Marco Schwartz is an electrical engineer, entrepreneur, and blogger. He has a master's degree in electrical engineering and computer science from Supélec, France, and a master's degree in micro engineering from the Ecole Polytechnique Fédérale de Lausanne (EPFL), Switzerland.
He has more than five years of experience working in the domain of electrical engineering. Marco's interests gravitate around electronics, home automation, the Arduino and Raspberry Pi platforms, open source hardware projects, and 3D printing.
He has several websites about Arduino, including the Open Home Automation website, which is dedicated to building home automation systems using open source hardware.
Marco has written another book on home automation and Arduino, called Home Automation With Arduino: Automate Your Home Using Open-source Hardware. He has also written a book on how to build Internet of Things projects with Arduino, called Internet of Things with the Arduino Yun, by Packt Publishing.

About the Reviewer

Vasilis Tzivaras is a software developer and hardware engineer who lives in Ioannina, Greece. He is currently an undergraduate student of the department of computer science and engineering at Ioannina. Along with his studies, he is working on many projects relevant to robotics, such as drones, home automation, and smart home systems using Arduino and the Raspberry Pi. He is also enthusiastic about clean energy solutions and cultural innovation ideas.
He has worked for the University Hospital of Ioannina as an assistant for various computer issues and ha...

Table of contents