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

Next steps


Now we have a simple curtain control device up and running in our room. Let's look at some of the next steps.

Mounting the photoresistor outdoors

You may have noticed that turning the lights on in the room trips the light sensor, which is not good. Therefore, it would make sense to mount the photoresistor outside the house if you haven't done that already.

Your circuit should be easy to modify to include this feature. All you will need to do is extend the length of the wires connecting the photoresistor to the bridge shield.

These wires could then be fed through a window, allowing the Raspberry Pi to be stored inside so that it can be connected to the blinds.

Adding a stepper motor

Another motor type we could consider using is a DC stepper motor. A stepper motor divides a full revolution into an equal number of steps. The motor can then be controlled to move through each of these steps and paused at a certain step if needed.

Therefore, you can incrementally wind the curtain cord using...