Moon light

HeyPCB·moon-light·kicad/moon_light.kicad_pcb

Moon light PCB layout, top view — open source RISC-V board by HeyPCB

About the Moon light PCB

Moon light is an open source RISC-V PCB design by HeyPCB, published on GitHub under the CERN-OHL-S-2.0 license. It is a 2-layer board measuring 53.9 × 62.6 mm, with 32 components from 15 distinct parts.

Its main chip is the CH32V003F4P6, from the RISC-V family. Other key parts include the XC6206P332MR-G and APDS-9306-065. By type, the board carries 14 resistors, 8 diodes, 5 capacitors, 3 ICs, 1 transistor and 1 connector.

From the project

Luna, the night-light moon: A sleepy moon that turns on at dusk and tucks itself in after you fall asleep. KiCad 10, heypcb.ai merch.

A sleepy moon that turns on at dusk and tucks itself in after you fall asleep.

Luna is a crescent-moon night light on USB-C. An APDS-9306 ambient light sensor tells a CH32V003 when the room has gone dark; eight orange LEDs along the moon's inner curve then fade up to a candle-coloured glow, and fade out again after a 15, 45 or 90 minute sleep timer. It stays off until the room sees daylight. Pat its gold cheek to switch it by hand; hang it on a nail by its keyhole.

Moon light, from the project README
From the project README

Main components on the Moon light

Moon light bill of materials (BOM)

32 components, 15 distinct parts — part numbers from the project's BOM.

QtyPartRefs
1
XC6206P332MR-G
XC6206P332MR
U1
1
CH32V003F4P6
U2
1
APDS-9306-065
U3
1
AO3400A
Q1
1
TYPE-C-31-M-12
USB-C
J1
8
XL-1608UOC-06
Orange
D1, D2, D3, D4, D5, D6, D7, D8
1
CL21A106KAYNNNE
10uF
C1
2
CL10A105KB8NNNC
1uF
C2, C3
1
CC0603KRX7R9BB104
100nF
C4
1
CL05A105KA5NQNC
1uF
C5
2
0402WGF5101TCE
5.1k
R1, R2
2
0402WGF1002TCE
10k
R3, R4
1
0603WAF1001T5E
1k
R5
1
0603WAF1003T5E
100k
R6
8
0603WAF2200T5E
220
R7, R8, R9, R10, R11, R12, R13, R14

Moon light design files

The KiCad project lives in the HeyPCB/moon-light repository on GitHub; these links point at the commit this page was built from.

Moon light: common questions

What microcontroller does the Moon light use?

The Moon light is built around the CH32V003F4P6, from the RISC-V family.

How big is the Moon light PCB?

The Moon light measures 53.9 × 62.6 mm, has 2 copper layers and is 1.6 mm thick.

How many components are on the Moon light?

32 components, from 15 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.

Where can I download the Moon light design files?

From the HeyPCB/moon-light repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.

Can I use the Moon light design in my own project?

Yes, under the terms of its CERN-OHL-S-2.0 license, which HeyPCB chose for the repository.

Can I test firmware for the Moon light without the hardware?

Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug RISC-V firmware against it before you order a PCB.

Similar boards