Multiple RGB Led Chaser Using Arduino Uno

by sparkbuzzer in Circuits > Arduino

2925 Views, 15 Favorites, 0 Comments

Multiple RGB Led Chaser Using Arduino Uno

IMG_20200506_192744copy.jpg

In This Blog I have shown you how to build LED chaser using arduino uno

Full Steps in Video

Multiple RGB Led Chaser Using Arduino Uno | Arduino Project

Youtube Video

Watch This Video And Find More Arduino Projects at Sparkbuzzer.com

Components

IMG_20200506_18580943.jpg

  • RGB Leds
  • Jumper Wires
  • Breadboard
  • Arduino Uno
  • USB Cable for Arduino

Led Mount on Breadboard

vlcsnap-2020-05-08-04h46m27s193.png
vlcsnap-2020-05-08-04h46m32s14.png

Connect cathod pins to Gnd

and

andode pins to arduino pins 3 to 12

Wire Connection

vlcsnap-2020-05-08-04h59m53s87.png
RGB Led Chaser square.png

Code

RGB Led Chaser Code

Here is the code

int ledpin;

int pot = A0;
void setup() {
for(ledpin=2;ledpin<=8;ledpin++){
  pinMode(ledpin,OUTPUT);
 }
}
void loop() {
  for(ledpin=2;ledpin<=8;ledpin++){
  int value = analogRead(pot);
  digitalWrite(ledpin,HIGH);
  delay(value);
  }
    for(ledpin=2;ledpin<=8;ledpin++){
      int value = analogRead(pot);
  digitalWrite(ledpin,LOW);
  delay(value);
  }
}

Code Screenshot

ss.png

Here is the code screenshot

Video and Pics

IMG_20200506_192744copy.jpg
IMG_20200506_192805.jpg
IMG_20200506_192839.jpg

Pls Support us On Youtube, Subscribe Here #sparkbuzzer

RGB Led Chaser Arduino Code

Downloads