Project tutorial
LED Color Sequencer

LED Color Sequencer © GPL3+

The LED sequencer is an easy project for beginners to learn how LEDs work.

  • 4,498 views
  • 10 comments
  • 17 respects

Components and supplies

Apps and online services

About this project

The light sequencer is a very basic and fun lighting system that anyone can make and code. Also the code can be changed so you can design your own unique pattern of lights.

Instructions

Step 1

First take your Arduino and breadboard, take a small jumper wire and plug it on ground on the Arduino and the first hole on the bread board. When finished take an LED and plug its long leg right underneath the wire. Then take a 220 ohm resistor and plug it under the short leg of the LED. Take another short jumper wire and and plug it under the resistor and connect that to pin number 13.

Step 2

Take another jumper wire and plug it in between the resistor and the yellow wire. Take that wire and put it in a new row. Do the same things as step one except this time have the short leg of the wire under the one in the new row and in the end put the end wire in pin hole 12.

Step 3

Take another wire and put it on under the very first wire (under the long leg of the LED) and plug it on a new row on the other side of the second LED and repeat step one and connect the end wire to pin 11.

Step 4

Take another jumper wire and plug it under the second LED. repeat step one again and plug the last wire to port 10 on the Arduino. Download the program and the finished product should look like below:

Thanks for checking out my project please leave a like!

Code

light sequencerArduino
void setup() {
  

pinMode(9, OUTPUT);
pinMode(10, OUTPUT);
pinMode(11, OUTPUT);
pinMode(12, OUTPUT);
pinMode(13, OUTPUT);
}

void loop() {
digitalWrite(13, HIGH);  
  digitalWrite(12, LOW);
  digitalWrite(11, LOW);
  digitalWrite(10, LOW);
  digitalWrite(9, LOW);

  delay(300);                       
  digitalWrite(13, LOW); 
  digitalWrite(12, HIGH); 
  digitalWrite(11, LOW);
  digitalWrite(10, LOW);
  digitalWrite(9, LOW);

  delay(300);                       
  digitalWrite(13, LOW); 
  digitalWrite(12, LOW); 
  digitalWrite(11, HIGH);
  digitalWrite(10, LOW);
  digitalWrite(9, LOW);
  
  delay(300);                       
  digitalWrite(13, LOW); 
  digitalWrite(12, LOW); 
  digitalWrite(11, LOW);
  digitalWrite(10, HIGH); 
  digitalWrite(9, LOW); 


  delay(300);                       
  digitalWrite(13, LOW); 
  digitalWrite(12, LOW); 
  digitalWrite(11, LOW);
  digitalWrite(10, LOW); 
  digitalWrite(9, HIGH);

 


}

Schematics

Circuit diagram
this is the layout of this circuit that I made
Arduino lay out bzdogl9mmz

Comments

Similar projects you might like

Controlling an RGB LED with Color Detector Camera

Project tutorial by Zowail

  • 1,455 views
  • 0 comments
  • 1 respect

Programming 8x8 LED Matrix

by SAnwandter1

  • 113,846 views
  • 26 comments
  • 105 respects

Using SMS messages to control LED color

Project tutorial by SteiniBrodda

  • 7,314 views
  • 0 comments
  • 6 respects

Music Adaptive RGB LED with Arduino and Processing

Project in progress by ounane mohamed elfarouk

  • 2,960 views
  • 8 comments
  • 24 respects

LED Blink Pattern

Project tutorial by Matt Arnold

  • 30,329 views
  • 14 comments
  • 84 respects

Bluetooth control led with lcd led status display real time.

Project tutorial by Youssef Sabaa

  • 17,299 views
  • 4 comments
  • 34 respects
Add projectSign up / Login