How does an ultrasonic distance sensor work?
My thoughts:
A microcontroller (Arduino nano) sends a signal to an amplifier that makes it into a 40kHz pulse, which then goes to the transmitter which sends it out. After some time the receiver get the pulse, where it runs it though an op amp (because of the loss in air?) and then sends it back to the Arduino.
If this is true, how does the Arduino / microcontroller convert this information into time?