Overview
HC-SR04 ultrasonic sensor
The HC-SR04 ultrasonic sensor is an affordable and popular sensor that measures the distance between itself and an object in front of it. It is very simple to use and 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 I2C communication and is designed for seamless Qwiic (formerly easyC) connectivity.
Ultrasonic sensor HC-SR04
Which product is this documentation for?

HC-SR04 ultrasonic sensor with easyC
333001
Key Features
- Measuring range: 2cm to 400cm, ±1cm accuracy
- Measurement angle: 15°
- Operating voltage: 5V
- ATTINY404 microcontroller onboard
- Communication: I2C, UPDI, Directly
- Connector: 2 × Qwiic (formerly easyC) ports (plug-and-play, no soldering needed)
- Dimensions: 45 x 22 mm / 1.8 x 0.9 inch
You may also need

Qwiic cable
Qwiic (formerly easyC) compatible cables with connectors on both ends, available in various lengths.