Want a smart air conditioner without having to buy a new one? Retrofit your existing window unit with littleBits and turn it into an internet-connected device. Forget to turn the AC off? No problem, just press a button on your phone to turn it off! Cool down your apartment on the way home from work? Easy! Save energy and save $$$ with this easy DIY project.
How it works:
Monitor - The temperature sensor transmits data through the cloudBit to Cloud Control. You will be able to see the temperature readout in cloud control under the “receive” tab. When at home, you will also be able to see the temperature displayed on the number module. Now you can always know the temperature in your apartment/house.
Control - Use Cloud Control to turn your AC unit on or off using the IR transmitter and the AC switch. When you press the button in Cloud Control, you send a signal to the cloudBit in your home. This signal is passed on to the IR transmitter, which outputs a burst of infrared light. [Note: you won’t be able to see this burst of light because the IR spectrum is not visible to the human eye. This is the same control technology used in your television's remote control]. The AC switch has an infrared sensor that picks up this burst of IR light and toggles the window unit’s power on and off.
Automate - Use IFTTT to automatically turn your AC unit on/off in response to conditions that you set. IFTTT (If This Then That) is a service that lets you connect to different web apps through simple conditional statements. Use the Date & Time channel to turn your AC on at 5pm and off at 8pm, or create a location based trigger that turns your AC unit on when you enter your home zone with the iOS or Android Location channels.
Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.
Step 1: Set Up Your CloudBit If You Haven’t Done So Already.
Step 2: Connect Your Circuit
USB power + temperature sensor + number + cloudBit + IR transmitter.
We held our circuit together with littleBits Adhesive Shoes and mounted it to our AC unit. Set the number module to “value” mode so it will display the temperature data in either fahrenheit or celsius. Switch between the two readouts by flipping the switch on the temperature sensor board.
Step 3: Configure AC Unit
Turn on your AC unit and set a desired temperature. While it is still on, unplug it.
Step 4: Configure AC Switch
Plug the AC Switch into the wall. Now, plug your AC unit into the AC switch. You will notice that the AC switch has a small oval-shaped sensor tethered to it. You will want to position this sensor so that there is a direct line of sight between it and the IR transmitter on your littleBits circuit.
Note: the IR transmitter emits light out from the side of the board. You will need to position the circuit so that the side of the IR transmitter is facing the AC switch. IR light is invisible to the human eye so you won't see anything happen on the board when you trigger the IR transmitter. In our case, we placed the sensor directly below our circuit on the AC unit.
Step 5: Configure IR Transmitter
Prepare the IR transmitter. The IR transmitter has four channels and is able to work with up to four AC switches. However, for this project, unless you have more than one AC switch, you only need to use one channel on the IR transmitter. Set one of the little switches on the IR transmitter to the "on" position.
Step 6: Pair the IR Transmitter With the AC Switch
If you have a button module handy, temporarily replace the cloudBit in your circuit with it [if not, you can still use the cloudBit - the button just makes it easier to test quickly]. On the AC switch, you will see a slow blinking red light. If you don’t see this, hold down the button on the AC switch until you do. On your circuit, press the button module to pair with the IR transmitter. You should see the red light on the AC switch blink very quickly and then go off.
Step 7: Test the Circuit
Now, when you press the button module, your AC unit should turn on. Press it again and your AC unit should turn off. If it doesn't work, check all the connections of your plugs and/or try adjusting the positioning of the IR transmitter. To reset the AC switch, just hold the button down until the red light starts blinking slowly again.
Step 8: Make It Smart!
Once you know your circuit works, replace the button module with the cloudBit. Wait for the cloudBit to connect to wifi (the status LED should be solid green), and then use the button on Cloud Control to remotely turn your AC unit on and off.