

MoonPhase
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
1README
README.mdMechClock – 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| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | LED | LED_SMD:LED_0805_2012Metric | D1, D2, D3 |
| 2 | 150R | Resistor_SMD:R_0805_2012Metric | R1, R3 |
| 2 | 22uF 16v | Capacitor_THT:CP_Radial_D4.0mm_P2.00mm | C1, C2 |
| 2 | ULN2003A | Package_DIP:CERDIP-16_W7.62mm_SideBrazed_Socket | U1, U2 |
| 1 | 10k | Resistor_SMD:R_0805_2012Metric | R4 |
| 1 | 150R | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R2 |
| 1 | Conn_IL | Connector_JST:JST_XH_B3B-XH-AM_1x03_P2.50mm_Vertical | J1 |
| 1 | Conn_LS | Connector_JST:JST_XH_B5B-XH-AM_1x05_P2.50mm_Vertical | J3 |
| 1 | Conn_PV | Connector_JST:JST_XH_B5B-XH-AM_1x05_P2.50mm_Vertical | J2 |
| 1 | LOGO | LOGO | G*** |
| 1 | Q_Photo_NPN | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | Q1 |
| 1 | RaspberryPi_Pico_W | Module_RaspberryPi_Pico:RaspberryPi_Pico_Common | U3 |
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 mm

- 4 layers93.3 × 60.3 mm

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 mm

Arduino motorfocus
fehlfarbe/arduino-motorfocus
Arduino motorfocus with moonlite protocol for telescopes
23 parts58MIT - 4 layers199.9 × 69.3 mm

Zaphod controller
Scottapotamas/zaphod-bot
A DIY high performance delta-bot for fun, and lightpainting...
251 parts53 - 4 layers285.1 × 48.1 mm

Ayab esp32
AllYarnsAreBeautiful/ayab-hardware
Contains the schematics and layouts for the AYAB Arduino shield
246 parts50CC-BY-SA-4.0 - 2 layers

- 2 layers40 × 80 mm

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 mm

Audio board 0033 rev.a
palazzol/CyberamicControlCenter
Repo for docs and info about the Cyberamic Control Center
105 parts16