Cirkit Designer LogoCirkit DesignerYour all-in-one circuit design IDE Launch Cirkit Designer App

Arduino UNO Ultrasonic Distance Sensor with LED and Buzzer Alert System

View and Edit Project In Cirkit DesignerImage of Arduino UNO Ultrasonic Distance Sensor with LED and Buzzer Alert System

Circuit Documentation

Summary

This document provides a detailed overview of a circuit that includes an Arduino UNO microcontroller, an HC-SR04 Ultrasonic Sensor, a green LED, and a buzzer. The circuit is designed to interface these components with the Arduino UNO, which controls their operation based on the provided embedded code.

Component List

Arduino UNO

HC-SR04 Ultrasonic Sensor

LED: Two Pin (green)

Buzzer

Wiring Details

Arduino UNO

HC-SR04 Ultrasonic Sensor

LED: Two Pin (green)

Buzzer

Code Documentation

Arduino UNO Code

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

This code is a basic template for the Arduino UNO. The setup() function is where you initialize your components and settings, and the loop() function is where the main logic of your program runs repeatedly.


This document provides a comprehensive overview of the circuit, including the components used, their wiring details, and the embedded code for the Arduino UNO.