I'd use a PIC/AVR chip to do it as you're going to want to convert it into RS232 to make it easier to read.

- Trevor