FireFLY.
A LITTLE LIGHT FOR YOUR NEXT IDEA

Small board.
Bright ideas.

A tiny RISC-V brain, two dots of color, and USB built right into the PCB. Meet FireFLY.

Engineering prototype · Arduino support v0.1.0
ACTUAL BOARD ENVELOPE9.5 × 9.5 mm
FireFLY circuit board with two corner LEDs, a central microcontroller and integrated USB contact tongue
01 / TOP SIDESmall enough to disappear.
Ready to stand out.
48 MHzRISC-V · CH32X035F8U6
5 GPIOD0–D4 on the underside
2 RGB LEDsIndependent data pins
0.8 mmTwo-layer PCB
01 / MADE TO FIT

A few millimeters.
A lot to play with.

Give a small object a little personality. Read a sensor, respond to a touch, or add a pair of glowing eyes. FireFLY keeps the essentials close.

USB, without the connector.

The contact tongue is part of the board. USB carries power, serial messages, and sketch uploads.

Clean top. Useful underside.

Eight solder pads and a central touch electrode keep your wiring beneath the board.

TURN IT OVER / LOOK A LITTLE CLOSER

Tiny, from every angle.

Drag to rotate. Scroll or pinch to zoom.
Flip it over to find your connections.

ACTUAL KICAD ASSEMBLY
Loading your little board…

Loading 3D model…

9.5 × 9.5 × 0.8 mm PCBDownload 3D ↗

The current board, exported from KiCad. Via drill holes are hidden for a cleaner preview; the manufacturing files retain them. The hardware remains a prototype.

02 / KNOW YOUR CONNECTIONS

Eight pads.
Every one has a purpose.

Tap a pad to see what it does.
Shown looking directly at the underside.

FireFLY underside pad arrangement. USB tongue points right.USB →TOUCHPB1FireFLY
UNDERSIDE VIEWNOT TO SCALE
DIGITAL I/O

D0

PA3 · MCU pin 5

ARDUINO

+

BAT is an input. VCC is the supply rail. Connect battery positive to BAT and negative to GND. VCC follows USB or battery; it is not a regulated 3.3 V output. The board does not charge a cell or protect against reversed polarity or over-discharge. Use a protected single-cell pack.

03 / FROM IDEA TO SKETCH

Hello, FireFLY.

Familiar Arduino sketches.
USB serial included from the start.

01

Install the board support

Download the package and follow its installer guide. Select FireFLY (CH32X035F8U6, USB Serial) in Arduino IDE.

Download Arduino support ↗
02

Make the first connection

Choose Tools → Upload mode → USB recovery. Hold BOOT while plugging in USB, then release it. Upload the included USBSerial example.

03

Keep creating over USB

Switch Upload mode to USB automatic, select FireFLY’s serial port, and click Upload. The 1200-baud request reboots into the factory USB bootloader. Even an empty sketch keeps USB enabled.

USBSerial.ino
void setup() {
  Serial.begin(115200);
}

void loop() {
  Serial.println("Hello, FireFLY!");
  delay(1000);
}
USB SERIAL MONITORHello, FireFLY!
Hello, FireFLY!
▌

Illustrative output. Firmware is compile-tested; USB operation still needs a physical board test.

How USB uploads and recovery work +

The core starts USB CDC before setup(), services it between loop() calls and during delay(), and leaves the factory WCH bootloader intact. A 1200-baud serial close requests bootloader mode; wchisp uploads the new sketch.

If a sketch crashes, disables interrupts, or never yields, choose USB recovery, hold BOOT while reconnecting USB, and upload again. Serial.end() deliberately keeps the upload connection alive. This release uses a shared development USB identity; it must not be used in devices manufactured, redistributed, or sold. A production USB identity must be allocated separately.

Which pins are available to libraries? +

D0–D4 are the five external GPIOs. A0 maps to D1 / PA6; A1 maps to D2 / PB0; A2 maps to the central touch electrode / PB1. LED_LEFT is PB11 and LED_RIGHT is PA4. The LEDs need an addressable-LED protocol, not digitalWrite().

USB D−/D+ are reserved. The underside does not expose a complete hardware SPI or I²C pin set, so these buses are not enabled by default. PA3 analog behavior depends on silicon revision and is not assigned an analog alias.

04 / TAKE IT FROM HERE

Little board.
Everything you need.

Prototype, with progress to share. The hardware is not production-validated. USB connector fit/finish and the selected LED land pattern still need confirmation. The 10 mm outline variant is for quotations only; FireFLY’s actual board is 9.5 mm.