DIYables Ultrasonic Sensor

Sensors
Buy on Amazon
HC-SR04 ultrasonic distance sensor module for Arduino ESP32 ESP8266 Raspberry Pi Click to zoom
HC-SR04 ultrasonic distance sensor module for Arduino ESP32 ESP8266 Raspberry PiUltrasonic sensor module with ultrasonic transducer for obstacle detectionHC-SR04 distance sensor module specifications and dimensionsHC-SR04 ultrasonic sensor pinout diagram showing VCC GND TRIG ECHO pinsHC-SR04 ultrasonic sensor connected to Arduino board for distance measurementHC-SR04 distance sensor wiring with ESP32 development board for obstacle avoidanceUltrasonic sensor 2-piece set packaging for robotics projects

Quick Overview

The HC-SR04 Ultrasonic Sensor uses ultrasonic waves to measure distance with high precision. This 2-piece set is compatible with Arduino, ESP32, ESP8266, Raspberry Pi, and any 5V or 3.3V microcontroller. Perfect for obstacle avoidance, distance measurement, and robotics projects.

Key Features

  • Model: HC-SR04 ultrasonic distance sensor
  • Wide Detection Range: 2cm to 450cm with up to 3mm accuracy
  • Dual Voltage Logic: Supports both 3.3V and 5V logic levels
  • Low Power Consumption: Less than 2mA static current
  • Narrow Beam Angle: Less than 15 degrees for focused detection
  • 2-Piece Set: Includes 2 ultrasonic sensors

SPECIFICATION

Specification Value
Product Type Ultrasonic Distance Sensor
Model HC-SR04
Operating Voltage 5V
Logic Voltage 3.3V or 5V
Detection Range 2cm - 450cm
Accuracy Up to 3mm
Sensor Angle < 15 degrees
Static Current < 2mA
Trigger Input Width 10µS
Echo Output Signal TTL PWM signal
Operating Frequency 40Hz
Size 45 x 20 x 15 mm
Weight 10g
Color Blue
Package Quantity 2 pieces

COMPATIBLE HARDWARE

  • Arduino boards (UNO, Mega, Nano, etc.)
  • ESP32 development boards
  • ESP8266 (NodeMCU, Wemos D1, etc.)
  • Raspberry Pi (all models)
  • Raspberry Pi Pico
  • Any microcontroller with digital I/O pins and 5V power supply