Ultrasonic sensor: a picture of the part type, not this model. How it works
SparkFun Ultrasonic Sensor - HC-SR04 SEN-15569
HC-SR04 ultrasonic ranging module as sold by SparkFun (SEN-15569): four pins (VCC, Trig, Echo, GND), 2 to 400 cm non-contact range. Not the Qwiic HC-SR04 board, which is a separate product. Specs below are quoted from SparkFun's open-hardware repository for the board (CC BY-SA 4.0), not from a store page.
github.com2026-11-16“This economical sensor provides 2cm to 400cm of non-contact measurement functionality with a ranging accuracy that can reach up to 3mm.”
Min. range
2 cm= 20 mm
spec
github.com2026-11-16“This economical sensor provides 2cm to 400cm of non-contact measurement functionality with a ranging accuracy that can reach up to 3mm.”
Accuracy
3 mm
best case ('can reach up to')
spec
github.com2026-11-16“This economical sensor provides 2cm to 400cm of non-contact measurement functionality with a ranging accuracy that can reach up to 3mm.”