This is a classic hobby project to build a working infrared repeater.
If you want to skip the story, you can go straight to the schematic
or the parts list.
|
Here is the solution shown in the top left corner of the picture to the left.
|
Here's the brainstorming phase. This is where you get to come up with both rational and irrational concepts, just to capture as many ideas as you can. Hopefully, a few good choices will be on the list. Here's a few we came up with:
We know where this is going by now, but lets eliminate the not so good and not so family friendly ideas. That left us with:
The mirror in the drawer almost won. But the drawers were just a wee bit on the small side, no mirrors in the junk box, and the drawers would have been full, so I couldn't add any gear before the problem would start anew. So, lets look at the last two choices.
Little did I know that there are different kinds of infrared repeaters, but I only found two types - wired, and wireless. The wireless units all use radio frequency to pass the signal around. I'd rather not pollute the house and neighborhood with more RF than necessary, and I didn't want to be concerned with intermittent behavior due to signals others might already be generating, so I knew already that I wanted a wired unit.
Ok. we know there must be a better way! So, it is off to the stores around the community, looking for the better way that I can buy and install. I had an old memory of a product, the name was something like rabbit repeater, or infrared rabbit, or something like that. Basically, there were two modules, one a receiver, and another was an infrared transmitter. I think they were either wireless (as in radio frequency), or they may have used the existing coax cable to pass the signals around. Anyway, they seem to be history. Here's a google search to get started.
But there are devices that are equivalent to them. See the references below for a partial listing. The most significant issue I had with these is price. They are typically advertised as "whole house" remote control, and they are quite flexible, which comes with a price. They have a range of 50 to 100 ft or more, and they have accessories for additional detection and emission points. But, all I wanted was to penetrate about 3/4" of cabinetry. So, I didn't want to pay the price for these commercial offerings which, to satisfy my need, would have set me back between $50 and $125. And, if you wanted, you could easily spend up to $400 to satisfy more exotic needs. Even for the $50 price, I figured I could probably open the doors when I wanted to run the remote for a while longer...
Ah, but I'm a bit of a hobbyist at heart. Can I do better myself? What have others done? A google search and associated browsing revealed a few choices. Some were just "power amps" for your remote, to give you more punch for the long range. But they couldn't punch through closed doors. Others were wired repeaters - like what I wanted.
So, now I've done my research and I'm ready to give it a try. I took what was the most popular schematic from the web and built it on a breadboard. A few iterations later, and I had it working. Further down you can read about the problems I had with the original design, but right here is my working schematic.
The working design (click for a full page view)
If this doesn't open properly, try this alternate gif.
We need power, and in this case, we need 5 volts dc for the IR detector. So, at the bottom of the schematic is a simple power supply. We could have made it run from batteries, but I've got enough trouble keeping batteries on-hand, and this device will be installed right near the AC powered TV, VCR and DVD. So, with a small calculator like power supply, a full-wave rectifier, a couple of capacitors, and a 3 terminal regulator, I've got the clean power that the circuit needs. If you happen to have a wall wart that outputs DC, then you won't need the bridge rectifier. In this case, just make sure you get more than 6 volts dc and at least 100 ma.
Signal Detection
Much of the work for this circuit is detecting the IR data stream from your remote. And, this is easily done with an IR detector module. The IR data, as it is received, is a modulated signal. This modulation aids the detector in rejecting false IR signals. The modulation frequency varies, but in the case of my remotes, it was about 56 kHz. This makes is easy to reject sunlight, 60 hz lamps, and fast moving kids. And all of this is taken care of by the IR detector module. The IR detector is a pretty sensitive device, and so it has a metal frame that should be connected to your circuit ground. This helps to shield it from picking up stray noise and trying to pass it on through to your equipment as a valid signal. Ideally, if you made a circuit board, it would have a good ground plane and this shield would be attached to that.
Here's a simplified view of these signals. The first signal shown represents the IR stream being modulated at 56 kHz and sending a binary data stream of 1-0-1-0-1. The IR detector will detect this modulated burst, and produce a demodulated output as shown in the second waveform. Note that the demodulated output is active low (low when the IR is being received). This is shown as it comes out of the IR detector module on pin 1.
Remodulation
From here, let's skip ahead a moment to the 555 timer. This is wired to act as a gated oscillator. When pin 4 (the /reset input) is high, the oscillator is on and the output is at 56 kHz. The configuration with the very small resistor from pin 7 to pin 8 gives us close to 50% duty cycle, which seems to work best for the IR receivers I tested with. We don't need to be exact, so this approach works just fine. Unfortunately, the IR detector output is active low, and we now need an active high to control the 555 timer. So, we need the inverter function performed with the first of the two 2N4401 transistors.
Tuning
If you need to tune the frequency of the timer, note on the schematic that you can put a jumper from the base of the 2N4401 to ground, and this will cause the 555 to free run. Now, you can tune the frequency by changing the 89 k resistor (between pin 6 and 7 of the 555), and/or the 100 pF capacitor (from pin 2 of the 555 to ground). But try to keep about a 20:1 ratio (or higher) as I did for the 89k and the 5k, to keep it reasonably close to a 50% duty cycle.
The output signal from the 555 is on pin 3. This is a modulated signal, just like that that shown in the waveform diagram above. From here, it is routed to two places. One is to a visible LED that should be mounted where you can see it when you operate the remote. This lets you know that it saw your button press. Since a 555 timer can sink and source quite a bit of current on pin 3, we only need a current limit resistor. The 180 ohms shown won't make for a very bright LED, but you don't really need a distraction do you?
Power Amp
The output from the 555 also goes to our IR emitter via the power driving transistor (also a 2N4401). The 5 k resistor in base drive will set the base current to just under 1 ma. With a gain (hfe) of about 100 in this transistor, this gives us capability for about 100 ma in the collector circuit. With the 5 v supply, minus the 1.6v drop for the IR LED, and about .1 v for the transistor saturation, we have 3.3v across the 39 ohm, for just under 100 ma. The LED is rated to handle that at this duty cycle, and as it turns out this is a good match for the wall wart transformer I had handy.
The IR LED is remote from the rest of the circuit, plugging in via P1. You might note that I kept the 39 ohm resistor in the box for a couple of reasons. First, it was easiest to mount since I had the small perf board in there. Second, and perhaps more importantly, the plug and jack I used is a common type, and will momentarily short out as you insert and remove the plug. If the resistor weren't in the box, always in that circuit, then you could destroy the drive transistor simply by plugging the circuit in live. While most equipment says you should only connect it while turned off, I prefer to design circuits that withstand the more common usage of connection on the fly. Basically, I like to build things only once!
You can see it in the box and out of the box after assembly. And that about sums it up, so dig around in your junk box and come up with a few parts. Nothing is too critical in the design so with a little persistence, you should be able to make it work. I hope you enjoy building this just like I did!
- IR Receiver module from Radio Shack - $ 3.75
- IR Emitter (from Radio Shack) - $ 1.50
- Small box (from Radio Shack) - $ 2.00
- 78L05 regulator (from Radio Shack) - $ 1.75
- Scraps of perf-board - junk box
- 2 x 2N4401 (or 2N2222 or most any other small signal NPN) - junk box
- Visible LED - junk box
- 555 Timer IC - junk box
- Bridge rectifier (or 4 diodes) - junk box
- J1 and P1 (compatible Jack and Plug) - junk box
- 6vac 120 ma Power supply matching J2 - junk box
- Miscellaneous R's and C's - junk box
- Length of speaker cable to hook IR emitter to P1 - junk box
- Small Infrared filter - junk box, or leave it off. It's primarily cosmetic anyway
The bottom line is that I spent under $10 for the one in the pictures, but it could have been twenty five or so if I hadn't had so much junk...
A few key points (and confessions):
- My (primarily) RCA brand equipment was running at about 56 kHz, not 40. It turned out that once I tuned to 40 kHz, I could run the TV, but not the DVD or the VCR. Retuning to about 56 kHz put me in control of all the components.
- The original web shared design didn't work! Did I have incompatible parts? [See more about this below]
- Not counting my time (which would have put it well over the commercial price point), I have what I want at a very low cost.
- I'm not going to guarantee the R & C values for the frequency. Some of my junk box parts weren't labeled very well.
When I built it as described at several web sites, it didn't work! But it was the starting point for my variation. So, I thank the original authors for that. Here is the original web shared schematic (click for a larger view)
$10 to $25 This project cost me about $10 because I had a pretty well stocked junk box. It might have cost $20 to $25 if I started completely from scratch. I did discover that you can get 5 resistors from Radio Shack for about $0.50. I think the last time I bought resistors there, they were 2 for $0.25 (that was a very long time ago). I also bought a $9 bag with about 500 assorted resistors (so I can hit the right resistor value more often from now on).
IR Wired Repeater - the most commonly discovered circuit and description. A locally replicated schematic is available here. This won't work!
IR Remote Power Amp - hangs on your remote to give you more IR power and uses more batteries. Argh.
IR Remote Repeater - may be ok if stray IR is not a problem.
IR Wired Repeater - another bad design! The receiver may work, but look at the IR Emitter circuit. Pin 3 on a 555 timer is a driven output. In this design, we will current limit the 555 when it drives high for the IR led, and we will simply waste power when it drives low to turn it off. If the IR led (or the 555) survives very long it will be amazing!
Powermid designed as a room to room system, requires A/C outlet for transmitter and another for the receiver. Accessories available...
ADI ir-X Transceiver is a PC peripheral. I hadn't thought of that before, and I'm not quite ready to integrate my computer (and its too-loud fan) into the family room.
If you feel you've acquired a $1 value, then please, send only a single dollar. If you feel it is worth more, then fill in the amount that matches the value you've received. |