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

Arduino UNO Controlled Servo with HC-SR04 Ultrasonic Sensor

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

Circuit Documentation

Summary of the Circuit

This circuit consists of an Arduino UNO microcontroller, an HC-SR04 Ultrasonic Sensor, and a Micro servo 9G. The Arduino UNO acts as the central processing unit, controlling the servo motor and reading distance measurements from the ultrasonic sensor. The servo motor is powered and controlled by the Arduino, and the ultrasonic sensor is used to detect objects within a certain range by emitting ultrasonic waves.

Component List

Arduino UNO

HC-SR04 Ultrasonic Sensor

Micro servo 9G

Wiring Details

Arduino UNO

HC-SR04 Ultrasonic Sensor

Micro servo 9G

Documented Code

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

}

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

}

File: sketch.ino

Note: The provided code is a template and does not contain any functional code to control the servo or read from the ultrasonic sensor. It will need to be populated with the appropriate setup and loop code to implement the desired functionality.