how to interface tsop in pic16f877a i will need to code allso because i am design to tv remote controller us to on & off light .. i am in fresh of TSOP..
The code for Microcontroller is depend on which type of remote protocol, you are using.
Not on TSOP 1738.
TSOP 1738 is only a IR sensor, which detect IR signal from remote and give it to Microcontroller.
Thus first you find out Protocol of your remote.
it can be RC5, NEC, sony, etc.