Ultrasonic sensor distance measuring module
receives a trigger pulse,
startMeasure, sends an ultrasonic pulse train
and then provides a pulse,
distancePulse, whose length is proportional to the sound flight and echo time.
ultrasoundRanger block in the
sensors FPGA counts the ultrasonic pulse length in terms of the 10 MHz clock periods.
The distance is thus given by: