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

Arduino UNO-Based Ultrasonic Distance Sensor with Multi-Color LED Indicator and Servo Motor

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Ultrasonic Distance Sensor with Multi-Color LED Indicator and Servo Motor

Circuit Documentation

Summary

This circuit involves an Arduino UNO microcontroller, multiple LEDs of different colors, an HC-SR04 Ultrasonic Sensor, and a Micro Servo 9G. The Arduino UNO controls the LEDs and the servo motor based on inputs from the ultrasonic sensor.

Component List

Arduino UNO

LED: Two Pin (red)

LED: Two Pin (green)

LED: Two Pin (yellow)

HC-SR04 Ultrasonic Sensor

Micro Servo 9G

Wiring Details

Arduino UNO

LED: Two Pin (red)

LED: Two Pin (red)

LED: Two Pin (green)

LED: Two Pin (green)

LED: Two Pin (yellow)

LED: Two Pin (yellow)

HC-SR04 Ultrasonic Sensor

Micro Servo 9G

Documented Code

Arduino UNO Code (sketch.ino)

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

}

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

}

Documentation (documentation.txt)

This documentation provides a comprehensive overview of the circuit, including a detailed list of components, their wiring connections, and the code used for the Arduino UNO microcontroller.