Most of the buttons on a remote control are never used. So why not use them to control appliances and other electronics around your house. In this project, I am going to show you how to use an Arduino to decode the signal from your remote and use it to make an outlet switch that can turn your electronics on and off.
When you are done, you will be able to control lights, fans and even your coffee maker with your TV remote.
Step 1: Materials
AC Power Adapter For the Arduino
38 kHz Infrared Receiver Module (Radio Shack part# 276-640)
Momentary Pushbutton Switch
Two 100 ohm Resistors
10 kohm Resistor
5V Relay or Relay Shield
Printed Circuit Board
Plastic Project Housing
Soldering Iron and Solder
Drill and Bit Set
Hot Glue Gun
Step 2: Download and Install the IR Remote Library
The first thing that you need to do for this project is download the library zip file. You can find it here: https://github.com/shirriff/Arduino-IRremote
Click "Download ZIP" on the right side of the page and save the zip file. Then unzip it. Rename the folder "IRRemote" (unless that name is already being used).
Then copy the folder into your libraries directory. The libraries directory should contain the folder "IRremote." If for some reason you already have a folder with this name, then you may need to rename it. The IRremote folder should contain the files. A lot of problems experienced when uploaded in the code, are caused be the library not being loaded in the correct location.