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

Arduino Nano Controlled IR Sensor Servo Circuit

View and Edit Project In Cirkit DesignerImage of Arduino Nano Controlled IR Sensor Servo Circuit

Circuit Documentation

Summary of the Circuit

This circuit consists of an Arduino Nano microcontroller, an infrared (IR) sensor, and a servo motor. The Arduino Nano serves as the central processing unit, controlling the servo motor based on the input from the IR sensor. The IR sensor detects the presence of objects or motion, and its output is read by the Arduino Nano. Depending on the sensor's output, the Arduino Nano sends a PWM (Pulse Width Modulation) signal to the servo motor to perform a specific action, such as rotating to a certain angle.

Component List

Arduino Nano

IR Sensor

Servo Motor

Wiring Details

Arduino Nano

IR Sensor

Servo Motor

Documented Code

Arduino Nano 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 IR sensor or the servo motor. The user is expected to fill in the setup and loop functions with the necessary code to read the IR sensor output and control the servo motor accordingly.