Progress Bar

Skip to main content

Jaycar
...

Constructing a Wired Infrared Remote Extender

Constructing a Wired Infrared Remote Extender

Difficulty
Constructing a Wired Infrared Remote Extender

Summary

Sometimes an IR remote doesn’t have enough ‘reach’, especially if the receiving device is in another room, around a corner, or blocked by furniture. The Wired IR Extender is a simple fix for that problem; it can easily be built with just a few components.

Rather than transmitting the binary ones and zeroes of IR codes as the presence or lack of an IR signal, the IR beam is modulated (turned on and off) at around 38kHz and further encoded to simplify reception and error checking.

The modulation helps to make IR signals immune to interference from things like sunlight and fluorescent tubes, since they do not modulate their IR output near 38kHz.

Note: this project requires you provide your own 5V power supply. https://uatct.jaycar.com.au/

Materials Required

1
1
1
1
1
1
1
1
1
1
1
2
1

Thanks to the technology packed into modern electronics modules, we can create the Wired IR Extender with a couple of simple modules and a few other bits and pieces. The main components are the IR Receiver Module and an IR LED Module.

While it might appear that we could simply connect one to the other, the IR Receiver Module demodulates the 38kHz IR carrier, but the IR LED Module has no internal means of reapplying the modulation. So we need some extra circuitry to add back the necessary modulation.

circuit-1200x800.jpg

Fig.1 shows the resulting circuit. The 100µF and 100nF bypass capacitors help to reject noise on the 5V supply rail and keep its voltage stable. The IR Receiver Module contains the parts in the box on the left. The part labelled IR1 could be substituted by a separate component like Jaycar’s ZD1952 IR receiver.

The output (at the S pin) usually sits near 5V, but when an IR signal around 38kHz is detected, this pin goes low, lighting up the LED on the module. That is called an active-low output.

The 555 timer based circuit turns the active low signal from the IR Receiver Module into a 38kHz modulated active-high signal that can drive the Infrared Transmitter Module, which consists of nothing more than an IR LED (similar to Jaycar ZD1945) on a PCB.

NPN transistor Q1 and its two resistors (1kΩ & 10kΩ) form an inverter that turns the active low signal into an active high signal. With no IR signal falling on the IR Receiver Module, current flows into Q1’s base, turning it on.

When Q1 is on, it conducts current into its collector (C) and out of its emitter (E). The voltage at the collector is therefore low. If an IR signal is received, the S pin goes to 0V and no current flows into the base of Q1, so Q1’s collector voltage can rise to 5V due to current flowing through the 10kΩ resistor. That allows the 555 to oscillate and deliver a 38kHz-­modulated signal to the IR LED.

The inverted signal from Q1’s collector goes to IC1’s RESET pin (RS, pin 4), so IC1’s output (O, pin 3) is low whenever there is no IR signal. However, when RESET is high, the 555 timer can operate. Its output will be high after the TRIGGER (Tr) pin goes below 1/3 of the supply voltage, then switches low when the THRESHOLD (Th) pin goes above 2/3 of the supply voltage.

The TRIGGER (pin 2) and THRESHOLD (pin 6) inputs are joined, and the 10nF capacitor is kept discharged when RESET is low by the 1kΩ resistor. So the 555’s output goes high as soon as RESET goes high.

The 10nF capacitor charges up from the OUTPUT through the 1kΩ resistor until the voltage on it (and thus the TRIGGER and THRESHOLD pins) reaches 2/3 of the 5V supply. The output goes low and the 10nF capacitor discharges until the 1/3 supply voltage point is reached.

The cycle continues, with the 555’s output producing a 38kHz square wave. This signal is applied to the IR LED as long as the IR Receiver Module receives a signal.

Note that when there is no signal, current through LED1 must flow through both 1kΩ resistors. When a signal is detected and the S pin is near ground, current only needs to flow through one of the resistors. So you will see the LED’s brightness increase as a signal is received.

We built our prototype on a breadboard pattern prototyping PCB and recommend you do the same, as we found that using a breadboard added stray capacitance. Some of this stray capacitance appears in parallel with the 10nF capacitor, slowing down the oscillator. That means it may not work, although we found that many devices were not too fussy about the exact frequency.

To help you place and wire up the components, closely examine the prototype photos; solder the components and wires in place as shown. To make it easier to see where the copper tracks go on the underside of the PCB, we have drawn lines on the top and + and – symbols on the two supply rails. Note that pin 1 of the 555 is near the 100nF capacitor (towards the bottom in both photos).

heroLeft-800x600.jpg

We used stiff wire to join the modules to the PCB. You can use longer wires (or jumper wires) to place the Transmitter further from the Receiver. We recommend using short wires for the Receiver and longer wires for the Transmitter, especially since there are only two wires to the Transmitter.

You could use a socket for the IC rather than soldering it directly to the board. Take care with the orientation of the transistor. Its pin 1 (collector) is connected on the same row as IC1’s pin 4, with the Q1’s flat edge facing away from the middle. The white wire in the photo loops over the top of IC1, from its pin 6 to pin 2; add it last.

Solder the Transmitter and Receiver modules, but leave off the S wire for the Receiver (yellow in the photos). This allows IC1 to run and the Transmitter will produce a signal continuously, so you can aim the Transmitter at the Receiver to test them both.

Apply 5V to the + rail and connect supply GND (0V) to the – rail. The LED on the Receiver module should light up. If you wave your hand between the Transmitter and Receiver, the LED should flicker as the signal changes.

If you don’t see this, use an oscilloscope, multimeter, or frequency counter to check the frequency at either end of the 220Ω resistor. Scope 1 shows some of the waveforms you should see.

Scope-1200x800.jpg

Test: https://www.google.com/

Once the circuit is working, hook up the last wire and deploy the Extender. Don’t aim the Transmitter at the Receiver in use; otherwise, it will be confused by its own signal!

This article appeared in the May 2024 issue of Silicon Chip Magazine. Check out their website for other project ideas: https://www.siliconchip.com.au/

Similar projects you may be interested in