Skip to the content
PCBKitNew board
2 layers58 × 26.5 mmFireflies, the printed circuit board in 3D

Fireflies go blink ✨

Size
58 × 26.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
52
Nets
45
Pads
172
Tracks, vias
237, 53
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
12 May 2026
Updated
11 Jun 2026

Overview

Fireflies is an open-source printed circuit board by cheyao, from the cheyao/fireflies repository on GitHub. It is a 2-layer board of 58 × 26.5 mm with 52 parts on 45 nets, routed with 237 tracks and 53 vias.

It is built around the MAC97A8, LTR-303ALS-01 and AO3416, with the 1N4148WS among its other parts. Its parts include 16 resistors, 7 capacitors, 6 diodes, 5 ICs and 3 transistors. It belongs with the RISC-V boards of this library.

Main components

4

README

README.md

Fireflies

Firefly PCBs powered by the CH32V003.

These boards periodically flashes a xenon flash based on a timer, which gets accelerated when it detects flashes from surrounding PCBs.

There are currently 2 flash-detection circuits undergoing testing:

  1. A reverse-biased diode using the ch32v003's internal OPA & ADC for sampling

  2. A I2C ambiant light sensor for more "advanced" applications

The flash trigger isolates the hi-voltage trigger and the low-voltage circuitarry with a triac circuit, and uses a mosfet to trigger the flash.

Features:

  • Dual light-sensor: one via i2c, one via photodiode
  • USB via ch32usb
  • 7 seg for number display
  • Flash activation circuit (high voltage)
  • Programming ports

Usage

Check firmware folder

Here's an example output for detection light intensity with the photodiode:

It's reverse-biased btw

Schematic

Programming

Check diagram:

BOM

ItemPriceWhere
PCB4$elecrow
Stencil2$elecrow
Components (check hardware bom)$30lcsc
Shippingvaries by regionnone

Parts

52
QtyValueFootprintReferences
5470Resistor_SMD:R_0402_1005MetricR1, R2, R3, R6, R7
41uFCapacitor_SMD:C_0402_1005MetricC3, C4, C5, C6
42.2kResistor_SMD:R_0402_1005MetricR9, R10, R11, R12
4TestPointTestPoint:TestPoint_Pad_D1.0mmTP1, TP2, TP3, TP4
3AO3416Package_TO_SOT_SMD:SOT-23Q1, Q2, Q3
21.5kResistor_SMD:R_0402_1005MetricR15, R19
21N4004Diode_SMD:D_SOD-123FD5, D6
24M7Resistor_SMD:R_0402_1005MetricR16, R17
25.1kResistor_SMD:R_0402_1005MetricR13, R14
2SW_Pushlight:SW_Push_SPST_TSA016SW1, SW2
110uFCapacitor_SMD:C_0402_1005MetricC1
110uHInductor_SMD:L_0603_1608MetricL1
118Resistor_SMD:R_0603_1608MetricR18
11N4148WSDiode_SMD:D_SOD-323D2
122nCapacitor_SMD:C_0402_1005MetricC7
122uFCapacitor_SMD:C_0603_1608MetricC2
15V6Diode_SMD:D_SOD-123D4
1Backup powerJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP2
1CH32V003FxUxPackage_DFN_QFN:QFN-20-1EP_3x3mm_P0.4mm_EP1.65x1.65mm_ThermalViasU2
1D_Photolight:Photodiode_PD70-01CD1
1FlashConnector_Wire:SolderWire-0.5sqmm_1x02_P4.6mm_D0.9mm_OD2.1mm_ReliefJ2
1JumpJumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mmJP4
1JumpJumper:SolderJumper-2_P1.3mm_Open_RoundedPad1.0x1.5mmJP3
1LTR-303ALS-01OptoDevice:Lite-On_LTR-303ALS-01U3
1MAC97A8Package_TO_SOT_SMD:SOT-23-3D3
1Normal OPJumper:SolderJumper-2_P1.3mm_Bridged_RoundedPad1.0x1.5mmJP1
1Solar_LampConnector_Wire:SolderWire-0.5sqmm_1x02_P4.6mm_D0.9mm_OD2.1mm_ReliefBT1
1USB_C_Receptacle_USB2.0_14Plight:USB_C_Receptacle_SHOU_HAN_16PIN_2MDJ1
1XC6206PxxxMRPackage_TO_SOT_SMD:SOT-23-3U5
1XT1861Package_TO_SOT_SMD:SOT-23-3U4
1YD3622ARLlight:YD3622AU1

The 51 most common of 52 parts.

Questions

How big is the Fireflies PCB?

It measures 58 × 26.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Fireflies use?

52 parts, built around the MAC97A8, LTR-303ALS-01, AO3416 and 1N4148WS. 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 Fireflies KiCad files?

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

Can I use the Fireflies design in my own project?

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

Similar boards

  • 4 layers48 × 87 mmWallet, the printed circuit board in 3D

    Wallet

    AmbireTech/ice

    Ambire Ice: secure Safe-focused hardware wallet

    157 parts4
  • 4 layers76 × 72 mmKeychain rev b panel, the printed circuit board in 3D

    Keychain rev b panel

    olerast67/emotion-keychain

    Брелок с OLED-экраном и анимированными эмоциями

    168 partsApache-2.0
  • 2 layers245.7 × 172.6 mmPipar point, the printed circuit board in 3D

    Pipar point

    RasmusKoit/pipar

    Pipar is a collection of keyboards

    466 parts56CERN-OHL-S-2.0
  • 2 layers33 × 39 mmSMA Haptic v2 2, the printed circuit board in 3D

    SMA Haptic v2 2

    ansue1234/SML_SMA_Haptics

    This repository contains all the code necessary for the two demostration for the SMA Haptics project--Painting Alignment and Object Detection.

    22 parts2
  • 2 layers92.7 × 65.4 mmLightweatherv3, the printed circuit board in 3D

    Lightweatherv3

    dominicmason555/lightweatherv3

    Open-Source Hardware and Firmware IO and Temperature/Pressure/Humidity/Gas Sensor MQTT Board

    201 parts2CERN-OHL-S-2.0
  • 2 layers68.6 × 48.6 mmStm32 esp iot, the printed circuit board in 3D

    Stm32 esp iot

    Kikkiu17/espiot

    A small board built to measure current and voltage of any appliance.

    55 parts2
  • 4 layers123.6 × 90.8 mmPlayduino sheep tester, the printed circuit board in 3D

    Playduino sheep tester

    playduino/sheep-tester

    Raspberry Pi 4B HAT for Playduino Sheep EOL factory test

    201 parts1MIT
  • 2 layers92.7 × 62.2 mmMgc, the printed circuit board in 3D

    Mgc

    0x007E/mgc

    MeGARCard - Development Platform

    121 parts