Introduction: 3Dprinted Lunar Phase Clock

If you don't know what to print with your 3D printer, here you have an easy project.

Build a 3D printed Lunar Phase Clock for your desk or your nightstand.

Features: (check the video)

  • Open Tools (Ubuntu / FreeCAD / Arduino)
  • Open Source / Hardware
  • Cheap HW (Arduino, cheap LCD..)
  • Only 79 grams of filament.
  • Precise Lunar Phase Simulation
  • Detailed 3D printed Lunar model
    • by Dexter_New_Materials (
  • Alarm
  • Wake-light alarm mode
  • Date Thermometer
  • Hygrometer
  • Lamp mode
  • Moon FX modes (Relax, Party... )
  • Bright control
  • Adjustable tilt

Step 1: Part List and Tools

Parts List:

  • Arduino compatible Nano (Atmel ATmega328)
  • 0,96'' OLED 128x64 with SSD1306 chip (only 4 pins)
  • Neopixel or APA102C (18 leds from a 60 pixel per meter strip)
  • Tiny RTC (DS1307 real time clock + 24C32 EEPROM)
  • DHT11 (if it include the pull-up resistor, much better)
  • Buzzer
  • 3 Push Buttons (RAFI


  1. 3D printer
  2. Soldering Iron
  3. Glue Gun
  4. Wire stripper
  5. Cutter
  6. Electrical Tape
  7. Loose wire
  8. Computer with arduino software

Step 2: Building the Parts

Download parts from Thingiverse or from GitHub

I have printed them using PLA with the (bq prusa i3 hephestos) , these are the printer settings:

Layer Height = 0.2 mm

Wall Thickness = 1 mm

Top Thickness = 1 mm (5 layers)

Bottom Thickness = 0.2 mm (1 layer)

No need for Rafts or supports.

For the Moon Infill Density = 0% , for the rest of the parts infill Density = 100%

In total you will use just 79 grams of PLA.

Check the screen-shoots of Cura, for further details. Moon is a bit tricky as you have to move on the Z axis down 5cm.

Or just download a cutted version that JetGuy "Unknown" have create using Netfabb.

Step 3: Led Support

A strip of Neopixel or Dotstar LEDs can be used, is recommended to use an strip of 60 pixels per meter.

Cut the LED strip into six pieces of three LEDs.

You must be careful, and follow the arrow. This is the orientation, seen from the back of the moon.

| 1 | 6 | 7 | 12 | 13 | 18 |

| 2 | 5 | 8 | 11 | 14 | 17 |

| 3 | 4 | 9 | 10 | 15 | 16 |

Once the strip is placed, to fix it use a hot glue gun.

Step 4: Building the Circuit

So now that you have all your parts printed you are ready to build your circuit. First introduce the arduino, then the buttons to fix the arduino.

  1. Introduce the arduino
  2. Add the buttons, to fix the arduino
  3. Using Double-Sided Bonding Tape fix the DHT11,
    1. use one that include already the pull-up resistor.
  4. Then wire the buttons,
    1. first the GND of all.
  5. Add the buzzer (depending of the buzzer, maybe you will need to add a resistor)
  6. Add the wire, that will connect to the led of the moon.
  7. Add the Tiny RTC
      1. If you have a 3,6V LIR2032 battery . Great!! you don't need the next step.

      2. If it contains a 3V CR2032 battery, be careful you should made this little modification:

  8. Add the wires that will connect to the display.

Step 5: Running the Code

You should have the Arduino IDE installed (I'm using 1.6.12) , then the first step, it's to download the libraries

Restart the arduino ide, and load the software, you will find the latest version here:

Compile it, upload it, and enjoy it :)

Nice new features will be added soon.

Arduino Contest 2016

Participated in the
Arduino Contest 2016

Make it Glow Contest 2016

Participated in the
Make it Glow Contest 2016

First Time Authors Contest 2016

Participated in the
First Time Authors Contest 2016