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

Setting up the motor shield


The first part of the circuit is now complete. We have a device that can record the change in light and can send this information to our application via an analog pin.

Now we need to connect our photoresistor to the motor shield. Once these are connected, we will have a device that can be used to control curtains or blinds.

Let's start by setting up our hardware.