Ultrasonic Distance Sensor - 3V or 5V - HC-SR04 compatible

Ultrasonic Distance Sensor - 3V or 5V - HC-SR04 compatible — Adafruit — 4007

HC-SR04-compatible ultrasonic distance sensor with trigger/echo interface, operating at 3 V or 5 V for 2–450 cm range. Drop-in replacement for standard HC-SR04 in 3.3 V microcontroller systems without level shifting.

Pinout

Logical pinout · physical placement not verified
ULTRASONIC DISTANCE SEVccEchoTrigGnd
  • Vcc

    Power pin for the HC-SR04-compatible ultrasonic sensor; Adafruit Learn says this sensor requires 5V power for best results.

    Type · PowerVoltage · 5V power for best results
  • Trig

    Trigger input; Adafruit Learn says setting Trig high for 10µs initiates an ultrasonic burst.

    Type · SignalVoltage · 3V or 5V signal
  • Echo

    Return signal; Adafruit Learn says Echo goes high after the burst and stays high until the echo is received, so pulse width is used to compute distance.

    Type · SignalVoltage · 5V logic return signal; Adafruit notes using the included resistor divider for safe 3V-device reading
  • Gnd

    Ground pin.

    Type · GroundVoltage · 0V ground

Start wiring

I2C · SPI · Single data line · 3.3 – 5 V · Breakout

Pimoroni describes its VL53L1X breakout as a compact time-of-flight distance sensor with I²C address 0x29, 4–400 cm range, 27° field of v…

Module pins: Vcc, Gnd, Trig, Echo. Schematik maps them to your board in the app.

Distance sensors

176 other options

About 180 listings spanning VL53-series ToF breakouts, HC-SR04 and MaxSonar ultrasonics, 360° triangulation LiDARs, IR proximity sensors, 24GHz mmWave presence detection and laser break-beam sensors.

View all 176

Related groups

4 groups