Using Ultrasonic Range Finder SRF02 as Motion Detector

And the problem your are having is ...