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!
Remove these ads by
Signing UpStep 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
Tools:
- 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)





















































Visit Our Store »
Go Pro Today »




And how much would it cost to ship to New Zealand if possible?
Use Arduino as ISP: http://www.arduino.cc/playground/Code/MegaISP
Wiring diagram: http://arduino.cc/en/Tutorial/ArduinoISP
(Checks).... Yes I was correct, though it costs $5 USD, though there doesn't seem to be any shipping cost (just using their shipping calculator)...
I know one can use an Arduino in ISP mode, though I am note sure if it has the capabilities to change the ATtiny's "fuses" ... If it is possible I would love to see someone write the code for it... (I'm not quite proficient in coding to do it myself)
http://www.instructables.com/id/Program-an-ATtiny-with-Arduino/
avrdude -c avrisp -p insert_part_name -P insert_com_port -b 19200 -U flash:w:filename.hex
I just was browsing the Arduino forums, for more information try http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1277933355
~Shadow
I keep thinking of making a TVBGone ballcap, with the LEDs in the brim and a switch on the back. Would there need to be any modifications made if the LEDs were at a distance from the rest of the circuit, say 12" of wire or so?
im from Portugal and i bought the tv-bgone chip from adafruit
i mounted the circuit like this one and i see that it lights up the led and with a camera i can see the IR light up too...what im thinking is that they sold me a version that work only in america...could you tell me where you from?
is there anyway to bypass this? i dont have a programmer for reporgram the chip
thank you
http://forums.adafruit.com/viewtopic.php?f=23&t=24377
Sorry for the extremely late reply. Good luck, have fun, and update me on if it works or not if you have time!
http://www.instructables.com/id/350-DIY-TV-B-Gone-Mico/step20/Update-Using-a-v12-Preprogrammed-Chip/
ive learnt that from http://www.instructables.com/member/Kipkay/
I've recently gotten back into electronics and decided to give your instructable a go, and here's the result!
I decided to breadboard it out first, and it works great. I had a glee-filled half hour screwing with my girlfriend's chick flick from down the hallway. I'll be moving it to a more permanent enclosure and taking it to walmart or similar in the next week.
Thanks for a great instructable!
-D
Found a nice inconspicuous enclosure in an old cell phone. I gutted the thing and slapped the components on a pcb. Only real issue is the thickness of the 9v battery. I managed to retain the case's functionality, at least. So it still flips up and has enough springiness to stay closed -- the back battery door is taped on, though, because of the extra 1cm that the battery sticks out. The electrical tape blends in well, though, and you can't really tell.
The button is superglued to one of the plastic exteriors of one of the pre-existing buttons on the side of the phone, which means I'm not pushing some awkward mini button with my finger. Instead, I can hold this phone loosely at my side, which looks completely natural, and press/hold the button with my thumb that is resting on the side of the case. Totally unseen unless someone notices the 12 LEDs behind the exterior LCD window (the lcd being ripped out).
Pictures!