Skip to the content
PCBKitNew board
2 layers72.4 × 59.7 mmMoonPhase, the printed circuit board in 3D

Inspired by a project on the Hackaday blog that implements an seven-segment digital clock featuring 3D-printed display digits with protruding segments, each segment driven in or out by a hobby servo, I decided to make a…

Size
72.4 × 59.7 mm
Copper layers
2
Thickness
1.6 mm
Parts
17
Nets
69
Pads
152
Tracks, vias
149, 2
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
20 Apr 2024
Updated
16 Apr 2025

Overview

MoonPhase is an open-source printed circuit board by dehne, from the dehne/MechClock repository on GitHub. It is a 2-layer board of 72.4 × 59.7 mm with 17 parts on 69 nets, routed with 149 tracks and 2 vias.

It is built around the ULN2003A. Its parts include 4 resistors, 3 ICs, 3 diodes, 3 connectors and 2 capacitors. It belongs with the robots and motor control boards and the RP2040 boards of this library.

Main components

1

README

README.md

MechClock – An Electromechanical Seven-Segment Clock Display Driven by a RaspberryPi Pico-W

Introduction

Inspired by a project on the Hackaday blog that implements an seven-segment digital clock featuring 3D-printed display digits with protruding segments, each segment driven in or out by a hobby servo, I decided to make a clock with a similar display implemented very differently. Instead of servos, I chose to drive each digit's seven segments using seven cams, all ganged together on single shaft driven by a small, geared-down 28BYJ-48 stepper motor. One turn of the common cam shaft drives the display to show the digits 0 - 9 in sequence. Four identical digit display modules side by side with a fixed colon unit in the middle complete the display. Add a custom PCB with a RaspberryPi Pico-W, 3 ULN2003 Darlington pair DIP chips to drive the steppers, and an LED array/light sensor for self adjusting digit illumination, a case and some custom firmware, and whaddya know: a digital clock.

Here you'll find the firmware for the project.

Parts

17
QtyValueFootprintReferences
3LEDLED_SMD:LED_0805_2012MetricD1, D2, D3
2150RResistor_SMD:R_0805_2012MetricR1, R3
222uF 16vCapacitor_THT:CP_Radial_D4.0mm_P2.00mmC1, C2
2ULN2003APackage_DIP:CERDIP-16_W7.62mm_SideBrazed_SocketU1, U2
110kResistor_SMD:R_0805_2012MetricR4
1150RResistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolderR2
1Conn_ILConnector_JST:JST_XH_B3B-XH-AM_1x03_P2.50mm_VerticalJ1
1Conn_LSConnector_JST:JST_XH_B5B-XH-AM_1x05_P2.50mm_VerticalJ3
1Conn_PVConnector_JST:JST_XH_B5B-XH-AM_1x05_P2.50mm_VerticalJ2
1LOGOLOGOG***
1Q_Photo_NPNConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalQ1
1RaspberryPi_Pico_WModule_RaspberryPi_Pico:RaspberryPi_Pico_CommonU3

Questions

How big is the MoonPhase PCB?

It measures 72.4 × 59.7 mm and has 2 copper layers, 1.6 mm thick.

What parts does the MoonPhase use?

17 parts, built around the ULN2003A. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the MoonPhase KiCad files?

From the dehne/MechClock repository on GitHub, at the commit this page was made from: the board is kicad/MoonPhase.kicad_pcb and its schematic kicad/MoonPhase.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the MoonPhase design in my own project?

Its repository states no licence, so its author keeps all rights: ask dehne before reusing the design.

Similar boards

  • 2 layers107 × 54 mmInterface board 1, the printed circuit board in 3D

    Interface board 1

    Green-bms/SmartBMS

    Open source Smart Battery Management System

    63 parts756
  • 4 layers93.3 × 60.3 mmArduino 386EX V5, the printed circuit board in 3D

    Arduino 386EX V5

    dbalsom/arduinoX86

    An interface between an Arduino Due or Arduino GIGA and 8088, 8086, V20, V30, 186 or 286 CPUs

    56 parts114
  • 2 layers52 × 61 mmArduino motorfocus, the printed circuit board in 3D

    Arduino motorfocus

    fehlfarbe/arduino-motorfocus

    Arduino motorfocus with moonlite protocol for telescopes

    23 parts58MIT
  • 4 layers199.9 × 69.3 mmZaphod controller, the printed circuit board in 3D

    Zaphod controller

    Scottapotamas/zaphod-bot

    A DIY high performance delta-bot for fun, and lightpainting...

    251 parts53
  • 4 layers285.1 × 48.1 mmAyab esp32, the printed circuit board in 3D

    Ayab esp32

    AllYarnsAreBeautiful/ayab-hardware

    Contains the schematics and layouts for the AYAB Arduino shield

    246 parts50CC-BY-SA-4.0
  • 2 layersDrehorgel20, the printed circuit board in 3D

    Drehorgel20

    bixb922/crank-organ

    MIDI based crank organ software and hardware

    14 parts47MIT
  • 2 layers40 × 80 mmSplitflappcb, the printed circuit board in 3D

    Splitflappcb

    codingcatgirl/split-flap-fae-pcb

    Alternative drop-in replacement PCB for David Kingsman's split-flap display

    46 parts31Apache-2.0
  • 2 layers177.9 × 187.4 mmAudio board 0033 rev.a, the printed circuit board in 3D

    Audio board 0033 rev.a

    palazzol/CyberamicControlCenter

    Repo for docs and info about the Cyberamic Control Center

    105 parts16