Step 7: Testing and Debugging tips

The IR emitters emit very bright light! But the light they emit is invisible to our eyes (IR stands for Infra Red, which means that its frequency is below visible red light). IR remote receivers in TVs can "see" IR, and so can digital cameras.

To test your new high-powered TV-B-Gone you can point it at a TV, push the button on the TV-B-Gone, and keep it pointing at the TV until the TV turns on or off. To test it more thoroughly, push the button on the TV-B-Gone and point it at a digital camera -- if your high-powered TV-B-Gone is working you will see the three blinking lights on the camera: the visible LED, and both IR emitters (even though you will not see the IR emitters blinking with your eye).

If the visible LED didn't blink when you inserted the coin cell into B2, or if both IR emitters do not blink when viewed with a camera (and you can't turn a TV on or off) then you will need to debug the circuit. There are only two areas that can go wrong: the voltage from the new battery packs, or the orientation of the new emitter.

If you have a volt meter, measure the voltage where the wires from the battery holders are soldered to the PCB -- is there 6 volts, with the correct polarity? One of the battery packs I bought at Conrad in Berlin was defective (they are made pretty cheaply), so I had to replace it.

If the voltage is OK, the only other problem could be with the IR emitter -- maybe it is a freaky one with the polarity reversed (one that I bought at Conrad in Berlin had the negative lead longer than the positive lead, unlike any LED I had ever encountered before). If so, then remove the new emitter, reverse it, and test again.

I really want to make one of these, but I'm bad at soldering. Do you have any tips? On a less related note, would a lens array work to increase range even more?
Wow, great idea sami. It would be cool to have one of these dressed up like a flash drive powered by the usb port. People would think you were fidgeting with your port on the computer. :)
Nice tutorial but I'm wondering if it's possible to replace your AA batterie with a 5V USB port .I mean that I want to power up the TV B Gone with my laptop.?
You can power with USB from your laptop, but depending on your laptop's USB port, your computer may limit the current it sends out its USB port, so it may be less powerful than using two AA batteries.<br><br>Try it and see.<br><br>Mitch.<br>
that`s funny. i listend to an older ccc podcast (24C3 2214 - Make cool things with Microcontrollers - Hacking with Microcontrollers) a few minutes ago and stumbled upon this tutorial.<br><br>thank you for putting this useful tutorial guide on.<br><br><br>
Sure! Happy hacking! And, please turn off lots of TVs! <br> <br>Cheers, <br>Mitch. <br>
A word to the wise: The TV-B-Gone does not just work on TVs but almost any device that uses IR communications. I discovered this by accident when I decided to try mine on a TV in the room and accidentally caused the my roommate's iHome stereo to play music loudly. I regret not trying this for April Fool's Day.<br />
Thanks for pointing this out.&nbsp; <br /> <br /> A more accurate description:&nbsp; <br /> TV-B-Gone remote controls have only TV POWER&nbsp;codes in its database.&nbsp; There are actually very few devices that will respond to these codes besides TVs (in the over 5 years of using and selling TV-B-Gone remotes I've only heard of a handful of cases where a TV-B-Gone has had any effect on devices other than TVs (most of them are for one&nbsp;company -- I can't remember which --&nbsp;that uses the same POWER&nbsp;code to control their DVD&nbsp;players and their TVs).<br /> <br /> Mitch.<br />
My TV-B-Gone turns on the LED lamp in my room, which uses an infrared remote. http://www.thinkgeek.com/gadgets/lights/831e/
Cool. That lamp probably uses a pretty simple IR encoding scheme, and so might have a few false triggers. I'm curious -- does it also respond to other TV remote controls? Does the TV-B-Gone make your lamp go through lots of nice colors? Mitch.
Actually, no. It always turns on right after the fifth code, and none of the other ones do anything to it. No TV remotes in my house affect it. I'm guessing they didn't make sure the on/off signal they used wasn't the same as a TV's. It would be really annoying if you had it in the same room as the TV with the code that triggers it...
The 5th code is for Philips TVs. So, for whatever reason, they used a Philips on/off toggle code.
That's odd.
I stand corrected! I guess the TV-B-Gone doesn't mess with the majority of IR communication systems. However, I still regret not using it for April Fool's Day.
Recycling Generator
Im using 6 IR Leds&nbsp; and I soldered led like this +- +- +- +- +- +-<br /> positive to negative and so on...<br /> I did same as u did but doesnt work, Only I know its ON because little red LED is blinging<br /> Help me ASAP plz<br />
I made a comment after yours on the Batteries page, but I'll comment here, too:&nbsp; to use 6 IR&nbsp;LEDs you need more voltage -- 3v per LED.&nbsp; So, for 6 LEDs you need 12 AA&nbsp;batteries in series for B1. &nbsp;(But be sure to keep B2 at 3v, since&nbsp;B2 is for the microcontroller.)<br /> <br /> Mitch.<br />
It works. Nice job. I made one 5 min ago. The IR sems to be stronger or something now!
Yes, the IR&nbsp;is twice as powerful with two IR&nbsp;emitters and the bigger batteries.&nbsp; Please turn off lots of TVs with your new power!&nbsp; :)<br /> <br /> Mitch.<br />
Hi, I made exactly what did u showed us. <br /> It dont work ??<br /> What I did wrong I putted 6 IR Leds but when I measured there doesnt come any Voltage to the leds ??<br />
It won't work with 6 IR LEDs unless you use a more batteries.&nbsp; Each LED needs 3v to function, so if you want 6 LEDs, you will need to put them in series with each other, and then use 12 AA batteries in series with each other (for B1).&nbsp; But make sure that you keep the B2 battery the same, since this powers the microcontroller, which can only function with voltage between 3v and 5v.<br /> <br /> Mitch.<br />
How meny nm is the IR-LED in a TV B-GONE. Can you change the IR-LED&nbsp;without any other stuff that you have too change.-
TV&nbsp;remote controls all use 940nm.&nbsp; If you use any other wavelength, it will probably work, but with greatly reduced range.&nbsp; The IR&nbsp;emitter I&nbsp;use for TV-B-Gone is made by Everlight, part number:&nbsp; IR333/H0/L10.&nbsp; You can get it at Mouser.com -- here is the part number for Mouser:&nbsp; 638-IR333/H0/L10.&nbsp; This is the most powerful IR&nbsp;emitter that is available, and it is also really cheap:&nbsp; $0.29 each for 1 piece, in the US (and probably comparable elsewhere).<br /> <br /> If you use another IR&nbsp;emitter, it will work, but the range will be less.<br /> <br /> Cheers,<br /> Mitch.<br />
can u put 850nm vs the 940nm LED currently in the device
1.Watch 2.Do 3.??? 4.Profit!
Can you put a link with the schematic diagram larger, please. With the image I can't read nothing. (Sorry for my english, but I'm learning it) PD Very good this instructable, very nice
I just uploaded a higher-resolution schematic. I have also put it on my Flickr account:<br/><a rel="nofollow" href="http://flickr.com/photo_zoom.gne?id=1980643045&amp;size=l">http://flickr.com/photo_zoom.gne?id=1980643045&amp;size=l</a><br/><br/>Sorry it took so long to update it.<br/>
Sorry for the fuzzy schematic. I can't seem to find my source files for these. I'll have to create them again. Please give me a few days. In the meantime, here's a description of the relevant parts of the schematic: The IR signal from the microcontroller comes from pin 12. That goes through a 120 ohm base resistor into the base of a 2N3904 transistor. The transistor's emitter is tied to ground. The collector goes to the cathode of the stock IR emitter (which is an Everlight IR333-A), and the anode of this emitter goes to the cathode of the added IR emitter (same as the stock emitter, available at Mouser.com, part number 638-IR333-A). The anode of this added IR emitter goes to +6v (which comes from four AA batteries). Be sure to remove the battery (or batteries) that are in battery holder B1 of the TV-B-Gone, and do not use these together with the four AA batteries.
Hmmm now if only there was a way to focus these beams into a longer range system so either an IR based laser pointer (no idea if that would work at all) or possibly a couple of lenses or something similar to give superlong range and accuracy
I've also been thinking of using an IR laser to get super-long range. What troubles me is making it safe -- a highly focused laser beam that momentarily reflects off of a shiny surface might permanently damage someone's eyesight. If the beam were difussed a little, however, then it could be safe. Now, how to safely guarantee a difused beam, and how to modulate the laser at the proper frequencies? Also, I'm not sure if there are 940nm IR lasers, which is the IR wavelength of TV remote controls. Laser's aren't really my forte. If anyone knows about this stuff, please let me know.
if you found the laser a piece of slightly brushed glass would diffuse it nicely but i see the dangers involved
Also, a laser will be VERY directional. You'd need to diverge the beam so it has spread. It'll be easier to aim and still have great range. A better alternative is to amply the electrical signal with a fast Darlington and an LED array, like those IR security lights. Or, that "ultra-TV-B-Gone project. I devised something even more wicked: a Cable-B-Gone hat. Cable boxes from one monopoly cable operator are "keyed alike" - they all use the same remote. Hack the code for your town's cable boxes, and have fun! I need to post my remote control hat as an instructable.
Please do post your remote control hat as an instructable! And please post it as a comment here. I'm working on a Super-High-Power TV-B-Gone now. It goes well over 50 meters! I use 6 IR emitters, each with their own transistor driver (PN2222A with a 120 ohm base resistor and no current limiting resistor in series with the emitter and collector, with the emitter tied directly to ground -- this is the same circuit as the emitter and driver for the regular TV-B-Gone), and four AA batteries to power the emitters. I have successfully turned off huge-screen TVs facing out of very thick plate-glass windows, from across a very wide street! Very satisfying. I'll post an instructable about this soon. I'll also have them available ready-made from TVBGone.com later this year.
You can get a 940nm IR laser for 60 USD from digikey.
should i get a Tv b gone or a ninja remote
That's up to you. Of course, I know which one I like -- TV-B-Gone, the way cooler one that works way better, and that isn't in it only for the money. :)
thank u made my mind
thats pretty cool. now if i can just find a tv-b-gone. i'll probably use 3-4 leds all pointed at the same spot though instead of two and a 9-volt battery instead of the 4 AA.
TV-B-Gones are available from many places on the web, including<br/><a rel="nofollow" href="http://www.TVBGone.com">http://www.TVBGone.com</a><br/><br/>Depending on how you do it, using more than 2 LEDs may require some additional circuitry. To keep things simple, you can use 3 IR emitters in series, and use a 9-volt battery to power the emitters. The rule of thumb here is to have 3-volts for each IR emitter. If you want more power, then please check out the Ultra High Power TV-B-Gone Instructable:<br/><a href="http://www.instructables.com/id/ELSIDWXRAFEP2881ZQ/">http://www.instructables.com/id/ELSIDWXRAFEP2881ZQ/</a><br/>
hi greazt job <br/>I have tv b gone like mini remote, do you think i could try to apply exactly or modified trick?<br/>for information <br/><br/><a rel="nofollow" href="http://cgi.ebay.fr/Telecommande-universelle-NESTpas-TV-B-Gone-TM_W0QQitemZ5782021045QQihZ008QQcategoryZ60838QQcmdZViewItem">http://cgi.ebay.fr/Telecommande-universelle-NESTpas-TV-B-Gone-TM_W0QQitemZ5782021045QQihZ008QQcategoryZ60838QQcmdZViewItem</a><br/><br/>thanks<br/>
This same method can work for any TV remote control. But you'll need to be careful about splitting up the power supplies for the microcontroller and the IR emitters -- you don't want to burn out the microcontroller on your remote control.
surely you will only get 40% greater range by adding the 2nd emitter, since the light diverges in 2 dimensions.<br/><br/>what emitter are you using? cant you just use 1 brighter IR LED, like:<br/><a rel="nofollow" href="http://www.fairchildsemi.com/ds/1N/1N6266.pdf">http://www.fairchildsemi.com/ds/1N/1N6266.pdf</a><br/>or <a rel="nofollow" href="http://www.advancedphotonix.com/ap_products/pdfs/PDI-E805.pdf">http://www.advancedphotonix.com/ap_products/pdfs/PDI-E805.pdf</a><br/>?<br/>
After checking into some other IR emitters, I see that there are two better choices at Mouser: Everlight IR333C/H0/L10 and Everlight IR333-A. The first one has an output angle of 40 degrees with 450mW/sr radiant intensity, and the second one has an output angle of 20 degrees with 750mW/sr radiant intensity. I changed the recommended IR emitter in Step 2 of this instructable for the 20 degree emitter: IR333-A.
It actually does much better than 40%. The extra power comes from the bigger batteries. Coin-cell batteries (used in the stock TV-B-Gone) have a high internal resistance, so when using them to power the IR emitters, the coin-cell's internal resistance limits the current that can be pumped into the emitters. AAA, or even better, AA batteries (or even better, C or D) have a much lower internal resistance, so much more current can go through the emitters. And the more the current, the brighter the IR light. The IR emitters that come with TV-B-Gone remotes are the brightest ones I have been able to find (Everlight IR333/H0-A, but these are not easy to get). If you look in Step 1, the photo of the Materials & Tools has Notes that appear when you roll your mouse over the parts with squares around them. Check out the Note for the IR emitter, and it shows the emitter that I suggest using is an Everlight IR323, available at Mouser.com for $0.16 each. The IR emitter needs to have a wavelength close to 940nm, since that is what TV remote controls use. The two emitters you gave datasheets for will work, but I think the Everlight IR323 is probably a better choice. The Advanced Photonix emitter won't work so well since it is 880nm. The Fairchild emitter will work well, but it has an narrower output angle, so you'll need to aim it more accurately. (The cool thing with the Fairchild part is that it can take up to 10A of pulsing current -- it might be really cool to use an array of these pointed in slightly different directions!)
thanks for part number on your IR emitter. besides using more emitters and power, a smaller beam angle seems like a great way to get a lot more distance which is one reason i posted those two emitters. sure you have to aim better, but you get a much longer beam for your troubles since the light is concentrated to a smaller area.

About This Instructable


41 favorites


Bio: Inventor of TV-B-Gone.
More by mitch: Double the Range of Your TV-B-Gone
Add instructable to: