Circular Led Light Chaser using Arduino


This a Project for Arduino beginners,The led’s formed as circle glows one by one with some time delay will be interesting to see in action.

circular led chaser arduino

circular led chaser arduino

 

To build this project you will need:

  • 10 LEDs any color will do.
  • Some wire, I used a ribbon cable I had
  • Most importantly, an Arduino
  • Perhaps some electrical tape
  • Prototyping board

Connect the Leds with arduino as shown in below figure.Connect all cathode(short pin) and connect it with ground and Each anode(other pin) to arduino digital output pin as shown i figure.instead of breadboard you can solder it in PCB in circular or oval arrangement.

circular-light-chaser-arduino

Breadboard view

Start your Arduino Programmer and enter the below program

void setup() {
pinMode(1,OUTPUT);
pinMode(2,OUTPUT);
pinMode(3,OUTPUT);
pinMode(4,OUTPUT);
pinMode(5,OUTPUT);
pinMode(6,OUTPUT);
pinMode(7,OUTPUT);
pinMode(8,OUTPUT);
pinMode(9,OUTPUT);
pinMode(10,OUTPUT);
}
void loop() {
digitalWrite(1,HIGH);
delay(100);
digitalWrite(1,LOW);
digitalWrite(2,HIGH);
delay(100);
digitalWrite(2,LOW);
digitalWrite(3,HIGH);
delay(100);
digitalWrite(3,LOW);
digitalWrite(4,HIGH);
delay(100);
digitalWrite(4,LOW);
digitalWrite(5,HIGH);
delay(100);
digitalWrite(5,LOW);
digitalWrite(6,HIGH);
delay(100);
digitalWrite(6,LOW);
digitalWrite(7,HIGH);
delay(100);
digitalWrite(7,LOW);
digitalWrite(8,HIGH);
delay(100);
digitalWrite(8,LOW);
digitalWrite(9,HIGH);
delay(100);
digitalWrite(9,LOW);
digitalWrite(10,HIGH);
delay(100);
digitalWrite(10,LOW);
}

That is now give power to your arduino board and watch your masterpiece.

Freecircuits.org have moved to new Domain visit here – Electronics Blog.org

Receive Latest Articles and Freebies

Subscribe our Newsletter to receive latest articles and Freebies such as Arduino,Raspberry Pi etc


About Vivek R

I am an electronics hobbyist,Open source and Linux enthusiast.Founder and Blogger at Techiestuffs and WPStuffs.
Personal Blog - Twitter - Facebook

  • http://www.facebook.com/coolsush123 Sushant Kumar Thakur

    Nice effort but very basic LED lighting pattern expected something more attractive… :)  

    • Anonymous

      Thanks for ur comment..we will come with more patterns near future and As u told it will be good to place resistance to limit the current…

  • Manuel Borrajo

    probe with ARRAY for leds, is better

More in Arduino Projects, learn, videos
Why Students should use Linux Operating System
MATLAB program for Signal Operations
Wireless Mouse – Get insight
Close