Professional Documents
Culture Documents
Living
Outside
Play
Technology
Workshop
Table of Contents
LED Strip Controller w/ LED Amp + Arduino . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Step 3: Wire it up . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
http://www.instructables.com/id/LED-Strip-Controller-w-LED-Amp-Arduino/
Author:ehsmaes
IT-professional by day, DIY hobbyist (among other things) on my free time. I allways have one or more projects going on. Usually something to do with home
improvement or a tech project or a combination of the two. After discovering Instructables, I figured, why not document for own reference and hopefully for
enjoyment of others. I hope you will gain some inspiration from my projects when working on you own. Please let me know if you do! I encourage comments.
Image Notes
1. LED Amplifier
2. 5m 5050 RGB LED Strip
3. Arduino Nano
http://www.instructables.com/id/LED-Strip-Controller-w-LED-Amp-Arduino/
Step 3: Wire it up
Wire the Arduino to the input and theLED strip to the output of the LED Amp seen in the picture. You can power the Arduino from +5v or +12v (not some versions of
Arduino. Check the spec). Your choice.
http://www.instructables.com/id/LED-Strip-Controller-w-LED-Amp-Arduino/
int ledPinR = 3;
int ledPinG = 5;
int ledPinB = 6;
void setup()
}
/* Note:
When driving LED's using common anode LED AMP's you have to inverse the duty cycle,
i. e. 255 is off and 0 is full power.
*/
void loop() {
// Red
for(int fadeValue = 255 ; fadeValue >= 0;
analogWrite(ledPinR, fadeValue);
delay(30);
}
for(int fadeValue = 0 ; fadeValue <= 255;
analogWrite(ledPinR, fadeValue);
delay(30);
}
// Green
for(int fadeValue = 255 ; fadeValue >= 0;
analogWrite(ledPinG, fadeValue);
delay(30);
}
for(int fadeValue = 0 ; fadeValue <= 255;
analogWrite(ledPinG, fadeValue);
delay(30);
}
// Blue
for(int fadeValue = 255 ; fadeValue >= 0;
analogWrite(ledPinB, fadeValue);
delay(30);
}
for(int fadeValue = 0 ; fadeValue <= 255;
analogWrite(ledPinB, fadeValue);
delay(30);
}
// White
for(int fadeValue = 255 ; fadeValue >= 0;
analogWrite(ledPinR, fadeValue);
analogWrite(ledPinG, fadeValue);
analogWrite(ledPinB, fadeValue);
delay(30);
}
for(int fadeValue = 0 ; fadeValue <= 255;
analogWrite(ledPinR, fadeValue);
analogWrite(ledPinG, fadeValue);
analogWrite(ledPinB, fadeValue);
delay(30);
}
}
fadeValue -=5) {
fadeValue +=5) {
fadeValue -=5) {
fadeValue +=5) {
fadeValue -=5) {
fadeValue +=5) {
fadeValue -=5) {
fadeValue +=5) {
Blinky Lights
using Arduino
and LumiGeek
by timmylip
Android
Bluetooth
Control Led
RGB by xlisus
Installing 12V
Color Changing
RGB Lighting by
Oznium
LED
Undercabinet /
Under Desk
Lighting with
Dimmer and
Wireless
Remote by
Oznium
http://www.instructables.com/id/LED-Strip-Controller-w-LED-Amp-Arduino/
Advertisements
http://www.instructables.com/id/LED-Strip-Controller-w-LED-Amp-Arduino/