Led Lantern

by somanyusernames111 in Circuits > LEDs

375 Views, 0 Favorites, 0 Comments

Led Lantern

IMG_4456.JPG
IMG_4457.JPG
IMG_4458.JPG
IMG_4459.JPG
IMG_4460.JPG
IMG_4461.JPG
IMG_4462.JPG
IMG_4466.JPG

Requirments

Hardware:
1x Arduino uno

1x 5v Rgb analog led strip 1m

1x Led strip connector

1x medium/ large breadboard

3x Trip 31C Transistors

12x wire

3x current wire's

1x 12v power supply

1x Usb cabble A to B

Software:

arduino IDE

This will let you upload the code on the arduino.

Blueprint

led_strips_ledstripbjt.gif

This is what we are going to do.

The Wires

IMG_4471.JPG
IMG_4473.JPG

take 4 wires and put one in power outlet 3,5,6 of your arduino, put the last wire in the 5v of the arduino.

Breadboard Setup

IMG_4474.JPG

Connecting the Wires

IMG_4477.JPG
IMG_4478.JPG
IMG_4476.JPG

Final Look

IMG_4479.JPG
IMG_4481.JPG
IMG_4482.JPG

The code upload code to the arduino you must have downloaded arduino IDE, one's you have done that you type in this code and your arduino should light up.

You can write bluepin or greenpin to get those collors.

#define redPin 5

#define bluePin 3

#define greenPin 6

void setup(){

pinMode(greenPin, OUTPUT);

pinMode(bluePin, OUTPUT);

pinMode(redPin, OUTPUT);

}

void loop(){

int r, g, b;

analogWrite(redPin,500);

}