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

Arduino UNO Controlled Red LED Array

View and Edit Project In Cirkit DesignerImage of Arduino UNO Controlled Red LED Array

Circuit Documentation

Summary

This circuit consists of an Arduino UNO microcontroller connected to three red two-pin LEDs, each in series with a 200 Ohm resistor. The purpose of the circuit is to control the LEDs via the digital pins of the Arduino UNO. The common cathodes of the LEDs are connected to the ground (GND) of the Arduino, and the anodes are each connected to a resistor. The other end of each resistor is connected to a separate digital pin on the Arduino (D8, D9, and D10). The code for the Arduino UNO will determine the behavior of the LEDs.

Component List

Arduino UNO

LED: Two Pin (red)

Resistor

Wiring Details

Arduino UNO

LED: Two Pin (red)

Resistor

Documented Code

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

void loop() {
  // put your main code here, to run repeatedly:

}

The provided code is a template with empty setup() and loop() functions. The setup() function is intended for initialization code that runs once when the Arduino is powered on or reset. The loop() function contains code that runs repeatedly, forming the main logic of the program. To control the LEDs, code should be added to these functions to set the digital pins (D8, D9, and D10) as outputs and to turn the LEDs on or off by writing HIGH or LOW to these pins, respectively.