Introduction: Minecraft Ore Lamp (arduino + 3d Printing)
I made this small lamp for my kid's bedroom.
It nicely illuminate the room during the night.
It is easy to print and easy to assemble.
Step 1: Stuff You Need
You will need:
- A soldering iron
- A 3D printer supporting ABS filament (or someone that can 3d print for you)
- A sheet of white paper
- Some acetone
- A pair of scissors
- An arduino pro mini (http://goo.gl/FoVb8V)
- A WS2812 RGB 12 LED ring (http://goo.gl/ZRUiyg)
- A 5V DC-DC voltage regulator (http://goo.gl/1iWGtI)
- A locking switch (http://goo.gl/cscc7B)
- A 18650 battery charger module (http://goo.gl/UjbsVw)
- A 18650 battery case (http://goo.gl/Dtypfb)
- Some cables
- A 18650 battery
- A USB to TTL to program the arduino (http://goo.gl/sySaQn)
- A hot glue gun
- A multimeter
Step 2: Print the Lamp Cube
You have to download the 3d model here: http://www.thingiverse.com/thing:1722407
You need to print all in ABS because we will use the acetone to "glue" all parts.
Print 5 times the wall
and 1 time the base.
Step 3: Prepare the Cube Walls
Cut 5 times a 9cm * 9cm piece of a white paper.
Position the each slice of paper on each inner side of the cube walls,
then stamp the paper on the plastic using acetone.
This will "glue" the paper on the plastic
Step 4: Assemble the Walls
Now assemble all walls together using acetone.
Use a corner on a wall to help you fixing each side properly.
Soak a little bit of acetone to join all parts.
Step 5: Program the Arduino
Connect the arduino pins to the CP2102 USB-to-TTL as follow:
- CP2102 TX on Arduino RX
- CP2102 RX on Arduino TX
- CP2102 GND on Arduino GND
- CP2102 VCC on Arduino VCC
Install and open Arduino IDE (https://www.arduino.cc/en/Main/Software)
Select the configuration as follow (in Arduino IDE -> Tools menu):
- Board : Arduino Pro or Pro Mini
- Processor : ATmega328 (5V, 16 MHz)
- Port : Select the correct COM port
- Programmer : AVRISP mkII
Install the AdaFruit NeoPixel library (https://github.com/adafruit/Adafruit_NeoPixel)
Upload the sketch
Step 6: Assemble the Electronic
Using a multi-meter, be sure that the DC-DC voltage regulator (the PCB with the blue square on it) is outputting 5 volts.
If not, turn the little screw on the blue box until you reach 5 volts.
Solder all the wires as shown on the picture.
Note: If you solder the switch now, you will have to separate it before fitting everything in the base
Step 7: Print the Base and Put the Electronic Inside
Use some hot glue to fix the ring and to position the microUSB plug in the hole
Step 8: You Are Done!
Enjoy the lamp