Soldered.com ↗ GitHub ↗
Full product documentation, content & links

Ultrasonic Sensor With Qwiic

Qwiic Ecosystem Qwiic Sensors
Sensors & Modules Motion & Proximity
Sale

The HC-SR04 ultrasonic sensor is an affordable and super-popular sensor that measures the distance between itself and an object located in front of the sensor. Very simple to use, it returns the distance in centimeters or inches. In this variation, it comes on a board with an Attiny microcontroller that sends readings from the sensor as a digital signal via the Qwiic connector to the microcontroller, which makes its connections a piece of cake.

  • Range: 2cm - 400cm
  • Accuracy: 1cm
  • Measurement angle: 15 degrees
  • Voltage: 5V
  • ATTINY404 microcontroller onboard
  • Qwiic connectors
  • Dimensions: 38 x 22 mm / 1.5 x 0.9 inch
Start Here
1
Connect

Wire up to your microcontroller via I²C.

2
Install the library

Add the Soldered library for your language (below).

3
Run an example

Open the get-started example and read your first value.

Pinout
Last updated: