LED-Follower

799

9

4

Posted in TechnologyArduino

Introduction: LED-Follower

About: I'm an engineering student passionate about Creativeness coding!

Make a fun, glowing LED-Follower which looks amazing. Super easy project for all ages.

Step 1: Materials

An Arduino Uno

Bread Board

Jump Wires

LED's

USB Data cable

Step 2: Connections

Connect all the negative terminal of the LED's to ground on the Arduino. Connect the individual positive terminals to each digital pin holder on the Arduino.

Step 3: Re-check

Re-check all the connections. Connect the data cable to the Arduino and start typing the codes. Assign the positive terminals as digitalWrite for all the LED's and set a delay time between them . Upload the codes to the board.

Step 4: Power Up!

Connect the USB cable and enjoy the lighting.

Share

    Recommendations

    • Trash to Treasure

      Trash to Treasure
    • Science of Cooking

      Science of Cooking
    • Pocket-Sized Contest

      Pocket-Sized Contest
    user

    We have a be nice policy.
    Please be positive and constructive.

    Tips

    Questions

    4 Comments

    void setup() {

    pinMode(0,OUTPUT);

    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);

    pinMode(11,OUTPUT);

    }

    void loop() {

    digitalWrite(0, HIGH);

    delay(50);

    digitalWrite(0,LOW);

    digitalWrite(1, HIGH);

    delay(50);

    digitalWrite(1,LOW);

    digitalWrite(2, HIGH);

    delay(50);

    digitalWrite(2,LOW);

    digitalWrite(3, HIGH);

    delay(50);

    digitalWrite(3,LOW);

    digitalWrite(4, HIGH);

    delay(50);

    digitalWrite(4,LOW);

    digitalWrite(5, HIGH);

    delay(50);

    digitalWrite(5,LOW);

    digitalWrite(6, HIGH);

    delay(50);

    digitalWrite(6,LOW);

    digitalWrite(7, HIGH);

    delay(50);

    digitalWrite(7,LOW);

    digitalWrite(8, HIGH);

    delay(50);

    digitalWrite(8,LOW);

    digitalWrite(9, HIGH);

    delay(50);

    digitalWrite(9,LOW);

    digitalWrite(10, HIGH);

    delay(50);

    digitalWrite(10, LOW);

    digitalWrite(11, HIGH);

    delay(50);

    digitalWrite(11,LOW);

    }