How to make a Proximity sensor. A proximity sensor is a sensor able to detect the presence of nearby objects without any physical contact. http://www.rakeshmondal.info/IR-object-detection#proximity
Read this post on rakeshmondal.info