28 open source boards using the HC-SR04

Real designs built with the HC-SR04, from public GitHub projects: a quick way to see how others power, decouple and connect it. Each board comes with its KiCad files, full parts list and a render — and you can simulate its firmware on HardLabs.

28 boardsClear filters|Most starred

How designs wire the HC-SR04

Read from the KiCad layouts of 22 open source designs, one per repository: what each pin of the HC-SR04 connects to, and the resistors, capacitors and other passives placed on it.

VCCpin 1Connected to: 5V 68% · a signal 23%
GNDpin 4Connected to: GND 86%

2 more pins vary from design to design. Connections count pins, parts count designs; values in brackets are how many parts had that value. Designs read include Ultrasonic by pioneers, Aegis embedded system by YousefAliAicha, Sentinel arduino firmware by YousefAliAicha and SmartGeiger by ahnaf-tahmid-chowdhury.

The HC-SR04 in open source designs

The gallery holds 28 open source boards using the HC-SR04 from 27 GitHub repositories; a typical one measures about 95.8 × 115 mm and carries around 20 components.

100% are two-layer designs, the rest use four layers or more, and 50% carry an open source license.

The most starred is Ultrasonic by pioneers.

Microcontrollers on boards using the HC-SR04

HC-SR04: common questions

Where can I find a HC-SR04 reference design?

Each of the 28 boards on this page is a real design using the HC-SR04. Open one to see how it is wired up, with the full BOM, a render of the layout and links to its KiCad files.

What parts are used alongside the HC-SR04?

The Arduino_UNO_R3, Arduino_Nano_v3.x, Arduino.MEGA.mini, ESP32-S3-DEVKITC-1-N8R2 and Pro_micro appear in the most repositories here.

Which microcontrollers do boards using the HC-SR04 use?

Most are built on AVR/Arduino (12) and ESP32 (8).

How big is a typical board using the HC-SR04?

The median is 95.8 × 115 mm, and 100% are two-layer designs.

What is the most popular open source board using the HC-SR04?

By GitHub stars, Ultrasonic by pioneers, with 8 stars.

Can I simulate one of these boards using the HC-SR04 before building it?

Yes. HardLabs turns a board's netlist and BOM into a working simulation, so you can boot and test firmware against it with no hardware on your desk.

Browse boards by part