Change the sonar sensor to an Ultrasonic, not an analog.