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 with a 1-second interval.

Component List

LED: Two Pin (red)

Arduino UNO

Resistor

Wiring Details

LED: Two Pin (red)

Arduino UNO

Resistor

Code Documentation

Arduino UNO Code

// C++ code
//
void setup()
{
  pinMode(13, OUTPUT);
}

void loop()
{
  digitalWrite(13, HIGH);
  delay(1000); // Wait for 1000 millisecond(s)
  digitalWrite(13, LOW);
  delay(1000); // Wait for 1000 millisecond(s)
}

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