Adafruit has a new infrared sensor tutorial that uses an Arduino to clone an infrared remote control signal. They use a time-based protocol decoder/cloner, similar to the infrared sampling mode used in the USB IR Toy. SB-Projects has more excellent infrared remote control protocol details.
