So, What is this thing?! and What does it do?!
TV-B-Gone is a universal remote control , that turns off or shuts down most TVs , it has a lot of TV shut down codes , so it transmits these codes through the IR Led , and it can take up to 2 minutes to find the right code for your TV , the TV-B-Gone Arduino library has two lists of shut down codes , US for American TVs and EU for European TVs , and there is a switch to toggle between them , so lets get started :D
DO NOT USE IT IN PUBLIC IMPORTANT PLACES THAT CONTAINS DANGEROUS DEVICES LIKE HOSPITALS , I AM NOT RESPONSE ABLE FOR ANY DAMAGES.
All rights reserved to Ken Shirriff's blog
Step 1: Let's Gear UP! :D
We will need the following components to get this remote up and running.
-power source to power up the arduino like 9v battery or power bank.
Step 2: Wiring.
Now, just connect the jumper cables and the rest of the components like shown on the schematics.
But make sure that the IR led placed correctly out side of the Arduino so it can transmit clear IR signals to the tv.
The led is for making sure that the tv-b-gone is working and transmitting IR signals.
The push button is used as a trigger to transmit the IR signals.
The toggle switch is used to switch between US and EU TV Codes.
Step 3: Programming Your Arduino!
Now connect your Arduino to your computer or laptop , download This Libraryand add it to your Arduino IDE by following these pictures , then open the sketch , upload it to your Arduino and start shutting down some TVs :D!!
If there is compiling error just use old Arduino IDE version (Arduino 1.0.6 1.5.2).
Step 4: Questions&Answers!
So, How does it works?!
When you push the trigger button the IR Led starts to transmit various Codes to shut down the TV, there are 2 list of codes that you switch between them by toggling the toggle switch, the (Default) US codes for the US TVs and the EU codes for the EU TVs.
What should you do if it isn't working?!
If the TV didn't turn off , toggle the toggle switch to use EU list of Codes and check if your IR Led working by pointing your mobile's camera to it because mobile's camera doesn't have IR filter so it can by captured by the camera.