How To Build Your Own AC and Blind Controller #piday #raspberrypi @Raspberry_Pi
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!
Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on code.org, jump into CircuitPython to learn Python and hardware together, or even use Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for MakeCode, CircuitPython, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.