![]() |
HowTo.AddAnInfraredReceiverAndTransmitterWithLIRC HistoryHide minor edits - Show changes to markup March 07, 2009, at 04:25 PM
by -- parallel LEDs require the driver transistor
Deleted line 85:
Added line 87:
March 07, 2009, at 04:22 PM
by -- specified IR-LED, notes about IR current
Changed lines 63-64 from:
or even better: to:
or even better with a driver transistor: Added line 82:
Changed lines 86-87 from:
to:
Added line 90:
April 02, 2006, at 11:10 PM
by -- changed D/S of MOSFET in circuit
Changed line 32 from:
+---------------+ G | | D +-| 4k7 |-- +3.3V to:
+---------------+ G | | S +-| 4k7 |-- +3.3V Changed line 34 from:
| | S | to:
| | D | February 12, 2006, at 09:04 PM
by -- updated software section: lirc-0.8.0 now contains nslu2-code
Changed lines 88-91 from:
The NSLU2-specific code is already in LIRC-CVS (thanks to Christoph), but there is no recent bitbake-files in the main monotone repository. There is bug #557 pending, waiting for inclusion: You can get the needed .bb-files there. to:
The SoftwareThe NSLU2-specific code is already in LIRC since version 0.8.0 (thanks to Christoph). January 09, 2006, at 03:32 PM
by -- recommendation to remove R142
Changed lines 16-17 from:
to:
I'd recommend to remove R142, because it has only 18 ohms. When the MOSFET pulls the trace to ground, it costs your SLUG almost 200mA! Changed line 37 from:
BS170 to:
December 29, 2005, at 04:35 PM
by --
Changed lines 1-2 from:
With the following (minimal) hardware circuitry the NSLU2 is able to receive and transmit infrared signals, e.g. like RC5. These are normally received by audio and video equipment and sent by remote controls from your couch. The signals are decoded and generated in software using LIRC (see http://www.lirc.org). to:
With the following (minimal) hardware circuitry the NSLU2 is able to receive and transmit infrared signals, e.g. like RC5. These are normally received by audio and video equipment and sent by remote controls from your couch. The signals are decoded and generated in software using LIRC. December 29, 2005, at 05:45 AM
by -- CTS pullup it to 3.3v!!!
Changed lines 22-25 from:
| -- VCC 3 |--+-------| 100R |----+----- +5V | / \ | | +------+ | | / \ | = 4u7 | | | | | | | to:
| -- VCC 3 |--+-------| 100R |---------- +5V | / \ | | +------+ | / \ | = 4u7 | | | | | Changed lines 27-35 from:
| | | | | | | \ / | | +---+ | \ / | | | | | -- OUT 1 |-----| |----+ |4k7| +---------------+ G | | D | | | +---+
| | S |
| |--------------+----- CTS2? (Left side of R142)
to:
December 28, 2005, at 05:29 PM
by -- LIRC link
Changed lines 1-4 from:
Add an Infrared receiver and transmitter with LIRCWith the following (minimal) hardware circuitry the NSLU2 is able to receive and transmit infrared signals, e.g. conforming to the RC5 standard. These are normally received by audio and video equipment and sent by remote controls from your couch. to:
With the following (minimal) hardware circuitry the NSLU2 is able to receive and transmit infrared signals, e.g. like RC5. These are normally received by audio and video equipment and sent by remote controls from your couch. The signals are decoded and generated in software using LIRC (see http://www.lirc.org). December 28, 2005, at 04:05 PM
by -- added image
Changed lines 94-96 from:
is plugged into my 10-pin-connector (see AddASimpleTenPinConnector): Attach:IR-Adapter.jpg Δ to:
is plugged into my 10-pin-connector (see AddASimpleTenPinConnector). It has two receivers and two transmitters in different directions: ![]() December 27, 2005, at 08:53 PM
by --
Changed lines 3-8 from:
With the following (minimal) hardware circuitry the NSLU2 is able to receive and transmit infrared signals,
e.g. conforming to the RC5 standard.
These are normally received by audio and video equipment and sent by remote controls from your couch. to:
With the following (minimal) hardware circuitry the NSLU2 is able to receive and transmit infrared signals, e.g. conforming to the RC5 standard. These are normally received by audio and video equipment and sent by remote controls from your couch. This is not IrDA! In order to use IrDA, buy a cheap USB-IrDA adapter. Changed lines 9-10 from:
We receive on CTS of the 2nd serial port (can be tapped at the left end of R142), that is otherwise unused. The xScale-UART can be programmed to generate interrupts on CTS. to:
We receive on CTS of the 2nd serial port (can be tapped at the left end of R142), that is otherwise unused. The xScale-UART can be programmed to generate interrupts on CTS. Changed line 14 from:
However while booting, the green led is off for a minute and the IR LED is constantly on. But to:
However while booting, the green LED is off for a minute and the IR LED is constantly on. But Changed lines 43-44 from:
to:
December 27, 2005, at 08:52 PM
by --
Changed lines 1-2 from:
to:
Add an Infrared receiver and transmitter with LIRCDecember 27, 2005, at 08:51 PM
by --
Changed line 4 from:
to:
e.g. conforming to the RC5 standard. Changed lines 6-8 from:
This is not IRDA! In order to use IRDA, buy a cheap USB-IRDA adapter. to:
This is not IrDA! In order to use IrDA, buy a cheap USB-IrDA adapter. Changed line 12 from:
The Xscale-UART can be programmed to generate interrupts on CTS. to:
The xScale-UART can be programmed to generate interrupts on CTS. Changed lines 15-16 from:
As the green LED is normally on, the IR LED is normally off. When transmitting, the green LED flashes. to:
As the green LED is normally on, the IR LED is normally off. When transmitting, the green LED flashes. Changed lines 17-20 from:
because there is no carrier, this shouldn't cause erroneous IR signals. For the precise locations of R142 and R53 see AddASimpleTenPinConnector. to:
because there is no carrier, this shouldn't cause problems with erroneous IR signals. For the precise locations of R142 and R53 see AddASimpleTenPinConnector. Changed lines 40-41 from:
to:
BS170
(N-Channel MOSFET)
Changed lines 47-53 from:
to:
Changed lines 85-91 from:
The NSLU2-specific code is already in LIRC-CVS on www.lirc.org (thanks to Christoph), to:
The NSLU2-specific code is already in LIRC-CVS (thanks to Christoph), Changed lines 93-95 from:
There is bug#557 pending, waiting for inclusion: You can get the needed .bb-files there: http://bugs.openembedded.org/show_bug.cgi?id=557 to:
There is bug #557 pending, waiting for inclusion: You can get the needed .bb-files there. Changed line 96 from:
is plugged into my 10-pin-connector (see AddASimpleTenPinConnector): to:
is plugged into my 10-pin-connector (see AddASimpleTenPinConnector): December 27, 2005, at 10:29 AM
by -- how to build a hardware circuitry to receive and transmit infrared signals
Added lines 1-102:
AddAnInfraredReceiverAndTransmitterWithLIRCWith the following (minimal) hardware circuitry the NSLU2 is able to receive and transmit infrared signals,
e.g. conforming to the RC5? standard.
These are normally received by audio and video equipment and sent by remote controls from your couch. How it worksWe receive on CTS of the 2nd serial port (can be tapped at the left end of R142), that is otherwise unused. The Xscale-UART can be programmed to generate interrupts on CTS. We transmit with a IR diode between GPIO[1] (can be tapped at the right end of R53) and ground. GPIO[1] is also wired to cathode of the green status LED, which has it's anode at +3.3V. As the green LED is normally on, the IR LED is normally off. When transmitting, the green LED flashes. However while booting, the green led is off for a minute and the IR LED is constantly on. But because there is no carrier, this shouldn't cause erroneous IR signals. For the precise locations of R142 and R53 see AddASimpleTenPinConnector. The Receiver Circuit
SFH5110-38 SLUG:
+---------------+ +------+
| -- VCC 3 |--+-------| 100R |----+----- +5V
| / \ | | +------+ |
| / \ | = 4u7 |
| | | | | |
| | |GND 2 |--+---------+--------------- GND
| | | | | |
| \ / | | +---+
| \ / | | | |
| -- OUT 1 |-----| |----+ |4k7|
+---------------+ G | | D | |
| +---+
| | S |
| |--------------+----- CTS2 (Left side of R142)
BS170
(N-Ch. Enh. MOSFET)
Notes:
The Transmitter Circuit
+------+
+--------| 270R |---------------------- GPIO[1] (Green Ready LED)
| +------+
IR _|_
<-- \ /
<-- V
---
|
+-------------------------------------- GND
or even better:
+---------------------- + 3.3 V
\^
E \| B +------+
BC557 |-----| 1k |------ GPIO[1] (Green Ready LED)
C /| +------+
+------+ /
+---| 270R |----+
| +------+
IR _|_
<-- \ /
<-- V
---
|
+-------------------------------------- GND
Notes:
The NSLU2-specific code is already in LIRC-CVS on www.lirc.org (thanks to Christoph), but there is no recent bitbake-files in the main monotone repository. There is bug#557 pending, waiting for inclusion: You can get the needed .bb-files there: http://bugs.openembedded.org/show_bug.cgi?id=557 The following picture is an example of a receiver/transmitter circuit that is plugged into my 10-pin-connector (see AddASimpleTenPinConnector): Attach:IR-Adapter.jpg Δ Matthias Goebl <matthias(dot)goebl(at)goebl(dot)net>
view ·
edit ·
print ·
history ·
Last edited by Matthias Goebl.
Based on work by Matthias Goebl and tman. Originally by Matthias Goebl. Page last modified on March 07, 2009, at 04:25 PM
|