Technically, because TV-B-Gone is a brand name, this is a "TV-B-Gone clone."
I used an ATtiny 85v as the "brains" of this, programmed with Adafruit's original code. It runs off of a 9v battery with a 5v regulator to power the microcontroller. The the LED array has 12 infrared LEDs in it, and the microcontroller is connected to a transistor that can power the whole array. The 12 LEDs blast out almost every TV on-off code, allowing you to turn pretty much any TV on or off. A 3mm green LED blinks between each code to show that it's working. When the battery is removed it is significantly smaller than the original TV-B-Gone, allowing for easy hiding.
Also, I'm entering in the microcontroller contest. If you think I'm worthy enough, give me a vote!
Step 1: Materials
Each name is a link to a Mouser part you can click (you don't have to use Mouser, I just like them because of great service and how close to my house they are).
- 9v battery clip
- ATtiny 85v microcontroller - $1.82
- 5v voltage regulator - $0.37 (I used a small 78L05 100ma package, a larger 7805 one would work but take up more space)
- NPN transistor - $0.10
- 2x 150 ohm resistor - $0.05 each (One of them is optional for the LED)
- 22uf capacitor - $0.06 (Pretty much any value close to or higher than this will work)
- Small pushbutton - $0.29 (This is slightly different than the one I used)
- 8MHz resonator - $0.50
- 3mm LED - $0.06 (Optional)
- 6x Narrow-beam IR LEDs - $0.18 each
- 6x Wide-beam IR LEDs - $0.19 each
- AVR programmer (I used a USBtinyISP, a good, cheap programmer made from a kit)
- Computer with internet access; I predict you are using one right now :-)
- Soldering iron with solder
- Helping hands tools, very, VERY helpful (probably required for this project)