Book Image

Raspberry Pi Home Automation with Arduino - Second Edition

By : Andrew K. Dennis
Book Image

Raspberry Pi Home Automation with Arduino - Second Edition

By: Andrew K. Dennis

Overview of this book

Table of Contents (16 chapters)
Raspberry Pi Home Automation with Arduino Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
4
Temperature Storage – Setting Up a Database to Store Your Results
Index

Chapter 5. Parcel Delivery Detector

In this chapter, we are going to build a device that will sense and trigger once a parcel is delivered. This project will build upon our previous work of building the Raspberry Pi control device.

We will be editing the database that we created in the previous chapter to store information on deliveries. We will then query this data via HTSQL.

We will be also be adding a functionality that will allow the Raspberry Pi to send us e-mail alerts. This functionality will also form the basis for alerts in Chapter 7, Water/Damp Detection – Check for Damp/Flooding in Sheds and Basements.

For this project, you will need:

  • An Arduino Uno

  • An Ethernet shield

  • A Cat-5 Ethernet cable

  • A power adaptor/wall wart/battery pack

  • A force-sensing resistor (pressure sensor)

  • Wires

  • A breadboard

  • A 10K ohm resistor

  • Your Raspberry Pi control device

  • Waterproof casing

  • A bin or box to place parcels in