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

Arduino UNO LED Blinker with Resistor

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

Circuit Documentation

Summary

This circuit consists of an Arduino UNO microcontroller, a red LED, and a 200 Ohm resistor. The Arduino UNO is programmed to blink the LED on and off at one-second intervals.

Component List

LED: Two Pin (red)

Resistor

Arduino UNO

Wiring Details

LED: Two Pin (red)

Resistor

Arduino UNO

Code Documentation

Arduino UNO Code

void setup() {
  // put your setup code here, to run once:
  pinMode(13, OUTPUT);
}

void loop() {
  // put your main code here, to run repeatedly:
  digitalWrite(13, HIGH);
  delay(1000);
  digitalWrite(13, LOW);
  delay(1000);
}

This code sets up pin 13 of the Arduino UNO as an output pin. In the main loop, it turns the LED on for one second and then off for one second, creating a blinking effect.