LED Control System Arduino Project
LED Control System Arduino Project
Objective:
To control LEDs using Arduino Uno and simulate different LED patterns and colors using the Wokwi
simulator.
Components Required:
- Arduino Uno
- 220-ohm Resistors
- Breadboard
- Jumper Wires
Working Principle:
The Arduino sends HIGH or LOW signals to digital pins connected to LEDs, turning them ON or
OFF in specific patterns. Colors can be simulated using RGB LEDs or multiple single-color LEDs.
Simulation Tool:
Wokwi Simulator (https://wokwi.com/) is used to simulate the LED patterns without physical
hardware.
int redLED = 2;
int greenLED = 3;
int blueLED = 4;
void setup() {
pinMode(redLED, OUTPUT);
pinMode(greenLED, OUTPUT);
pinMode(blueLED, OUTPUT);
void loop() {
digitalWrite(redLED, HIGH);
delay(500);
digitalWrite(redLED, LOW);
digitalWrite(greenLED, HIGH);
delay(500);
digitalWrite(greenLED, LOW);
digitalWrite(blueLED, HIGH);
delay(500);
digitalWrite(blueLED, LOW);
Expected Output:
Each LED blinks one after another every 500 milliseconds, creating a simple pattern.
Applications:
- Decorative lighting