Skip to the content
PCBKitNew board
HC-SR04 on a board, in 3D

HC-SR04

Universal Microelectronics

- Ultrasonic Receivers, Transmitters ROHS

Extended
DatasheetJLCPCBLCSCuniversal-microelectronics/HC-SR04
Category
Ultrasonic Receivers, Transmitters
Pins
4

Overview

The HC-SR04 is an ultrasonic Receivers, Transmitter made by Universal Microelectronics with 4 pins. - Ultrasonic Receivers, Transmitters ROHS.

PCBKit's library has its footprint (EasyEDA_Cloud:TH_HC-SR04V, from EasyEDA), ready for a KiCad board. JLCPCB lists it (part C19857336). 127 open-source boards in 116 repositories on GitHub use it.

Symbol

The library has no symbol for this part yet.

Footprint

1234
EasyEDA_Cloud:TH_HC-SR04VFrom EasyEDA

What it is and has

10
Power supply
+5V DC · p. 2
Quiescent current
<2mA · p. 2
Working current
15mA · p. 2
Effectual angle
<15° · p. 2
Ranging distance
2cm – 400 cm/1″ – 13ft · p. 2
Resolution
0.3 cm · p. 2
Measuring angle
30 degree · p. 2
Trigger input pulse width
10uS TTL pulse · p. 2
Echo output signal
TTL pulse proportional to the distance range · p. 2
Dimensions
45mm x 20mm x 15mm · p. 2

Parameters

8
Features
TOF measurement engine
Frequency - Center
40kHz
Functional Type
Transceiver
Height
15mm
Launch Angle
15°
Length
45mm
Maximum Voltage
5V
Width
20mm

Order codes

1

Open-source boards using it

All 127
  • 2 layers80 × 60 mmEnvMonitor, the printed circuit board in 3D

    EnvMonitor

    kennySzhucheng/EnvMonitor

    🌡️ 智能环境监测站 | STM32F103C8T6 + FreeRTOS + ESP8266 | 温湿度/光照/测距/OLED菜单/ThingSpeak上云 | 从裸机到RTOS到KiCad PCB全流程

    27 parts10
  • 2 layers120.7 × 184.1 mmBeachRover circuit, the printed circuit board in 3D

    BeachRover circuit

    wizardofrobots/roverCode

    Jetson Nano powered Arduino Rover

    11 parts10
  • 2 layers110 × 80 mmNoko 2, the printed circuit board in 3D

    Noko 2

    NikolaiRadke/Noko_2

    The do-it-yourself Arduino-based Noko monster. Version 2 with PCB and 3D printed casing.

    51 parts3Apache-2.0
  • 2 layers150 × 100 mmMaze kiCad, the printed circuit board in 3D

    Maze kiCad

    billtsol/Maze

    This project demonstrates how to use an Arduino board, IR sensors, and a motor driver shield to create a maze-solving robot.

    39 parts2
  • 2 layers111.5 × 102 mmWall e, the printed circuit board in 3D

    Wall e

    c-lydia/ESP-ROS2

    A tiny robot with IMU (MPU5060) and an ultrasonic sensor (HC-SR04), running on micro-ROS, communicating over UDP.

    12 parts2Apache-2.0
  • 2 layers25.2 × 27.3 mmCf2-hcsr04, the printed circuit board in 3D

    Cf2-hcsr04

    dbrgn/crazyflie2-hcsr04

    Ultrasonic sensor (HC-SR04) extension board for the Crazyflie 2.0

    9 parts2
  • 2 layersAegis, the printed circuit board in 3D

    Aegis

    YousefAliAicha/aegis-embedded-system

    Networked rotating ultrasonic radar system built on the Deneyap Kart 1A (ESP32-S3), with a real-time web dashboard served directly from the board.

    9 parts2MIT
  • 2 layers170.2 × 119.4 mmSentinel, the printed circuit board in 3D

    Sentinel

    YousefAliAicha/sentinel-arduino-firmware

    Adaptive traffic-light FSM on the Arduino UNO R3 — pedestrian preemption, LDR-gated night mode with HC-SR04 vehicle detection, and a multiplexed 7-segment countdown. Fully non-blocking.

    25 parts2MIT

Show this part on your page

A live frame, for any web page
<iframe src="https://pcbkit.io/embed/parts/universal-microelectronics/HC-SR04" title="HC-SR04 in PCBKit" width="100%" height="480" style="border:0;border-radius:12px" allow="fullscreen" loading="lazy"></iframe>
A picture
<img src="https://pcbkit.io/embed/parts/universal-microelectronics/HC-SR04.jpg" alt="HC-SR04" width="1200" height="900">
A picture that opens the part, for a README
[![HC-SR04](https://pcbkit.io/embed/parts/universal-microelectronics/HC-SR04.jpg?size=s)](https://pcbkit.io/parts/universal-microelectronics/HC-SR04)

Questions

Is there a KiCad symbol and footprint for the HC-SR04?

Yes. the footprint EasyEDA_Cloud:TH_HC-SR04V, both drawn on this page. PCBKit places them on a board for you when you design with it.

Where is the HC-SR04 datasheet?

Universal Microelectronics publishes it: the Datasheet link on this page opens it.

Where can I order the HC-SR04?

JLCPCB lists it as part C19857336, with 0 in stock; the sellers' links on this page open their listings.

Which open-source boards use the HC-SR04?

127 boards in 116 repositories on GitHub; the most starred are listed on this page, with their KiCad files.