Reader small image

You're reading from  Raspberry Pi Home Automation with Arduino - Second Edition

Product typeBook
Published inFeb 2015
Publisher
ISBN-139781784399207
Edition1st Edition
Right arrow
Author (1)
Andrew K. Dennis
Andrew K. Dennis
author image
Andrew K. Dennis

Andrew K. Dennis is a full stack and cybersecurity architect with over 17 years' experience who currently works for Modus Create in Reston, VA. He holds two undergraduate degrees in software engineering and creative computing and a master's degree in information security. Andy has worked in the US, Canada, and the UK in software engineering, e-learning, data science, and cybersecurity across his career, and has written four books on IoT, the Raspberry Pi, and supercomputing. His interests range from the application of pataphysics in computing to security threat modeling. Andy lives in New England and is an organizer of Security BSides CT.
Read more about Andrew K. Dennis

Right arrow

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...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Raspberry Pi Home Automation with Arduino - Second Edition
Published in: Feb 2015Publisher: ISBN-13: 9781784399207

Author (1)

author image
Andrew K. Dennis

Andrew K. Dennis is a full stack and cybersecurity architect with over 17 years' experience who currently works for Modus Create in Reston, VA. He holds two undergraduate degrees in software engineering and creative computing and a master's degree in information security. Andy has worked in the US, Canada, and the UK in software engineering, e-learning, data science, and cybersecurity across his career, and has written four books on IoT, the Raspberry Pi, and supercomputing. His interests range from the application of pataphysics in computing to security threat modeling. Andy lives in New England and is an organizer of Security BSides CT.
Read more about Andrew K. Dennis