HC-SR04 Ultrasonic Sonar Distance Sensor
Adafruit · 3942

3942HC-SR04 ultrasonic distance sensor for measuring range with a trigger/echo interface in robotics, automation and proximity projects.
Pinout
| Pin | Position | Type | Function | Voltage |
|---|---|---|---|---|
| VCC | 1 | power | 5 V power input | 5V |
| TRIG | 2 | digital input | ultrasonic trigger input | 3V or 5V logic accepted per Adafruit product text |
| ECHO | 3 | digital output | ultrasonic echo pulse output | 5V logic output, use divider for 3V controllers |
| GND | 4 | ground | common ground | 0V |
Explore other component groups
VL53L1X Time of Flight (ToF) Sensor Breakout visual preview
Solid State TOF LiDAR - CE30-A visual previewDistance sensors
Compare compact I²C time-of-flight breakouts with industrial LiDAR modules without treating range, field of view, voltage or protocol as interchangeable.
Sensors · Distance sensors · 2 parts
MQ-2 Gas Sensor visual preview
MQ-3 Gas Sensor visual preview
MQ-135 Gas Sensor visual preview
Grove - Air quality sensor visual previewAir quality
Choose between MQ gas sensors, VOC/eCO2 indoor-air sensors, true CO2 modules and particulate sensors without treating every air-quality breakout as the same detector.
Sensors · Gas & air-quality sensors · 28 parts
Gravity: DHT11 Temperature & Humidity Sensor For Arduino visual preview
MIKROE DHT22 2 Click visual preview
MIKROE DHT22 Click visual preview
DHT20 - AHT20 Pin Module - I2C Temperature and Humidity Sensor visual previewTemp and humidity
DHT11, DHT22/AM2302, and DHT20/AHT20 sensors solve the same broad job, but only some are acceptable substitutes in the same circuit.
Sensors · Environment sensors · 19 parts
Gravity: DHT11 Temperature & Humidity Sensor For Arduino visual preview
Fermion: ENS160+BME280 Environmental Sensor - TVOC, eCO2, Temp & Humidity (Breakout) visual preview
MIKROE DHT22 2 Click visual preview
MIKROE DHT22 Click visual previewEnvironment sensors
Choose between temperature-only, temperature/humidity, pressure and indoor air-quality modules without treating every environmental sensor as a drop-in substitute.
Sensors · Environment sensors · 8 parts