hello hello
A TSOP 1738 is a very cool reciever so that chip is alright. For input a normal port would do that way you can use RX/TX for other purposes, also if you want to use the same board with more sensors in the future using a port would make sense.
I don't know about encoding a binary no. I think you would need to be careful with that as you have a narrow frequency range in remote control.
Do let me know when you are done with the encoding I would like to learn how its done. As far as programming is concerned, you have to learn it on ur own pick up any book and start off , programming is not really very difficult once u get the hang of it