LED-Follower
Intro: LED-Follower
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.
4 Comments
DIY Hacks and How Tos 8 years ago
Cool project. Could you include a copy of the code.
thisisrammy 8 years ago
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);
}
DIY Hacks and How Tos 8 years ago
thisisrammy 8 years ago
Yeah