Parts · Sensors
Analog ultrasonic sensor (US-016)
US-016
An ultrasonic sensor that gives the distance as a voltage: read it with an analog pin.
Parts · Sensors
US-016
An ultrasonic sensor that gives the distance as a voltage: read it with an analog pin.
| Pin or leg | What it is for |
|---|---|
| VCC | + 5 V |
| GND | GND |
| Out | to an analog pin: the voltage grows with the distance |
| Range | sets the far end: about 1 m or 3 m |
Good to know: Its output can reach 5 V: into a Micro:bit pin only through a divider.
The idea behind it, step by step: Ultrasonic distance sensor
| Power | 5 V |
|---|---|
| Output | a voltage that grows with the distance |
| Range pin | sets the far end: about 1 m or 3 m |
| HC-SR04 | two pins, Trig and Echo, and a time to measure |
|---|