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

Arduino UNO Blinking LED Circuit with 200 Ohm Resistor

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

Circuit Documentation

Summary

This circuit consists of an Arduino UNO microcontroller, a red LED, and a resistor. The Arduino UNO controls the LED, making it blink 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

void setup() {
  // Initialize digital pin D13 as an output.
  pinMode(13, OUTPUT);
}

void loop() {
  // Turn the LED on (HIGH is the voltage level).
  digitalWrite(13, HIGH);
  // Wait for a second.
  delay(1000);
  // Turn the LED off by making the voltage LOW.
  digitalWrite(13, LOW);
  // Wait for a second.
  delay(1000);
}

This code initializes digital pin D13 as an output in the setup() function. In the loop() function, it turns the LED on by setting D13 to HIGH, waits for one second, then turns the LED off by setting D13 to LOW, and waits for another second. This cycle repeats indefinitely, causing the LED to blink on and off at one-second intervals.