Here's one way: http://www.rentron.com/Micro-Bot/IR_Serial.htm