This project is about the Ultrasonic Sensor HC – SR04. We’ll explain how it works,
show some features and share an Arduino Project example. We provide a schematic
diagram on how to wire the ultrasonic sensor, and an example sketch to use with
your Arduino.

Description

The HC-SR04 ultrasonic sensor uses sonar to determine distance to an object like
bats do. It offers excellent non-contact range detection with high accuracy and
stable readings in an easy-to-use package. From 2cm to 400 cm or 1” to 13 feet. Its
operation is not affected by sunlight or black material like sharp rangefinders are
(although acoustically soft materials like cloth can be difficult to detect). It comes
complete with ultrasonic transmitter and receiver module.

Features
 Power Supply :+5V DC
 Quiescent Current : <2mA
 Working Current: 15mA
 Effectual Angle: <15°
 Ranging Distance : 2cm – 400 cm/1″ – 13ft
 Resolution : 0.3 cm
 Measuring Angle: 30 degree
 Trigger Input Pulse width: 10uS

The ultrasonic sensor uses sonar to determine the distance to an object. Here’s
what happens:
1. The transmitter (trig pin) sends a signal: a high-frequency sound;
2. When the signal finds an object, it is reflected and…
3. The transmitter (echo pin) receives

Sensor Pins

Parts Required

Arduino UNO – read Best Arduino Starter Kits
 Ultrasonic Sensor (HC-SR04)
 Breadboard
 Jumper wires

Schematics

Subscribe To Our Newsletter & Never Miss Another Update

Join our mailing list to receive the latest news and updates from our team.

You have Successfully Subscribed!