Stay cool indoors this summer with Chris Rieger’s automated AC and blinds using a Raspberry Pi.
The Raspberry Pi has been setup to connect wirelessly to the network, where a web interface can be accessed which sends commands to a ‘controller’ script. There are two aspects to the build, the blind opener and airconditioning control. The easystepper motor driver is interfaced to an old stepper motor which drives the blinds. The step pulses are sent using the GPIO library. The LIRC library was used to record and send infrared information to control the air conditioning. The information had to be recorded in RAW mode, as the information length was longer than normal.
Raspberry Pi with a SD card
WIFI dongle (I used the EDUP dongle from DealExtreme)
A 5v 1.5A+ source (capable to drive both the Raspberry Pi and stepper motor)
Stepper Motor (My motor is salvaged from an old printer)
EasyDriver V4.4 Stepper Motor Driver Board
IR Receiver (I used the TSOP 31236, but most 36-38khz receivers should work)
NPN transistor (Any hobby transistor, I used the MPS A06)
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!