At the recent Maker FairFaire Berlin, I was told that LEDs can be repurposed as photo diodes. I assume the same is true in the infrared range. This sounds like a nice solution for building a transmitter.
How would a circuit look like for an IR diode used as emitter and receiver?
Background: Communication will happen through a black plastic pipe with a length of 500 mm (20 inches). Data rate will be below 32 kilobaud.