BASIC Stamp, Microchip PIC, 8051, and Remote Control Projects

 


---
Simple 4-Relay Infrared Remote Receiver  ---


Click the photo above for a large view

We no longer make the IR-X10A board, so we're posting the full schematics showing you how to build an 8-channel infrared receiver circuit with the IR-X10A decoder IC. Full schematics for our original IR-X10A board are available for download below. A link to the order page for the IR-X10A decoder IC is also below.

The really neat factor with this IR decoder IC is its ability to learn new Sony button codes. And you can control the decoder IC with most any off-the-shelf universal IR transmitter.

The heart of the operation

The heart of the IRX-10A is an 18-pin PIC16F627A microcontroller. The PIC is pre-programmed to decode Sony brand infrared transmitters.

The IRX-10A IC will work with most universal infrared transmitters capable of transmitting standard 12-bit Sony® TV or VCR key codes, providing remote control of eight digital outputs.

Learns New Sony® IR Codes

The IRX-10A decoder IC is pre-programmed to decode keys #1 through #8 on standard 12-bit Sony infrared transmitters, but has the ability to "learn" new 12-bit Sony infrared transmitter TV or VCR key codes. This feature allows the user to select which keys on the Sony transmitter will be used to control individual digital outputs on the IRX-10A IC.

Learn mode provides a simple method for teaching the IRX-10A new 12-bit Sony IR control keys. New control keys are learned in order, starting from Relay #1 to Relay #4, then Digital Output #1 to Digital Output #4.

Status LEDs by each output turn ON to indicate the IRX-10A is learning the new key code for that particular output, and back OFF once the new key code has been learned.

Key codes are stored in non-volatile EEPROM memory inside the IRX-10A decoder IC, and will not be affected by a loss of power. The internal EEPROM memory has a write cycle life expectancy of approximately 1,000,000 writes, so learning new key codes frequently is possible.

Restoring Factory Default Key Codes

To restore the factory default key codes used to control the IRX-10A outputs, remove power from the IRX-10A board. Press & hold the learn switch on the IRX-10A, and re-apply power. Hold the learn switch down until the learn LED on the IRX-10A board begins to blink. Once the learn LED begins to blink, release the learn switch. The pre-programmed default factory key codes have now been restored, and the keys shown in table 1 of the IRX-10A datasheet will now control the relay & digital outputs.

Latching & Momentary Modes

As shown in the schematic, a 3-pin MODE selection header is provided for jumper selection of momentary or latching modes. All relay & digital outputs operate in the same mode, depending on the position of the shorting jumper on the MODE selection header.

In the L position all relay & digital outputs operate in latch mode. Latch mode allows the user to toggle the relay contacts open & closed, and digital outputs ON & OFF with each key press from the IR transmitter. Simply press & release a transmitter key to toggle the state of a relay contact or digital output.

In the M position relay contacts & digital outputs operate in momentary mode. In momentary mode, relay contacts will remain closed, and digital outputs will remain ON until the infrared transmitter key that controls the relay or digital output is released.

Releasing the key on the IR transmitter opens the corresponding relay contact or turns OFF the digital output controlled by the key being pressed.

LED Status Indicators

LEDs are provided for a visual status of each relay, and digital control output ON and OFF state.

A relay status LED is ON when the relay contacts are closed, and OFF when the relay contacts are open. A digital outputs status LED is ON when the digital output is active, and OFF when the digital output is inactive.

The LED labeled P-Key provides a visual indication that a “power” or control key code is being received. Power keys are IR transmitter key codes that will control the relay & digital outputs.

The LED labeled V-Key provides a visual indication that a compatible 12-bit Sony IR transmitter key code is being received. This LED will be ON while receiving any valid 12-bit Sony key code.

Schematics

The schematic to build the IRX-10A circuit is quite large, so we're making it available in Adobe .PDF format for download HERE.

Download the IRX-10A datasheet HERE to see how the decoder IC works in an actual circuit.
 

Purchase Parts

We have the IRX-10A IR decoder IC's HERE.

Click HERE For
Remote Control Store
We have Holtek remote control ICs, RF and Infrared parts in stock.