Home-Brew IR port. Was - Please Ignore RS232 message. The subject should read IrDA port... Sorry

michael at michaelshiloh.com michael at michaelshiloh.com
Fri May 11 18:58:26 CEST 2007




On Fri, 11 May 2007, Alan Ide wrote:

> The IR transmitter I found on LIRC is a home-brew transmitter that is simply
> a serial port device. So if my understanding is correct, LIRC is simply
> sending data at the baud rate of the serial port 
> <snip>


Take a very close look at this. I can't speak for the transmitter, but I
researched the receiver quite thoroughly awhile ago. Turns out they weren't
using the serial port as a serial port, but rather were using one of the
incoming control lines (e.g. DCD, RTS, etc.) to generate interrupts. Then they
had an interrupt routine that would record the time of the interrupt. The
incoming IR stream was then decoded by inspecting the array of these
timestamps for an IR sequence.

I was only interesting in receiving, so I didn't pay attention to the output
side. Could be that it is used exactly as you say.

Michael



More information about the openmoko-devel mailing list