Introduction: LIGHTS and TV CONTROL

About: Maker, tecnico electronico, desarrollador e inventor.

The next project is to control lights with any TV remote control.

Step 1: Materials

1 Arduino

1 Channel Relay Shield

1 Detector infrared TSOP4838

Cables

Software Arduino

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.

https://github.com/z3t0/Arduino-IRremote

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.

Step 5: Ready!