A small tutorial for interfacing a ultrasonic sensor with arduino this uses a sensor called HC-SR04 which sends ultrasonic waves to detect objects in front of it.
Microcontrollers work only with digital values but in real world we have to deal with Analog signals. That’s why ADC (Analog to Digital Converters) is there to convert real world Analog values into ...