Memory Lamp

by anitalilee in Circuits > Arduino

935 Views, 4 Favorites, 0 Comments

Memory Lamp

4BE8FC09-B8AB-442B-82D4-DF2AD6A41FDF.jpeg

[ Intro ]

This product can you a way to keep your memory in a self-made frame, combining with a lamb decorated by yourself, increasing the visibility and exposure of the image being kept in the memory lamp, creating your own unique memory.

Features of this memory lamp:

1. Can be decorated in your own way.

2. Can change the image any time.

3. Work as a night lamp, becoming the only thing you will see when going to bed is the image kept in the frame.

Supplies

[ Materials ]

1. foam board

2. Arduino Leonardo*1

3. wires*5

4. LED*1 (choose any color you prefer)

5. variable resistor*1

6. transparent file folder*1

For decoration (choose any style you like)

1. paper tape

2. wrapping paper

[ Tools ]

1. utility knife

2. cutting mat

3. ruler

4. white glue

5. glue stick

6. pencil

7. eraser

Planning

6C97D08A-5D1E-4125-ADF0-A15B8C07D52C.jpeg

The first step of building anything is planning. So first, think of what functions and appearance you would like the product to have?


Function

1. Can control the brightness.

solution: add a variable resistor to control the LED

2. Can hold photos.

solution: create a frame on the front of the box.

3. Easier to fit any size of photo but not cutting off the focuses of the photo.

solution: keep the frame in square shape.

4. Can change the photo.

solution: open a place on the top for changing photos.

5. The photo should be protected.

solution: put the photo into a transparent protective film.

Appearance

1. The shape should not affect the storability.

solution: The model will be a cube. Having a flat platform allows the box to be places anywhere stably and other objects can be place on the top of the box, too, increasing the storability.

SO THIS IS WHAT CAME OUT AS A RESULT

according to the design layout, we need 6 pieces of foam broad in different sizes:

11.7cm*12cm / 2 (1 will be cut to let the wire out.)

12cm*12cm / 2 (1 will be cut as the frame.)

11.7cm*11.7cm / 2 (1 will be cut to put the variable resistor.)

(this measure is base on 0.3cm foam boards, if the foam board you're using has a different thickness, this measure will not fit.)

(The size of the box built by the foam boards should be 12.3cm*12cm*12cm)

Constructing the Outer Box of the Product

2026D6A4-CF07-49FB-A5F3-6B87ACC38691.jpeg
649CDB67-0F62-4474-91F3-7077C4D58684.jpeg
7A9A1400-5005-43DE-A381-C9259989E6FC.jpeg
375CC0CB-7701-4DC7-B4F8-E77C9A5C49FE.jpeg
B6E84A57-D124-4AF9-8933-F5DADAC45F8A.jpeg
12287697-8BC2-4F31-B443-B503863F2CA7.jpeg
E9979976-E1E6-4FE5-A903-4A1962BEEFFF.jpeg
279563A5-03E4-4579-94DF-44DF0F6993AE.jpeg
0A78E59D-7F2A-43E0-8400-DA8072E39144.jpeg
86F88CC4-81AB-46C9-95FC-742F0EE4CF93.jpeg

1. Draw and cut out six 12cm*12cm squares (pencil, eraser, utility knife, cutting mat, and ruler is needed) (picture 1)

2. Crop the boards base on the measurements (utility knife, cutting mat, and ruler is needed)

11.7cm*12cm / 2

12cm*12cm / 2

11.7cm*11.7cm / 2

3. Get one board from each measurement and crop them to fit their functions (pencil, eraser, utility knife, cutting mat, and ruler is needed) (The final should look like picture 2)

4. Stick all the boards on the wrapping paper. (glue stick is needed.) (picture 3)

5. Cut off the wrapping paper. (picture 4)

6. Draw and cut the file folder with a measurement of 11cm*11.5cm. One of the 11cm sides should be connecting the two pieces of the transparent folder, which is the folded side. (picture 5)

7. FOR DECORATION: wrap the sides of the frame with paper tape. (picture 6)

8. Stick the cut file folder onto the backside of the frame. Make sure the folded side is on the bottom and the upper side needs to align the board. (white glue is needed.) (picture 7)

9. Construct all the foam boards together, except the board on the very top. (It will be closed later when the Arduino is placed inside.) (picture 8)

10. Stick the variable resistor on. (white glue is needed.) (picture 9)

picture 10 provides all the measurements and the construction of the boards.

Coding and Wiring

A14C0822-C6F3-4BFF-A1F8-5E1173458DE8.jpeg
1DC23125-CC7B-49F5-8AAB-215EC0948BDB.jpeg

1. Download Arduino(app)

2. Copy the code and paste it on your Arduino. https://create.arduino.cc/editor/anitalilee/2fee26...

3. Start wiring! (connect all the wires, LED, and the variable resistor in the right place as the picture shown.) (Put the whole thing into the box as you connect Arduino to the variable resistor, which is already stuck on the board.)

4. Connect the Arduino board to your computer using the USB cable.

5. Select "Arduino Leonardo" for your evaluation board. (tools > evaluation board > Arduino Leonardo)

6. Select the right serial port. (choose the one that has Arduino Leonardo with brackets at the back)

7. Upload the code.

8. Check if it is working the way you expect: the brightness of the LED should change as you turn the variable resistor.)

Assembling

75BE356C-F647-459C-B380-46768F0F03AA.jpeg
2E2ECAD6-011B-4860-A16A-D18ED6646B95.jpeg
25A5B01F-25D5-455E-B1BA-03CC4EA997AB.jpeg
FAB53165-7C63-4B64-B39F-14D08A3E46A6.jpeg

1. Fix the LED onto the board that wasn't sticking to the other boards. (the board on the top.) (picture 1)

2. Stick the last board onto the box.

3. DO SOME DECORATION IF YOU WANT.

Testing

Arduino: Memory Lamp
Arduino: memory lamp
3B2CFC4D-7F89-4ED4-9629-C31709942783.jpeg
68C82176-2D30-4F7C-B08F-A373E8328A1B.jpeg
5C786B39-B0F3-47A0-B98F-B95F0CC81ACC.jpeg

If your model works just like what the video shows, then you're done :)