Skip to the content
PCBKitNew board
4 layers47.1 × 30.7 mmFancy node, the printed circuit board in 3D

Small blinkenlight boards that sync up using radios

Size
47.1 × 30.7 mm
Copper layers
4
Thickness
1.6 mm
Parts
67
Nets
81
Pads
241
Tracks, vias
485, 100
Pours
4
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
28 Feb 2018
Updated
27 Jul 2026

Overview

Fancy node is an open-source printed circuit board by candykingdom, from the candykingdom/firefly2 repository on GitHub. It is a 4-layer board of 47.1 × 30.7 mm with 67 parts on 81 nets, routed with 485 tracks and 100 vias.

It is built around the CH340X, TP4056 and WS2812B, with the SRV05-4-P-T7 among its other parts. Its parts include 19 resistors, 18 capacitors, 8 diodes, 7 connectors and 6 ICs. It belongs with the radio and wireless boards and the STM32 boards of this library.

Main components

4

README

README.md

Firefly2

Wireless LED control for Burning Man art installations, bikes, and wearables. Devices driving WS2812 strips self-organize over 915 MHz RFM69 radios into a flood mesh with exactly one master, share a network clock via heartbeats, and render effects as pure functions of network time — so every device animates in sync without streaming frames.

New to the project? Start with GETTING_STARTED.md. Working in the code (human or agent)? The mental model lives in docs/index.md and the shared Claude Code/Codex ground rules in CLAUDE.md.

Web simulator (test without hardware)

bash
python3 -m http.server 8642 -d sim
# open http://localhost:8642/

A zero-dependency browser simulator of the whole system: every effect and palette on the real device catalog, synced to a scrubbable network clock, with master-mode autoplay and control overrides. Byte-exact against the firmware (enforced by tests: npm test). See docs/simulator.md.

Building firmware

Firmware builds with PlatformIO (pip install platformio). One env per device target:

bash
pio run -e node                  # SAMD21 rfboard node (node-arm64 on Apple silicon)
pio run -e fancy-node            # STM32G030 node
pio run -e controller            # STM32G070 handheld controller
pio run -e dmx                   # ESP32 DMX bridge
pio run -e fancy-node -t upload  # flash via ST-Link
pio device monitor               # 115200 baud

Note: [env:node]'s bossac platform_packages entry is OS-specific — uncomment the right line in platformio.ini for your OS. Full env/pin/flag details: docs/build-and-test.md.

Programming over USB

The fancy-node device can be programmed either using an STLink, or via USB port. To program via USB, you must first install stm32loader using pip (pip install stm32loader). You may also need to pass the port (typically /dev/ttyUSB0), e.g. pio run -e fancy-node-usb -t upload --upload-port /dev/ttyUSB0.

Saving device description in flash

Both node and fancy-node support reading the DeviceDescription from flash. The modes are defined by the DeviceMode enum within DeviceDescription.hpp. They work as follows:

  • CURRENT_FROM_HEADER: use the current device defined in Devices.hpp
  • READ_FROM_FLASH: read the device saved in flash, if present. If not present (determined by the validity of check_value), fall back to current.
  • WRITE_TO_FLASH: write current to flash, and then use it. This will only write the device to flash if it is different, to avoid causing flash wear.

Tests & linting

The platform-independent core (lib/, src/generic/) builds on the host against fakes, with ASan + UBSan on (and fatal). Requires cmake and a GCC/Clang toolchain (on Windows, use WSL or similar):

bash
mkdir -p build && cd build
cmake .. -DBUILD_SIMULATOR=false   # true builds the SDL desktop simulator too
make && make test
./smalltests --gtest_filter=RadioStateMachineTest*
bash
./lint.sh check     # clang-format, Google style — CI enforces this
./lint.sh format    # format in place
./ci.sh             # exactly what CI runs: cmake + smalltests + largetests
node --test "sim/test/cases/*.test.mjs"   # simulator suite, incl. firmware byte-exactness
npm run test:e2e    # served UI/API/canvas journeys in Chromium and Firefox

CI (GitHub Actions): host tests, lint, node/fancy-node/controller firmware builds, the simulator suite, and CodeQL C/C++ security scanning.

Repo layout

PathContents
lib/, src/generic/Platform-independent core: radio protocol, mesh, effects, LED management
src/arduino/Hardware backends (FastLED, RadioHead RFM69)
src/devices/One main per device target (node, fancy-node, controller, dmx)
test/Host GoogleTest suites + FakeNetwork multi-node mesh simulation
sim/Browser simulator (production C++ renderer via committed Wasm, usable without hardware)
docs/Architecture and per-subsystem notes — start at docs/index.md
hardware/, boards/, bootloader/PCB designs, PlatformIO board definitions, bootloaders
specs/Spec-kit feature specs (spec → plan → tasks workflow, see CLAUDE.md)

For agents & contributors

  • CLAUDE.md — the canonical guidance for Claude Code and Codex, including build commands, architecture, and the invariants you must not break. Codex reaches the same file through AGENTS.md; shared skills remain canonical under .claude/skills/ and are exposed to Codex through .agents/skills/.
  • docs/ — per-subsystem research notes (radio/network, LED/effects, devices, build/test, hardware). Update them when you change documented behavior.
  • Substantial features go through the spec-kit workflow (speckit-specify → plan → tasks → implement; use / in Claude Code or $ in Codex); specs live in specs/.

Parts

67
QtyValueFootprintReferences
111kResistor_SMD:R_0402_1005MetricR1, R2, R3, R4, R5, R6, R7, R12, R13, R15, R17
8100nFCapacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolderC1, C2, C3, C5, C7, C9, C13, C15
710uFCapacitor_SMD:C_0603_1608MetricC4, C6, C8, C11, C12, C16, C18
3D_TVSDiode_SMD:D_SMBD3, D4, D5
3SW_PushHomebrew:SW_TACTILE_3mmx3.5mm_TS-1071SA-A4B3-D4SW1, SW2, SW3
2220Resistor_SMD:R_0402_1005MetricR16, R19
247uFCapacitor_SMD:C_1206_3216MetricC10, C14
2REDLED_SMD:LED_0603_1608MetricD1, D7
110kResistor_SMD:R_0402_1005MetricR18
1180kResistor_SMD:R_0603_1608MetricR11
11pFCapacitor_SMD:C_0402_1005Metric_Pad0.74x0.62mm_HandSolderC17
12337019-1Homebrew:CONN_2337019-1J7
127nHInductor_SMD:L_0402_1005MetricL1
13k3Resistor_SMD:R_0603_1608MetricR14
1470Resistor_SMD:R_0603_1608MetricR9
14k7Resistor_SMD:R_0402_1005MetricR8
162kResistor_SMD:R_0603_1608MetricR10
1CH340XPackage_SO:MSOP-10_3x3mm_P0.5mmU1
1Conn_01x02Homebrew:JST_Micro_1x02_P1.25mm_HorizontalJ6
1Conn_01x03Homebrew:MiniPV_78208-X03XXX_1x03_P2.54mm_Polarized_HorizontalJ4
1Conn_01x03Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_HorizontalJ3
1Conn_01x04Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ5
1Conn_01x06Connector_PinHeader_2.54mm:PinHeader_1x06_P2.54mm_VerticalJ2
1DDiode_SMD:D_SMAD8
1HT75xx-1-SOT89Package_TO_SOT_SMD:SOT-89-3U4
1MountingHoleMountingHole:MountingHole_3.2mm_M3H4
1RFM69CW-915MHZHomebrew:RFM69CW-minimalpadsU5
1SRV05-4-P-T7Package_TO_SOT_SMD:SOT-23-6D2
1STM32G070CBTxPackage_QFP:LQFP-48_7x7mm_P0.5mmU7
1SW_SPDTHomebrew:SW_SLIDE_SPDT_K3-1204D-LSW4
1SolderJumper_2_OpenJumper:SolderJumper-2_P1.3mm_Open_TrianglePad1.0x1.5mmJP2
1StrainReliefHomebrew:3_pin_2.54mm_pitch_strain_reliefH1
1TP4056Homebrew:SOP-8_3.9x4.9mm_P1.27mm_ThermalU6
1Thermistor_PTCFuse:Fuse_1812_4532Metric_Pad1.30x3.40mm_HandSolderTH1
1USB_B_MicroHomebrew:FRAMATOME_10118194-0001LF_fixed_bridgesJ1
1WHITELED_SMD:LED_0603_1608MetricD6
1WS2812bHomebrew:LED_XINGLIGHT_WS2812B_PLCC4_5.0x5.0mm_P3.2mmU3

Questions

How big is the Fancy node PCB?

It measures 47.1 × 30.7 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Fancy node use?

67 parts, built around the CH340X, TP4056, WS2812B and SRV05-4-P-T7. 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 Fancy node KiCad files?

From the candykingdom/firefly2 repository on GitHub, at the commit this page was made from: the board is hardware/fancy-node/fancy-node.kicad_pcb and its schematic hardware/controller/controller.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Fancy node design in my own project?

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

More from candykingdom/firefly2

4
  • 2 layers150 × 68 mmController, the printed circuit board in 3D

    Controller

    candykingdom/firefly2

    Small blinkenlight boards that sync up using radios

    194 parts5
  • 4 layers21 × 63 mmRfboard, the printed circuit board in 3D

    Rfboard

    candykingdom/firefly2

    Small blinkenlight boards that sync up using radios

    67 parts5
  • 2 layers40.2 × 46.4 mmRing-40mm, the printed circuit board in 3D

    Ring-40mm

    candykingdom/firefly2

    Small blinkenlight boards that sync up using radios

    45 parts5
  • 2 layersMagnet connector, the printed circuit board in 3D

    Magnet connector

    candykingdom/firefly2

    Small blinkenlight boards that sync up using radios

    2 parts5

Similar boards

  • 4 layers84.9 × 74.8 mmGps tracker, the printed circuit board in 3D

    Gps tracker

    candykingdom/gps-tracker

    95 partsApache-2.0
  • 4 layersOpen motion light, the printed circuit board in 3D

    Open motion light

    ademuri/open-motion-light

    Open-source motion sensor light

    99 parts2Apache-2.0
  • 4 layers102 × 100 mmZelvicka, the printed circuit board in 3D

    Zelvicka

    RoboticsBrno/Robutek

    Robůtek je robotická platforma založená na čipu ESP32-S3. Je velice rozšitiřelný, ale ze základu umí jezdit, kreslit fixou, jezdit po čáře, pohybovat se bludištěm. Programování je přes Jaculus.

    214 parts12
  • 2 layers308.7 × 241.8 mmOTTOtact, the printed circuit board in 3D

    OTTOtact

    cester-ino/OTTO-hardware

    those specs refer to the tactile buttons version, but a led backlight button version is in the works too.

    229 parts49GPL-3.0
  • 4 layers65 × 30 mmSonatino, the printed circuit board in 3D

    Sonatino

    luminationlabs/Sonatino

    Audio development board based on ESP32-S3

    129 parts41CERN-OHL-P-2.0
  • 2 layers100 × 90 mmAudMix, the printed circuit board in 3D

    AudMix

    I-AM-ENGINEER/AudMX

    Alternative for Deej ( https://github.com/omriharel/deej ) with more features

    85 parts12
  • 2 layers159 × 140.1 mmPhazor, the printed circuit board in 3D

    Phazor

    skrmsh/skirmish-hardware

    Skirmish Hardware © 2022-2023 by Ole Lange is licensed under CC BY-NC-SA 4.0. To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-sa/4.0/

    123 parts10
  • 4 layers108.6 × 87.7 mmBlinky badge light, the printed circuit board in 3D

    Blinky badge light

    rowr111/blinky-badge-light

    lighting badge with unique patterns and sound reactivity

    123 parts9MIT