Hi ltg
as waterman wrote, I think it's best if you use a complete IR receiver.
Normally a transmitted binary datastream is modulated with a carrier-
frequency (e.g. 40kHz). If this signal is 'seen' it would be a logic '1', if
not it's a logic '0'.
You can also build your own receiver (with photodiode and OP's). In this
case you must implement an (high gain) amplifier, a bandpass and after
this a comperator. The output of the comperator drives directly a digital
input of your uC. Perhaps (it depends on the protocol) you can use the
UART-input of your uC.
Greets