Chris from PyroElectro writes us with this useful project to communicate serial data over an infrared link.
Here’s an article that explains how to create a wireless infrared transmitter using an IR LED and a wireless IR receiver using a phototransistor to make a communication system. Asynchronous serial is transmitted over this link at 9600 BPS. Two PIC 18F452’s are used to transmit and receive the data.
Get the details, schematic and C source code at PyroElectro.