$3.50 DIY TV-B-Gone Micro

$3.50 DIY TV-B-Gone Micro
I previously made a slideshow on my DIY TV-B-Gone, and many people requested I make an Instructable. So, the first in a series of DIY TV-B-Gone clones, is the TV-B-Gone Micro!

Technically, because TV-B-Gone is a brand name, this is a "TV-B-Gone clone."

The 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. Adafruit sells a kit, and has the code as well as the schematic on their website.

Here's a micro clone of the TV-B-Gone that runs on a coin cell battery, is slightly bigger than a quarter, and costs about $3.50 (compared to $20) to make!
 
Remove these adsRemove these ads by Signing Up
 

Step 1Materials and Tools

Materials and Tools
Here is a list of what you will need.

Materials: All of these prices are if you buy only one of each part. If you buy in bulk, like I did, it will actually have a cheaper unit price. For me the total was less than $3.50, for you maybe more if you only buy one of each part.

You will also need some 2032 batteries to power it. DON'T FORGET!

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 helpful
Now let's get started!
« Previous StepDownload PDFView All StepsNext Step »
212 comments
1-40 of 212next »
Aug 28, 2010. 4:05 PMsoccer1223335 says:
Hi Gibson, could you take pictures when your finished with yours? I just ordered the 1.2 chip and want to make sure everythings going to be connected to the right spots on the chip. I have a difficult time reading the schematics...
Aug 28, 2010. 4:20 PMGibson_SG_95 says:
Yeah, im going to post some pics of it when its all done. Im no schematic expert either, but im going to pick it apart and figure it out. But yeah, id be glad to help.
Aug 29, 2010. 8:37 PMsoccer1223335 says:
Alright like i just need the schematics turned into words like solder pin x to x. Or pictures of it when your done so i can find out what to soldier parts to :P thanks for the help.
Aug 31, 2010. 2:06 PMGibson_SG_95 says:
Yeah i'll do my best. The pre programmed chip just got here now from adafruit, and the other parts should be arriving tomorrow.
Sep 2, 2010. 7:19 PMsoccer1223335 says:
i just got all my parts. I got the pre programmed chip and all the other parts. Still no clue how to read it though.. let me know how you do!
Jan 31, 2012. 6:29 PMacerpeng229 says:
what type of pnp transistor did you use??
Jan 30, 2012. 6:56 PMacerpeng229 says:
what pnp transistor to use
Jan 30, 2012. 6:24 PMacerpeng229 says:
can i used the preprogrammed 1.2
attiny from adafruit??
Jan 21, 2012. 1:41 PMPolarize says:
Thanks dark sponge! I just finished mine and it works great :) I made it with the v1.2 so I was doubting it would work. However I would like to comment I think there is a mistake in the schematic, it may of been my error however. Its just my IR leds were permanently on, even when the system was off. I moved the wire to the capacitor and transistor and it worked fine.

Anyway thanks again, SHP next :)
P1060106.JPGP1060110.JPGP1060112.JPGP1060113.JPG
Oct 25, 2011. 7:31 PMdegenstamm says:
hey douse this still work on all tvs or is it out dated
Dec 15, 2011. 7:05 AMdegen S. says:
thanks
Dec 13, 2011. 2:26 PMblinkyblinky says:
Is there a way to use Arduino code?

I have an Arduino to ATtiny programmer...do you think that would work?
Dec 13, 2011. 6:23 PMblinkyblinky says:
Yeah, you can. Can you program the original code in through it though?
Dec 13, 2011. 1:04 PMvov35 says:
Very elegant dead bug design. I liek.
Oct 14, 2011. 4:57 PMbatman96 says:
Hi Dark Sponge, You seem to know the most about tv b gones. I build electronic stuff, but I use discrete components, and have yet to use any micro controllers. I wanted a Tv B Gone, but wanted to build my own, I think I asked you about using a universal remote as one a couple of years ago. So here is what I did. I found the Tv B Gone data as a wav file on the net. I loaded it onto my mp3 player only to find that it can't play wav files. I converted it to mp3 and then heard some nice fax machine sounds. I made a Infa Red plug for my mp3 player out of a mono jack and two leds one facing each direction, (I found how to wire it in a article about using a Iphone as a universal remote). So the Idea is that I bring my mp3 player when I am going to be in waiting rooms and such, so when i want to shut off a tv I just plug that in instead of headphones. But my mp3 player doesn't have enough power to light them, If I run it though a small amp taken from a set of old computer speakers it works fine and shuts off all of my tvs, but that is to big to take with me. I already tried turning up the audio file on the computer, it is louder, but still doesn't light them. I know it works, obviously the I phone puts out enough power to work, the IR leds I am using are the dark ones, although I tried the ones out of a ball mouse too. Are there any that have a lower voltage? Thanks, Batman96
Oct 6, 2011. 10:45 AMcoralfire says:
at which point does the v1.2 differ from the original steps? im new to electronics and am making an ir remote sonic screwdriver. I need as much help as possible.
Sep 26, 2011. 11:07 PMSeriousTyro says:
It was mentioned in the guide that resonator was optional. What does the resonator do in this circuit or regards to the ATtiny85?
Thanks,
Tyro
Sep 3, 2011. 12:56 PMEax5 says:
Hey really cool instructable.

I ran into a problem with programming the attiny. I do not have programmer you used. Is it possible to program it with arduino? and set the fuse somehow?

Do you know if that is possible?

Because in the arduino program there is an option for Attiny

Thank you
Sep 12, 2011. 4:00 PMtheugleymonkey says:
Is there any way to program or add some type of circuit that would allow it to automatically turn on at specific times like every 2 hours.
Sep 14, 2011. 7:35 PMfacilitator476 says:
If you replaced the pushbutton switch with something resembling a light-switch and added a timer to the coding it should work. Though most calculations in code are done in milliseconds so have fun doing the math.
Aug 22, 2011. 6:58 AMXOIIO says:
Hopefully I can find the time and parts to squeeze one on these in my sonic screwdriver prop, then I can jizz my pants as I turn tv's off XD
Jul 31, 2011. 2:52 AMScarabiv says:
I can only find resonators with 15pF load capacitance. Am I right in guessing this will work in much the same way?
Aug 9, 2011. 5:25 AMashahabuddin says:
wait does that mean an 8 mhz crystal wouldnt work? I bought an 8mhz crystal (the hc49us) as my local electronics store didnt have any resonators for some reason.Would it still work?
Aug 13, 2011. 5:43 AMashahabuddin says:
so if its 16pf load capacitance, what value do i need for the capacitor? So with the capacitor I link both of its leads to the ground pin on the attiny? sorry for the noob questions though.. great tutorial btw
Aug 5, 2011. 5:36 PMtrebory6 says:
A few things if you don't mind:

What exactly would it take to be able change the channel using a similar design while retaining relative size? Not asking for a tutorial, just a direction to turn to. Haha

Also, why do you need both a Narrow-Beam IR emitter and a Wide-Angle. Is this to get both Distance and Coverage?

And third, Sorry if this is a stupid question, but do you think the IR emitters would work when put through translucent blue plastic?


Trying to mod a toy Sonic Screwdriver from Doctor Who to be able to control TVs and such.

By the way, Thank you SO much for this Instructable, it was EXACTLY what I was looking for!
Aug 9, 2011. 5:21 AMashahabuddin says:
I am actually trying to do the same thing with my sonic screwdriver. Please do share with me your results once you finish :)
Jul 7, 2011. 12:23 AMvocaxil says:
which npn transistor do you use?
May 7, 2011. 6:00 PMpac-man says:
Hi so does it actually work because I would like to build one if it does.Nice instructable by the way =).
1-40 of 212next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
70
Followers
7
Author:dark sponge
Hi! I've loved electronics and electricity for as long as I can remember, and electric projects are something I do in my free time for fun. Everything I've learned about electricity is either from exp...
more »