Table Of Content.
Arduino Home Automation Projects
.
Table of Contents
Arduino Home Automation Projects
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
Errata
Piracy
Questions
1. Building Wireless XBee Motion Detectors
Hardware and software requirements
Hardware configuration
Interfacing the PIR sensor with Arduino
Programming an XBee motion detector
Building a graphical interface for your XBee motion detectors
Summary
2. Control Lights from Your Phone or Tablet
Hardware and software requirements
Hardware configuration
.
Testing the relays and Wi-Fi connection
Building a graphical interface to control the relays
Testing the graphical interface
Summary
3. Measuring the Temperature Using Bluetooth
Hardware and software requirements
Hardware configuration
Creating the Arduino sketch
Testing the temperature and humidity sensor
Measuring the temperature and humidity remotely
Summary
4. Weather Station in the Cloud with Xively
Hardware and software requirements
Connecting the different components
Testing the sensors
Setting up your Xively account
Building the Arduino sketch
Log in and display data on Xively
Summary
5. Monitor Your Energy Consumption in the Cloud
Hardware and software requirements
Making hardware connections
Testing the project
Configuring your Xively account
Sending power consumption data to Xively
Summary
6. Hack a Commercial Home Automation Device
Hardware and software requirements
Hardware configuration
Controlling the device from your computer
Building a graphical interface
.
Summary
7. Build Your Own Home Automation System
Hardware and software requirements
Building an Arduino system from scratch
Testing the Arduino system
Designing a PCB for your home automation system
Fabricating the board
Designing and 3D printing a case for your home automation project
Summary
Index
.
Arduino Home Automation Projects
.
Arduino Home Automation Projects
Copyright © 2014 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: July 2014
Production reference: 1160714
Published by Packt Publishing Ltd.
Livery Place
35 Livery Street
Birmingham B3 2PB, UK.
ISBN 978-1-78398-606-4
www.packtpub.com
Cover image by Pratyush Mohanta (<tysoncinematics@gmail.com>)
.
Credits
Author
Marco Schwartz
Reviewers
Santiago Reig Chiva
Charalampos Doukas
Francis Perea
Commissioning Editor
Edward Gordon
Acquisition Editor
Harsha Bharwani
Content Development Editor
Akashdeep Kundu
Technical Editor
Edwin Moses
Copy Editors
Gladson Monteiro
Adithi Shetty
Project Coordinator
Neha Thakur
Proofreaders
Simran Bhogal
Paul Hindle
Indexers
Hemangini Bari
Tejal Soni
Production Coordinators
Aparna Bhagat
Manu Joseph
Conidon Miranda
Cover Work
.
Conidon Miranda
.
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 EPFL, Switzerland.
He has more than 5 years of experience working in the domain of electrical engineering.
His interests gravitate around electronics, home automation, the Arduino and Raspberry Pi
platforms, open source hardware projects, and 3D printing.
He runs several websites based on Arduino, including the Open Home Automation
website that is dedicated to building home automation systems using open source
hardware.
He has written another book on home automation and Arduino called Home Automation
with Arduino, CreateSpace. He has also published a book on how to build Internet of
Things projects with Arduino called Internet of Things with the Arduino Yun, Packt
Publishing.
.