$4 DIY TV-B-Gone





Introduction: $4 DIY TV-B-Gone

A TV-B-Gone is a neat little device that can turn almost any TV on or off. It uses a microcontroller hooked up to IR LEDs to output a library of on/off codes. I wanted one but they retail for $20, and I thought I could make one. Adafruit sells akit, and has the code as well as the schematic on their website.

UPDATE! New version available with full building instructions! https://www.instructables.com/id/350-DIY-TV-B-Gone-Mico/

This is a simple TV-B-Gone made completely out of parts I had lying around. It has no circuit board, and all of the parts are just soldered together. I'll include some brief instructions because some people will want to make one themselves.

I have no external oscillator, but the internal one seems accurate enough and has worked on every TV I have tried. It may vary with extreme temperature conditions, though. I got the internal one to run Ladyada's code unmodified by turning off the fuse for the "divide by eight" clock option.

  • Attiny85v-10pu
  • 8 pin IC socket; not required
  • Filter capacitors; not required but I used them
  • Small tactile button
  • Visible LED and resistor; also not required
  • 4 IR LEDS with 2 resistors, you could only use one if you didn't care about range.
  • 2 AA battery holder
So if you are on a bare minimum budget, you could only use the microcontroller, switch, and one IR LED.

  • Soldering iron with solder
  • Helping hands (recommended)
  • Computer with programming software and an AVR programmer
You can look at the pictures to figure out how to solder it together, just make sure you put the code on the chip before hooking it up!

Mine has a pretty decent range considering that I used very low power signal LEDs, about 10 meters (33 feet) or so.

If anyone makes this, please send pictures! Comments, questions, and ratings are appreciated!



  • Epilog Challenge 9

    Epilog Challenge 9
  • Paper Contest 2018

    Paper Contest 2018
  • Sew Warm Contest 2018

    Sew Warm Contest 2018

We have a be nice policy.
Please be positive and constructive.




Hey I read your little description of yourself and I laughed alittle cause it sounds like some thing I'd say. Hey also nice job on the project. If you mind a suggestion encasing it in an "Altoids" tin would make it look cool and it would also make it less obvious when you pull it out.

how meny ohms do the resistors have

It depends on the specs of the LEDs you are using. Try http://ledcalc.com/

You omitted the resonator in this version. How?

Mainly I did it to lower the cost. I did this by changing the fuses, bits of memory in the chip that determine how it behaves, to tell it to use its internal resonator. If you look at my micro TV-B-Gone Instructable I explain part of this there.


Encase the whole thing in surgu (including the button but except the LED's) and just mark on the surgu where the button is then it would be almost perfectly discreet but just slightly hard to change batteries unless you cut a hole and get a battery holder :)

An excellent idea that I wished to do on my new model (https://www.instructables.com/id/350-DIY-TV-B-Gone-Mico/) but I didn't have any at the time...

Great idea. The only thing I’d change is to use all SMT devices to make it smaller and more robust. I found some new flex pcb SMT adapters at www.protoflex.net. These are flex pcbs with an adhesive backing you just stick on. Too cool!

Awesome! I was already thinking the same thing without sugru but the sugru is a great addition for both durability and aesthetics!

Thanks! More DIY TV-B-Gone Instructables to come...