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

Arduino UNO Controlled Servo with Ultrasonic Sensor

View and Edit Project In Cirkit DesignerImage of Arduino UNO Controlled Servo with Ultrasonic Sensor

Circuit Documentation

Summary of the Circuit

This circuit integrates an Arduino UNO microcontroller with a Tower Pro SG90 servo motor and an HC-SR04 Ultrasonic Sensor. The Arduino UNO serves as the central processing unit, controlling the servo motor based on the distance measurements obtained from the ultrasonic sensor. The servo motor is powered directly from the Arduino's 5V output, and the ultrasonic sensor is powered from the Arduino's Vin pin, which can handle a higher voltage input. The sensor's ECHO and TRIG pins are connected to digital pins on the Arduino for distance measurement signaling.

Component List

Arduino UNO

Tower Pro SG90 Servo

HC-SR04 Ultrasonic Sensor

Wiring Details

Arduino UNO

Tower Pro SG90 Servo

HC-SR04 Ultrasonic Sensor

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:

}

Note: The provided code is a template and does not contain any functional code to control the servo or read from the ultrasonic sensor. This will need to be implemented based on the specific requirements of the application.

Additional Files