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

Arduino UNO LED Blinker with 200 Ohm Resistor

View and Edit Project In Cirkit DesignerImage of Arduino UNO LED Blinker with 200 Ohm Resistor

Circuit Documentation

Summary

This circuit consists of an Arduino UNO microcontroller, a red LED, and a resistor. The Arduino UNO is programmed to blink the LED on and off at one-second intervals. The resistor is used to limit the current flowing through the LED to prevent damage.

Component List

Arduino UNO

LED: Two Pin (red)

Resistor

Wiring Details

Arduino UNO

LED: Two Pin (red)

Resistor

Code Documentation

Arduino UNO Code

// Mendefinisikan pin LED
const int ledPin = 6;

void setup() {
  // Mengatur pin LED sebagai output
  pinMode(ledPin, OUTPUT);
}

void loop() {
  // Menyalakan LED
  digitalWrite(ledPin, 1);
  // Menunggu selama 1 detik
  delay(1000);
  
  // Mematikan LED
  digitalWrite(ledPin, 0);
  // Menunggu selama 1 detik
  delay(1000);
}

This code is written for the Arduino UNO microcontroller. It defines pin 6 as the output pin for the LED. In the setup function, pin 6 is configured as an output. The loop function then turns the LED on and off with a one-second delay between each state change, creating a blinking effect.