Introduction: LIGHTS and TV CONTROL

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!

Comments

author
DIY+Hacks+and+How+Tos made it!(author)2016-10-01

This is great for when you want to turn the lights out to watch a movie.

About This Instructable

577views

14favorites

License:

Bio: Maker, tecnico electronico, desarrollador e inventor.
More by SebastiánA13:LIGHTS and TV CONTROLWeather Station and LCDNewton´s Pendulum With Electricity
Add instructable to: