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

Arduino-Controlled Dual Servo with IR Sensor Feedback

View and Edit Project In Cirkit DesignerImage of Arduino-Controlled Dual Servo with IR Sensor Feedback

Circuit Documentation

Summary

The circuit in question is designed to interface an Arduino UNO microcontroller with two servo motors and an infrared (IR) sensor. The Arduino UNO controls the servo motors via PWM signals and reads the output from the IR sensor. The servos and the IR sensor are powered by the 5V supply from the Arduino. Ground connections are shared among all components to complete the circuit.

Component List

Arduino UNO

Servo (Wokwi Compatible)

IR Sensor

Comments

Wiring Details

Arduino UNO

Servo (Wokwi Compatible) #1

Servo (Wokwi Compatible) #2

IR Sensor

Documented Code

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

}

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

}

Filename: sketch.ino

Description: This is the main code file for the Arduino UNO microcontroller. The setup() function is intended to initialize settings once the microcontroller is powered on or reset. The loop() function contains the main logic that will run continuously. Currently, both functions are empty and should be filled with the appropriate initialization and operational code to control the servo motors based on the IR sensor's output.