distance-sensor This is the code and scheme of arduino to measure the distance between the sensor HC-SR04 and a objet in front of it.