​Minecraft Ore Lamp (arduino + 3d Printing)

by BenjaminS84 in Living > Decorating

2386 Views, 28 Favorites, 0 Comments

​Minecraft Ore Lamp (arduino + 3d Printing)

2016-08-15 14.54.17.jpg
2016-08-15 15.18.29.jpg

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.

Stuff You Need

deek-robot-pro-mini.jpg
5050-12-bit-rgb-led-ring-ws2812-round-decoration-bulb-perfect-for-arduino-in5-78243916f8946db62d7e6a4f0a3f5264.jpg
1pcs-MT3608-2A-Max-DC-DC-Step-Up-Power-Module-Booster-Power-Module.jpg_640x640.jpg
2-Pcs-Lot-micro-font-b-Lock-b-font-self-locking-ON-OFF-Push-Button-font.jpg
Professional-5V-Micro-USB-1A-18650-Lithium-Battery-Charging-Board-18650-Batteries-Charger-Module-Protection-Wholesale.jpg_640x640.jpg
New-Plastic-18650-Battery-Case-Holder-Storage-Box-with-Wire-Leads-for-18650-Batteries-3-7V.jpg
410n8+HhdNL._SY300_.jpg

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

Print the Lamp Cube

2016-08-10 11.17.44.jpg

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.

Prepare the Cube Walls

2016-08-10 12.22.54.jpg
2016-08-10 11.17.51.jpg
2016-08-10 11.18.06.jpg

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

Assemble the Walls

2016-08-10 20.00.11.jpg

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.

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

Downloads

Assemble the Electronic

image4144.png
2016-08-10 11.18.49.jpg

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

Print the Base and Put the Electronic Inside

2016-08-15 14.55.25.jpg

Use some hot glue to fix the ring and to position the microUSB plug in the hole

You Are Done!

2016-08-15 15.18.29.jpg
2016-08-15 14.54.17.jpg

Enjoy the lamp