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

Arduino UNO Controlled Micro Servo Motor System

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

Circuit Documentation

Summary

This circuit consists of an Arduino UNO microcontroller and a Micro servo 9G. The Arduino UNO is used to control the servo motor, which is connected to the Arduino's digital and power pins. The provided code initializes the servo and reads analog input values, which can be used to control the servo's position.

Component List

Arduino UNO

Micro servo 9G

Comment

Wiring Details

Arduino UNO

Micro servo 9G

Code Documentation

Arduino UNO Code

#include <Servo.h>

Servo penggerak;

void setup() {
  Serial.begin(9600);
  penggerak.attach(8);
  penggerak.write(90);
}

void loop() {
  int gerak = analogRead(js);
  Serial.println(gerak);
}

Description:

This documentation provides a comprehensive overview of the circuit, including the components used, their connections, and the code running on the Arduino UNO.