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

Arduino-Controlled Blinking LED Circuit

View and Edit Project In Cirkit DesignerImage of Arduino-Controlled Blinking LED Circuit

Circuit Documentation

Summary of the Circuit

The circuit described by the provided inputs consists of an Arduino 101 microcontroller, a resistor, and a red two-pin LED. The Arduino 101 is programmed to blink the LED on and off at a one-second interval. The LED is connected to the Arduino through a resistor, which limits the current to protect the LED from damage.

Component List

Arduino 101

Resistor

LED: Two Pin (red)

Wiring Details

Arduino 101

Resistor

LED: Two Pin (red)

Documented Code

Arduino 101 - sketch.ino

void setup() {
  pinMode(2, OUTPUT); // Set digital pin 2 as an output pin
}

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

Description: This code configures pin 2 of the Arduino 101 as an output and then toggles it between HIGH and LOW states with a one-second delay between each state change. This results in the LED blinking on and off at one-second intervals.