Infrared certainly has its uses, but if you’re trying to locate objects, ultrasonic detection is far superior. It’s contact-less, undetectable to the human ear, and it isn’t affected by smoke, dust, ...
The HC-SR04 ultrasonic range sensor is a pretty cool pre-wired module that you actually enjoy using when you start playing with electronics, microcontrollers, and robotics. As you might have noticed, ...