If you want to make a simple obstacle sensor, I think TSOP is not required. Go through this article
http://letsmakerobots.com/node/2907