Why did you decide to make it?
Read moreI would like to make a simple distance/range finding program using Labview, the Arduino and the very popular HC-sr04 ultrasonic sensor.
How does it work?The sensor has a built in control circuit that sends out 8 pulses at 40khz when a trig pin is momentarily high(Ideally there should be a 10us trigger pulse followed by a 100ms(low) delay); the time taken for the pulse to return to the echo pin of the sensor is linearly proportional to the distance.
Comments