The next project is to control lights with any TV remote control.
Step 1: Materials
1 Channel Relay Shield
1 Detector infrared TSOP4838
Step 2: Assembly of the Circuit
In the relay module, connects the extension of leds, interrupting a power line. An inthe Center and another cable at one end.
Step 3: Download This Library
You must download the following file, unzip it and paste the entire contents into the Arduino libreries folder.
Step 4: Code
The first thing is to know that code corresponds to each control pad. This is done in the serial monitor and pressing the keys you want. When you already know the codes of the keys, replace them in my code.