Laser ranging module infrared intelligent proximity sensor instead of ultrasonic detection switch sensor