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

Arduino UNO Controlled Servo Motor

View and Edit Project In Cirkit DesignerImage of Arduino UNO Controlled Servo Motor

Circuit Documentation

Summary of the Circuit

This circuit consists of an Arduino UNO microcontroller board and a servo motor. The Arduino UNO is used to control the position of the servo motor by sending pulse-width modulation (PWM) signals through one of its digital pins. The servo motor is powered directly from the Arduino's 5V output and is grounded to the Arduino's ground (GND) pin. The control signal for the servo is provided by the Arduino's digital pin 6 (D6).

Component List

Arduino UNO

Servo Motor

Wiring Details

Arduino UNO

Servo Motor

Documented Code

#include <Servo.h>
Servo Inuka;

void setup() {
  // Attach the servo on pin 6 to the servo object
  Inuka.attach(6);
}

void loop() {
  // Set the servo position to 100 degrees
  Inuka.write(100);
}