You may be familiar with the classic HC-SR04 distance sensor, it is great for providing non-contact distance readings from 2cm to 400cm. The SparkFun Qwiic Ultrasonic Distance Sensor improves on the classic by adding a pair of Qwiic connectors to it, so now you can communicate over I2C and daisy chain any other Qwiic product of your choosing.
If you prefer to bypass the Qwiic connector and I2C you can also access the VCC, Trigger, Echo, and Ground pins broken out on the edge of the board. Please be aware that this ultrasonic sensor comes uncalibrated and you will need manipulate the raw output for your specific application.
The SparkFun Qwiic Connect System is an ecosystem of I2C sensors, actuators, shields and cables that make prototyping faster and less prone to error. All Qwiic-enabled boards use a common 1mm pitch, 4-pin JST connector. This reduces the amount of required PCB space, and polarized connections mean you can’t hook it up wrong.
Get started with the SparkFun Qwiic Ultrasonic Distance Sensor Guide
- 1x Ultrasonic Distance Sensor - HC-SR04
- 1x Right-Angle Header - 4-pin
- Operating Voltage 3.3V
- Detecting Angle: 15 degrees
- Sensor range: 2cm to 400cm
- Accuracy: 3mm
- MCU on board: STM8L051
- Default I2C Address: 0x00
- Dimensions: 21.5 x 45.5mm
- Weight 9.2g