This instructable is a detailed guide on how to build an automated controller to run a motor that can operate the opening and closing of blinds. The controller enables the blinds to open and close based on a schedule, room temperature and out door luminosity. The controller settings can be set up via a web UI which enables a user to open or close the blinds manually or place them on a schedule with certain parameters. 

This project will guide you through creating simple circuits for the sensors, hacking the motor shield so it can be stacked with the arduino and ethernet shield and implementation of the code (note all code is provided and is fully commented). The project is laid out in the following manner. First the controller and system will be constructed. Then the logic behind the code will be explained. The last page will contain the code and link to download so it can be installed on the arduino.

So I hope you enjoy this instructable, gain from it and most importantly have fun.

Table of contents:

1.Requirements and parts
2.Wiring the sensors.
3.Wiring the arduino and shields.
4.Hacking the motor shield.
5.Code logic.

Step 1: Requirements and parts

This project is fairly simple to create and set up since the most difficult part, the code, is fully provided. The setting up the arduino and shields is fairly straight forward. Below is a list of parts you will need for this project. I have also listed the prices for these parts if you need do not have them. Most of these can be ordered from Adafruit, Sparkfun or the robotshop.

1. Arduino ($30)
2. Ethernet shield ($50)
3. Motor Shield ($20)
4. Analog temperature (TMP36)  sensor ($2)
5. Photocell ($1)
6. 20 pin 0.1" Female Headers ($3)
7. Breadboarding Wire Bundle (6)
8. Breadboard friendly 2.1mm DC Jack ($1)
9. 12 V Stepper Motor (14)
10. 100 ohm resistor
11. MicroSD card (1gb card is good and can be found for as little as $2).
12. 2 Full breadboards ($14)
13. 12V AC adapter. (powers the motor only)
14. battery pack for the arduino

Remember, all these parts can be used for other projects, so don't worry too much about the cost because you'll be able to use them in many more projects, unless of course you are gonna use this as a permanent installment.

Equipment needed
1.Soldering iron
2.Soldering Fan
3. Small screwdriver.
<p>Its interesting :)</p>
<p>Its cooler</p>
<p><br>Thats breathtaking</p>
<p>Its brilliant :)</p>
<p>Its trendy :)</p>
<p>Its sensational looking :)</p>
<p>Thats good...</p>
<p>Here, I made Weather Station using Ethernet shield</p><p><a href="http://www.instructables.com/id/Arduino-Web-Weather-Server/" rel="nofollow">http://www.instructables.com/id/Arduino-Web-Weather-Server/</a></p>
<p>Its phenomenal :)</p>
Can I connect more than 1 motor ?
<p>There is now an automated blind retrofit kit on kickstarter. </p><p>https://www.kickstarter.com/projects/551966671/automate-your-blinds-with-a-smart-control-kit-in-1</p>
<p>If you're into doing this but the price tag is a tad steep you can look into getting a continuous servo motor instead, round $11 on eBay(just make sure it has enough torque). That way you don't need a motor shield. Also there are plenty of cheaper third party Ethernet shields on eBay (~$10), but supporting Arduino is nice of course :)</p>
<p>Really good</p>
<p>Its interesting</p>
<p>Thats brilliant</p>
<p><br><br>Thats extremely good</p>
<p><br>Its incredible :)</p>
<p><br>Very good</p>
<p><br>Its useful</p>
<p>Its striking<br><br></p>
<p>Hi guys! Let me take a minute of your time.</p><p>Our young startup has developed a revolutionary product for automation of existing window blinds. It is Wi-Fi and ZigBee enabled. We have launched a Pre-Order campaign today - please like, share and contribute! <br>Check out the link below: http://bit.ly/1bkbCHh</p>
<p>do you have the updated version of the code? because its not working it has alot of errors....any advised?</p>
<p><br>Thats great</p>
<p>Its marvelous :)</p>
do you have the updated version of the code? because its not working it has alot of errors....any advised?
do you have the updated version of the code? because its not working it has alot of errors....any advised?
Very nice job, and food for thought in the future. However, how the heck would one hook the servo to window blinds? Just wrapping the cord around the motor spindle won't do the job for very long. Using two power supplies makes it simple, but how many people have two outlets below the blind to plug in wall warts? One would have to use wall power since the servo would discharge a battery in a short time. I have to think of the aesthetics of a couple of wall warts plugged in below a window with the wires routing up the wall to a big ol' servo nailed somehow and attached to the cord or twist projection on the blind; especially since most wall warts are black.
Hey. If you connect the motor to a IKEA rollar blinds (come in various sizes and range from 10 to 20 dollars), the motors produces enough torque to rotate the shaft to open and close the blinds. As soon as I get time, I will upload a instructable on how to connect the motor to the blinds, but for now, experiment. As for the power required. A standard 9V power supply connected to the motor should last for a couple of weeks. I am working on a more efficient circuit design(the one given is extremely basic). Overall the conclusion is that this instructable is mostly an opportunity to experiment.
Hi, awesome tutorial, <br>did you get around on how to connect the motor to the blinds? <br>would be much appreciated, <br>thanks for your time. :)
Good one
Good one
<br> <br>Thats awe-inspiring
Its trendy

About This Instructable


320 favorites


More by FreedomToCreate: Arduino controlled automated blinds with Web UI
Add instructable to: