Introduction: Recycle Lamp

Introduction:

Recycled lamp, made of used milk box, could light up the room during night time.

Main user:

Children

Supplies

INTERIOR:

1. Arduino Leonardo

2. Three 220 ohm resistors

3. Wires

4. Breadboard

5. Three random colors

LED light EXTERIOR:

1. Watercolor

2. Brush

3. Utility knife

4. Empty boxed drink *Washed

Step 1: Connect Components

Connect the wires, LEDs, and ohm resistors to corresponding spots according to the images shown above.

Step 2: Type in Arduino IDE Code

gistfile1.txt

void setup() {
pinMode(13, OUTPUT);
pinMode(12, OUTPUT);
pinMode(11, OUTPUT);
}
void loop() {
digitalWrite(13, HIGH);
delay(3000); //改(delay1500)
digitalWrite(13, LOW);
digitalWrite(12, HIGH);
delay(3000); //改(delay1500)
digitalWrite(12, LOW);
digitalWrite(11, HIGH);
delay(3000); //改 (delay1500)
digitalWrite(11, LOW);
digitalWrite(13, HIGH);
delay(3000); //改(delay1500)
digitalWrite(13, LOW);
digitalWrite(12, HIGH);
delay(3000); //改 (delay1500)
digitalWrite(12, LOW);
digitalWrite(11, HIGH);
delay(3000); //改 (delay1500)
digitalWrite(11, LOW);
}
view rawgistfile1.txt hosted with ❤ by GitHub

Step 3: Test If the Lights Turns on As Planned.

Step 4: Decorate the Exterior of the Lamp

Steps:

1. Cut holes on the box's surface.

2. Color it with watercolor.

3. Dry it by placing it in front of a fan or with a hairdryer.

4. Final touches.

Step 5: DONE!!!