Skip to content
Merlin2LmmLPublic

About

Snowflake PCB Christmas ornament: CH32V003, 25 back-lit LEDs, CR2032 (KiCad 10, CERN-OHL-S-2.0)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

28 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LEDStars

A snowflake-shaped Christmas ornament that is its own circuit board. It hangs on a tree branch, has 25 LEDs and runs on a coin cell. I'm making about ten of them as Christmas presents for my family.

License: CERN-OHL-S-2.0 · Author: Merlin2LmmL

The LEDStar hanging on a fir twig, seen from the back with the white and yellow LEDs on

A Blender render of the ornament hanging from a fir twig. You're looking at the back of the board, where the light comes out. More colours and angles are in the gallery.

What it is

Five arms with five LEDs each (red, yellow, white, blue and green), a CH32V003 microcontroller in the middle and a CR2032 holder. The LEDs are reverse-mount parts: they sit on the front of the board and shine through a small hole in the PCB, so from the back you only see glowing dots. The battery, chip and everything else stay on the side that faces the tree.

  • Microcontroller: WCH CH32V003F4P6, a tiny 48 MHz RISC-V chip in a TSSOP-20.
  • LEDs: 25 XL-3216 reverse-mount LEDs (1206). The chip lights one arm at a time and cycles through them quickly, so 25 LEDs don't need 25 pins. Each colour has its own resistor because the colours need different currents.
  • Power: a CR2032 in an SMD holder, with a 100 nF capacitor next to the chip.
  • Controls: a button to change the lighting mode and a three-position slide switch for on, off and clock.
  • Programming: three bare pads for SWIO (J1). There is no header, you just hold jumper wires on the pads while flashing with a WCH-LinkE.
  • Size: about 99 × 95 mm, just under JLCPCB's 100 × 100 mm limit, with a hang hole in the top arm.
  • 3D model: hardware/LEDStar.step, the full assembled board with all components, exported from KiCad. There is no case or other mechanical part, so the CAD source is the KiCad project in hardware/ (LEDStars.kicad_pcb, LEDStars.kicad_sch and LEDStars.kicad_pro).

It's still only a design. No board has been ordered yet and there's no firmware in this repo.

Gallery

Open a colour set and click any picture for the full-size image (2400 × 1600). Every set has a front, a left and a right view.

White + yellow

White + yellow, front White + yellow, left White + yellow, right

front · left · right

White + blue

White + blue, front White + blue, left White + blue, right

front · left · right

Red + green

Red + green, front Red + green, left Red + green, right

front · left · right

How the renders are made

The board comes straight from the KiCad file (kicad-cli pcb export glb). The tree is built from the CC0 Fir Sapling scans by Poly Haven. The ornament isn't posed by hand: it's a rigid body with gravity, hanging on a simulated string that runs through the hang hole and over a real twig. Each image is rendered in Blender 4.5 (Cycles, 512 samples, OpenImageDenoise) and takes about three minutes on my RX 9070 XT.

File What
render/gallery/ the 9 final images
LEDStar_hanging_physics.blend the Blender scene (82 MB, on the Releases page). Open it in Blender 4.5 or newer and press Play to watch the ornament drop and settle
render/scene.py builds the whole scene from the board export
render/README.md how to rebuild it, plus credits

Build journal

I wrote down how the project went in JOURNAL.md: what I tried, what I changed my mind about and why. It reads best from the top, since the entries are in the order things happened. If a later entry contradicts an earlier one, the later one is right (I changed the chip, for example).

# Entry What it covers
1 November 17, 2026: Getting the Idea Why a snowflake ornament as a gift, and what existing kits looked like
2 November 17, 2026 (entry 2): Deciding what the star has to be The requirements: coin cell, no recharging, no through-hole parts, and the first chip (ATtiny404)
3 November 17, 2026 (entry 3): Reconsidering my life choises Checking the parts catalogue and switching to the CH32V003
4 November 17, 2026 (entry 4): Deciding on the PCB Outline and LED ordering The board outline, LED colour order and net classes
5 November 17, 2026 (entry 5): Routing the first version Placing the parts and routing the first version
6 November 17, 2026 (entry 6): Letting the LEDs shine through the board Reverse-mount LEDs that shine through the board
7 November 17, 2026 (entry 7): Reconsidering my life choises ... part 2 Turning the star into a snowflake
8 November 17, 2026 (entry 8): Back silkscreen, the repo and JLCPCB being a pain in the ass Back silkscreen, the repo, and JLCPCB's Economic assembly saying no
9 November 17, 2026 (entry 9): Doing some heavy blender rendering The physics-based Blender renders
10 November 18, 2026: Added 3 pos switch and mode switch The mode button and the ON / OFF / CLOCK slide switch I forgot at first

License

CERN-OHL-S-2.0. If you build on this design, share your changes under the same license.

About

Snowflake PCB Christmas ornament: CH32V003, 25 back-lit LEDs, CR2032 (KiCad 10, CERN-OHL-S-2.0)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages