Raspberry Pi Home Automation with Arduino - Second Edition

Unleash the power of the most popular microboards to build convenient, useful, and fun home automation projects

Raspberry Pi Home Automation with Arduino - Second Edition

Andrew K. Dennis

2 customer reviews
Unleash the power of the most popular microboards to build convenient, useful, and fun home automation projects
Mapt Subscription
FREE
€29.98/m after trial
eBook
€12.60
RRP €17.98
Save 29%
Print + eBook
€23.99
RRP €23.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
€0.00
€12.60
€23.99
€29.98p/m after trial
RRP €17.98
RRP €23.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781784399207
Paperback148 pages

Book Description

Revolutionize the way you interact with your home and become part of the rapidly growing group of hobbyists and enthusiasts by combining the powerful Raspberry Pi with an Arduino board.

Starting with an introduction to the Raspberry Pi and Arduino boards you will set up your very own home automation system through a series of exciting projects, making your life a lot easier.

Build a thermostat, a Raspberry Pi control device, a parcel delivery detector, and a water and damp detector, and then move on to more complex projects including a motor mechanism to control your curtains.

By the end of this practical guide, you will be a confident user who can program, set up, and run a wide range of applications using both the Raspberry Pi and the Arduino.

Table of Contents

Chapter 1: An Introduction to the Raspberry Pi, Arduino, and Home Automation
History and background of the Raspberry Pi
History and background of the Arduino
What is home automation?
Summary
Chapter 2: Getting Started – Setting Up Your Raspberry Pi and Arduino
The SD card – our Raspberry Pi's storage device
Preinstalled SD card versus a blank SD card
A note on Noobs
Downloading Raspbian
Setting up the SD card and installing Raspbian
Arduino
Summary
Chapter 3: Central Air and Heating Thermostat
Safety first
Introducing the thermostat
Setting up our hardware
Setting up our software
Testing our thermostat and fan
Next steps
Summary
Chapter 4: Temperature Storage – Setting Up a Database to Store Your Results
SSH
SQLite
HTSQL
Summary
Chapter 5: Parcel Delivery Detector
Wiring up the parcel sensor
Updating the Raspberry Pi database
A web-based Python application
Installing the parcel detector
Next steps
Summary
Chapter 6: Curtain Automation – Open and Close the Curtains Based on the Ambient Light
Introduction to the Arduino bridge shield
Setting up the photoresistor
Wiring up the components
Testing the photoresistor with software
Setting up the motor shield
Wiring the components to the shield
Curtain control application
Connecting to your blinds/curtains
Next steps
Summary
Chapter 7: Water/Damp Detection – Check for Damp/Flooding in Sheds and Basements
A brief note on dampness
Damp detection system
Database updates
Python code
Using the humidity reading
Water detection
Summary
Chapter 8: Wrapping Up
A brief review of the second edition of Raspberry Pi Home Automation with Arduino
Next steps
Ideas for future projects
The future of home automation
Summary

What You Will Learn

  • Set up the Raspberry Pi and the Cooking Hacks Arduino bridge shield
  • Work with electronic components to build small circuits
  • Develop applications that interact with your circuits
  • Use thermistors, FSRs, and photoresistors to monitor and control your surroundings
  • Communicate with your Raspberry Pi from an Arduino Uno via Ethernet
  • Send yourself e-mail updates when a parcel arrives at your home
  • Control your own mains power with a relay shield and even connect a motor to your Raspberry Pi
  • Build a device that checks for damp/flooding using the Arduino bridge shield and Raspberry Pi

Authors

Table of Contents

Chapter 1: An Introduction to the Raspberry Pi, Arduino, and Home Automation
History and background of the Raspberry Pi
History and background of the Arduino
What is home automation?
Summary
Chapter 2: Getting Started – Setting Up Your Raspberry Pi and Arduino
The SD card – our Raspberry Pi's storage device
Preinstalled SD card versus a blank SD card
A note on Noobs
Downloading Raspbian
Setting up the SD card and installing Raspbian
Arduino
Summary
Chapter 3: Central Air and Heating Thermostat
Safety first
Introducing the thermostat
Setting up our hardware
Setting up our software
Testing our thermostat and fan
Next steps
Summary
Chapter 4: Temperature Storage – Setting Up a Database to Store Your Results
SSH
SQLite
HTSQL
Summary
Chapter 5: Parcel Delivery Detector
Wiring up the parcel sensor
Updating the Raspberry Pi database
A web-based Python application
Installing the parcel detector
Next steps
Summary
Chapter 6: Curtain Automation – Open and Close the Curtains Based on the Ambient Light
Introduction to the Arduino bridge shield
Setting up the photoresistor
Wiring up the components
Testing the photoresistor with software
Setting up the motor shield
Wiring the components to the shield
Curtain control application
Connecting to your blinds/curtains
Next steps
Summary
Chapter 7: Water/Damp Detection – Check for Damp/Flooding in Sheds and Basements
A brief note on dampness
Damp detection system
Database updates
Python code
Using the humidity reading
Water detection
Summary
Chapter 8: Wrapping Up
A brief review of the second edition of Raspberry Pi Home Automation with Arduino
Next steps
Ideas for future projects
The future of home automation
Summary

Book Details

ISBN 139781784399207
Paperback148 pages
Read More
From 2 reviews

Read More Reviews

Recommended for You

Raspberry Pi Cookbook for Python Programmers Book Cover
Raspberry Pi Cookbook for Python Programmers
€ 25.18
€ 17.64
Raspberry Pi Home Automation with Arduino Book Cover
Raspberry Pi Home Automation with Arduino
€ 20.38
€ 4.08
Arduino Home Automation Projects Book Cover
Arduino Home Automation Projects
€ 13.18
€ 9.24
Raspberry Pi Networking Cookbook Book Cover
Raspberry Pi Networking Cookbook
€ 20.38
€ 14.28
Python Machine Learning Book Cover
Python Machine Learning
€ 39.58
€ 27.72
Python Programming for Arduino Book Cover
Python Programming for Arduino
€ 28.78
€ 20.16