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

Arduino UNO-Based Smart Servo Control with Ultrasonic Sensing and LED Indicators

View and Edit Project In Cirkit DesignerImage of Arduino UNO-Based Smart Servo Control with Ultrasonic Sensing and LED Indicators

Circuit Documentation

Summary

This circuit involves an Arduino UNO microcontroller interfacing with various components including LEDs, resistors, potentiometers, an ultrasonic sensor, a servo motor, and a pushbutton. The circuit is designed to demonstrate basic input and output operations, sensor interfacing, and control mechanisms.

Component List

  1. Arduino UNO

    • Description: A microcontroller board based on the ATmega328P.
    • Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
  2. LED: Two Pin (red)

    • Description: A red LED with two pins.
    • Pins: cathode, anode
  3. LED: Two Pin (green)

    • Description: A green LED with two pins.
    • Pins: cathode, anode
  4. Resistor (500 Ohms)

    • Description: A resistor with a resistance of 500 Ohms.
    • Pins: pin1, pin2
  5. HC-SR04 Ultrasonic Sensor

    • Description: An ultrasonic sensor used for distance measurement.
    • Pins: VCC, TRIG, ECHO, GND
  6. Potentiometer

    • Description: A variable resistor with three pins.
    • Pins: GND, Output, VCC
  7. Pushbutton

    • Description: A pushbutton with four pins.
    • Pins: Pin 2, Pin 1, Pin 3, Pin 4
  8. Servo

    • Description: A servo motor with three pins.
    • Pins: GND, VCC, PWM

Wiring Details

Arduino UNO

LED: Two Pin (red)

LED: Two Pin (green)

Resistor (500 Ohms)

Resistor (500 Ohms)

HC-SR04 Ultrasonic Sensor

Potentiometer

Potentiometer

Potentiometer

Pushbutton

Servo

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 summary, detailed component list, wiring details, and the code used in the microcontroller.