HC-SR04 Distance Sensor
Komponentlar

HC-SR04 Distance Sensor

4.7(57)
59
The HC-SR04 is a widely used ultrasonic distance sensor. It calculates distance by measuring the time it takes for sound waves to return.

Bu komponent ishlatiladigan loyihalar

HC-SR04 Distance Measurement (Serial Display)
AR-27Boshlang‘ich

HC-SR04 Distance Measurement (Serial Display)

The HC-SR04 sensor works just like a bat finding its way in the dark: it sends out a sound you cannot hear, listens for the echo and measures how far away the object in front of it is.

4.6(50)
82
Measuring Distance Using LCD Display
AR-31Yuqori
Premium

Measuring Distance Using LCD Display

A tool that measures distance without a ruler: move your hand back and forth in front of the sensor and watch the number change.

4.6(45)
59
Height Measurement Project
AR-33O‘rta
Premium

Height Measurement Project

A height meter that hangs from a door frame and tells you, in centimetres, how tall the person standing under it is.

4.5(25)
34
Smart Stair and Corridor Lighting
AR-82O‘rta
Premium

Smart Stair and Corridor Lighting

Step onto the stairs or into the hallway and the lights come on one step at a time in the direction you are walking.

5.0(36)
52
Obstacle Avoidance Robot
AR-81Yuqori
Premium

Obstacle Avoidance Robot

How about building a smart vehicle that finds its own way? The Obstacle Avoidance Robot constantly scans its surroundings thanks to the ultrasonic sensor in front of it.

5.0(38)
49
ESP32 HC-SR04 Ultrasonic Distance Sensor
ES-14O‘rta

ESP32 HC-SR04 Ultrasonic Distance Sensor

The HC-SR04 ultrasonic sensor measures distance by timing how long its sound pulse takes to bounce off an object and return (time of flight). In this project the ESP32 sends a 10-microsecond pulse to the TRIG pin and reads the echo time from the ECHO pin with pulseIn(). The distance is shown in cm on a 16x2 I2C LCD. The HC-SR04 runs on 5V, so the ECHO pin needs a voltage divider, or the ESP32's 3.3V GPIO gets damaged.

4.9(29)
48
ESP32 Prayer Rakat Counter (HC-SR04 + SSD1306 OLED + 2 Buttons)
ES-34Yuqori
Premium

ESP32 Prayer Rakat Counter (HC-SR04 + SSD1306 OLED + 2 Buttons)

Do you sometimes lose track of which rakat you are on during prayer? This project is a rakat counter that sits next to your prayer mat and counts your prostrations when you bring your hand close. The HC-SR04 ultrasonic distance sensor detects your hand, the SSD1306 OLED display shows the count, and two buttons let you choose 2, 3 or 4 rakats and reset. A 2.5-second debounce and a "hand-away" check make sure no prostration is counted twice.

4.8(11)
14
ESP32 Parking Sensor (HC-SR04 + 5-LED Bar + Buzzer + OLED)
ES-38Yuqori
Premium

ESP32 Parking Sensor (HC-SR04 + 5-LED Bar + Buzzer + OLED)

The ESP32 version of a car parking sensor! The HC-SR04 ultrasonic sensor measures the distance to the object in front. As it gets closer, a 5-LED bar fills up (green → yellow → red) and the buzzer beeps faster. Very close (under 10 cm), a continuous alarm sounds and all LEDs light up. The SSD1306 OLED display shows the live distance in cm in large text, plus a status message.

14
Arduino Mini Radar (Servo + HC-SR04 + OLED Display)
AR-98O‘rta
Premium

Arduino Mini Radar (Servo + HC-SR04 + OLED Display)

A movie-style radar from a distance sensor and a servo! The SG90 servo sweeps the HC-SR04 from 0 to 180 degrees while the 0.96 inch OLED draws a rotating sweep line and shows detected objects as dots. When something enters the range, the passive buzzer pings, and the pitch rises as the object gets closer. Servo control, ultrasonic measurement, trigonometry-based drawing and tone() sound in one project.

1
Arduino Ultrasonic Theremin (HC-SR04 + NeoPixel Ring + Buzzer)
AR-101O‘rta
Premium

Arduino Ultrasonic Theremin (HC-SR04 + NeoPixel Ring + Buzzer)

A musical instrument you play without touching it, just by moving your hand in the air! As your hand gets closer to the HC-SR04, the passive buzzer plays higher notes and the 24-LED NeoPixel ring shows each note with color and fill level. A button switches between two modes: in SCALE mode every distance snaps to a note of a pentatonic scale, and in GLIDE mode the sound slides smoothly like an old sci-fi movie. Your hand writes the melody, not the code.

Raspberry Pi Pico Parking Sensor (HC-SR04 + 3 LEDs + Buzzer)
PI-18Boshlang‘ich

Raspberry Pi Pico Parking Sensor (HC-SR04 + 3 LEDs + Buzzer)

Bring your car's reverse parking sensor to your desk! The Raspberry Pi Pico uses an HC-SR04 ultrasonic sensor to measure the distance to an obstacle about 16 times a second. As it gets closer, the green, yellow and red LEDs light up in turn and the buzzer beeps faster; under 10 cm the tone turns continuous and the red LED flashes. Ultrasonic ranging, PWM sound and non-blocking timing in one project.

1
Arduino Touchless Trash Can (HC-SR04 + SG90 Servo + LED)
AR-104Boshlang‘ich
Premium

Arduino Touchless Trash Can (HC-SR04 + SG90 Servo + LED)

Wave your hand and the lid opens by itself! When the HC-SR04 ultrasonic sensor sees your hand closer than 15 cm, an SG90 servo lifts the lid in half a second and an LED lights up. Once the hand is gone, the lid waits 3 s and closes slowly. If the sensor detects a hand while the lid is closing, it reopens; contact is still possible because of measurement delays or an undetected hand. A school project favourite that is genuinely useful at home.

1