Skip to the content
4 layers95.9 × 46 mmDragon 4L R02, the printed circuit board in 3D

Cyber Saiyan community has designed and developed a special gadget for WHY2025. The badge was designed to recall the dragon spheres, and is an updated version of RomHack Camp 2022 badge, both in term of design and features.

Size
95.9 × 46 mm
Copper layers
4
Thickness
1.6 mm
Parts
127
Nets
104
Pads
425
Tracks, vias
1,064, 178
Pours
5
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
22 Jul 2025
Updated
18 Jul 2026

Overview

Dragon 4L R02 is an open-source printed circuit board by CyberSaiyanIT, from the CyberSaiyanIT/why2025-badge repository on GitHub, published under the MIT licence. It is a 4-layer board of 95.9 × 46 mm with 127 parts on 104 nets, routed with 1,064 tracks and 178 vias.

It is built around the ESP32-C3FH4, AW9523BTQR and MT3410LB-N, with the MT3608B, TSC2007IPWRQ1 and DW01A among its other parts. Its parts include 32 capacitors, 23 resistors, 11 diodes, 8 ICs and 4 inductors. It belongs with the lEDs and displays boards and the ESP32 and RISC-V boards of this library.

Main components

12

README

README.md

EMF2026 Badge

EMF2026 badge front EMF2026 badge rear

The Cyber Saiyan community modified the special WHY 2025 badge to bring to EMF Camp 2026. This year we don't have our own tent — find us hanging around the Milliways village, where we'll have a few badges on showcase to play with. Come say hi!

Useful information:

  • To play with and hack the badge, we recommend bringing a USB Type‑C data cable
  • The badge is already flashed with the EMF2026 specific firmware
  • We would greatly appreciate any improvements to the project and pull requests.
  • Don't hesitate to come and find the Cyber Saiyan crew at the Milliways village if you're curious and want to say hi

Features

The badge has several simple features to enhance your camp experience:

  • It is designed to recall the dragon spheres (maybe you will be able to summon Shenron...)
  • The core is a low-power ESP32-C3 SoC
    • Integrates a 32-bit single-core RISC-V microcontroller with a maximum clock speed of 160 MHz
    • 400 KB of internal RAM and 4MB flash
    • Wi-Fi and Bluetooth 5 (LE)
    • 16 programmable GPIOs
  • In the front there are 7 RGB leds
  • In the back you have
    • A 2.8'' TFT screen
    • A LiPo battery, connectors and power switch
    • A reset button
    • 2 Dial Wheel Switch
    • 8 connectors for configurable GPIOs and expansions

Interaction

Once powered on, the badge is assigned an ID from 1 to 7 and begins advertising itself via BLE.

Change Screens: Long-press (at least 1 second) either Dial Wheel Switch.

You can interact with the screen by short pressing (up or down) one of the two Dial Wheel Switch.

Screens

First screen

The Cyber Saiyan EMF2026 logo EMF2026 first screen

Second screen

The EMF Camp 2026 talks schedule. Use the 5th screen to update it. EMF2026 second screen

Third Screen

The badge radar, showing nearby badges in a Dragon Ball style. EMF2026 third screen

Fourth screen

The badge's list, you can see all the badges around in a table view EMF2026 fourth screen

Fifth screen

The Wi-Fi functionalities EMF2026 fifth screen

TURN ON AP

Start the AP mode (move up the Dial Wheel Switch) and connect from your PC/phone to the badge AP using SSID and PASS shown; after that you can navigate to http://192.168.4.1 in order to explore more functionalities (hey Harry, can you play tetris?) and change configurations (saiyan is the pwd) EMF2026 AP screen EMF2026 webserver

SYNC SCHEDULE

Start the SYNC mode (move down the Dial Wheel Switch) in order to update the schedule; the badge connects to the EMF Wi-Fi and downloads the latest talks schedule from emfcamp.org

Sixt Screen

Have fun while playing Snake! 🐍 EMF2026 sixth screen

Seventh Screen

Space Invaders! 👾 Roll a Dial Wheel UP to move the laser cannon left and DOWN to move it right, and press both wheels together to FIRE at the descending invaders. Your score and the all-time high score (saved on the badge) are shown at the top. Short-press a wheel to play again after game over. EMF2026 seventh screen

Eighth Screen

Rainbow loop! 🌈 A continuous LED animation across all 7 front RGB LEDs — great for walking around camp and showing off some lights at night. It starts the moment you arrive on this screen and stops the moment you leave it. Short press either wheel to cycle through 5 animations: Rainbow Chase, Color Wave, Strobe Party, Twinkle Sparkle, and Comet Spin. The screen shows which one is currently playing.

Characteristics

The ESP32-C3 chip is the MCU at the core of the EMF Camp 2026 Badge, it integrates multiple peripherals to enable communication with the outside world. The number of available pins is limited to keep the chip package size small. To route all the incoming and outgoing signals a set of software programmable registers controls the pin multiplexer.

Peripheral Interfaces

There are 16 programmable GPIO pins available for:

  • Digital interfaces
    • 3 SPI
    • 2 UART
    • I2C
    • I2S
    • Remote control peripheral, with 2 transmit channels and 2 receive channels
    • LED PWM controller, with up to 6 channels
    • Full-speed USB Serial/JTAG controller
    • General DMA controller (GDMA), with 3 transmit channels and 3 receive channels
    • TWAI® controller compatible with ISO 11898-1 (CAN Specification 2.0)
  • Analog interfaces
    • 2 SAR ADCs (12-bit), up to 6 channels
    • Temperature sensor

Devices on board

The EMF Camp 2026 Badge is equipped with a 2.8 inch TFT color LCD screen with 240 x 320 pixels, using the ST7789 display controller. This display integrates a resistive touchscreen a white LEDs backlight and features an 18-pin standard FPC cable to interface the MCU with a 4-wire SPI bus.


The SPI bus signals are available on the connector labeled "SPI" at the top of the badge:

pinfunction
1GND
2MOSI
3CS
4DC
5CLK
6MISO

The current firmware version does not support touchscreen functionality, but the Badge still features the TSC2007 I2C Resistive Touch Screen Controller.

The front RGB LEDs are intelligent, individually addressable WS2812B chips that communicate with each other and the microcontroller via a single data line. The data transfer protocol uses a single NZR communication mode. The signal from the DOUT port of the last LED on the badge is available on the "1W" pin of the connector, labeled "I2C."


The I2C bus signals are available on the connector labeled "I2C" at the top of the badge:

pinfunction
1GND
2SCL
3SDA
41W

The display backlight is controlled by 4 pins on the AW9523B LED driver and GPIO controller with I2C interface while the other 12 pins on the I/O ports can be configured as LED drive mode or GPIO mode and are available on the connector labeled "RGB*".


The I/O signals from AW9523B are available on the connector labeled "RGB*" at the left of the badge:

RGB0function
1GND
2P0_0
3P0_1
4P0_2
RGB1function
1GND
2P0_3
3P0_4
4P0_5
RGB2function
1GND
2P0_6
3P0_7
4P1_4
RGB3function
1GND
2P1_5
3P1_6
4P1_7

The badge's main input interface consists of two Dial Wheel Switches. These switches can be rotated up or down for short and long presses to navigate and interact with the UI. Pressing the center of the left switch results in the same effect as rotating the wheel UP, while pressing the center of the right switch results in the same effect as rotating the wheel DOWN.

Note: push the left switch (or rotating the wheel UP) during boot to put the MCU in Joint Download Boot mode to download binary files into flash using UART0 or USB interface. To reset/restart the MCU push the micro switch labeled "RST" on the top left of the badege.

Badge stuck on boot / factory reset

If a badge is stuck in a boot loop (serial log repeats esp_image: invalid segment length 0xffffffff / Factory app partition is not bootable), the firmware image itself is corrupt — most likely from a flash that got interrupted. Fix by reflashing over USB:

  1. Press and hold the left dial's center button (this is the GPIO9 boot-mode strap).
  2. While still holding it, connect the USB-C cable to the badge.
  3. While still holding it, press and release the RST button.
  4. Keep holding the left button for ~2 seconds after releasing RST, then release it.
  5. Reflash both partitions:
    text
    pio run -e emf2026-badge -t upload
    pio run -e emf2026-badge -t uploadfs
    (upload fixes the corrupted firmware; uploadfs refreshes the filesystem — settings/high scores regenerate from defaults on next boot.)

The badge's native USB-JTAG interface will normally re-enumerate on its own after the flash; if pio can't find the port automatically, pass it explicitly, e.g. --upload-port /dev/cu.usbmodemXXXX (find it with pio device list).

During the boot process, the messages by the ROM code can be printed to (Default) UART0 and USB Serial/JTAG controller.


The UART interface and the Strapping (button pin) signals are available on the connector labeled "RS232" at the top of the badge:

pinfunction
1GND
2TX
3RX
4button B
5button A

The USB-C connector's D+/D- pins are connected to the default USB Serial/JTAG Controller and the USB power is routed to the LiPo battery charger and the voltage regulators.

There is the MT3608 step-up converter intended for power the WS2812 with up to 5V and the MT3410LB step-down DC-DC 3.3V regulator, capable of delivering up to 1.3A output current to the MCU and all the other IC.

In case of low power and low noise applications it's possible to disable the MT3410LB by removing two 0 ohm resistors labeled SW_ON/SW_OUT and enable the RT9080 low-dropout (LDO) 3.3 voltage regulator by shorting two resistors pads labeled LDO_ON/LDO_OUT


The power lines are available on the connector labeled "POW" at the top of the badge:

pinfunction
1GND
2+3.3V
3+4.75V

The battery is charged using a TP4054 single-charge LiPo charger with a constant current/voltage algorithm and a DW01 protection IC designed to protect the battery from damage due to over-discharge and/or over-current. The charging circuit and voltage regulators are always powered by the USB port. A toggle switch for turning the badge on and off via the battery is located on the bottom of the badge.

Firmware architecture

For a detailed reference of the firmware — boot flow, FreeRTOS tasks, screens, BLE / Wi-Fi, the streaming schedule-sync pipeline, config & storage, the build/flash workflow and the non-obvious gotchas — see SKILL.md.

It is written as a Claude Code skill: copy it to .claude/skills/badge-architecture/SKILL.md in your clone and Claude Code will load it automatically when you work on the badge.

Toolchain setup

Prepare the environment

Visual Studio Code (VSCode)

Install Visual Studio Code as development environment:

PlatformIO (PIO) extension

Install PlatformIO extension on Visual Studio Code:

Please follow to the official documentation PlatformIO IDE for VSCode.

Setup the project

  • Git clone this repository and open it on VSCode

If you get a No module named pkg_resources error, open the PlatformIO Core CLI and run:

  • pip install setuptools

Build www data (Linux)

  • Prerequisites:

    • Install Node.js and NPM
  • Use NPM to Install required Packages:

    • npm install node-minify node-sass
  • ./www-build.sh

Build www data (Docker)

  • Install docker
  • docker build --pull --rm -f "Dockerfile" -t emf2026badge:latest "."
  • (Bash) docker run -it -v $(pwd)/public:/public -v $(pwd)/data/www:/output emf2026badge
  • (Powershell) docker run -it -v ${PWD}/public:/public -v ${PWD}/data/www:/output emf2026badge

Build/Upload Filesystem

In order to upload the filesystem to the badge you need to plugin the badge using USB. In the "Project Tasks" view of PIO navigate to:

  • emf2026-badge
    • Platform
      • Build Filesystem Image
      • Upload Filesystem Image

Build/Upload Firmware

In order to upload the firmware to the badge you need to plugin the badge using USB. In the "Project Tasks" view of PIO navigate to:

  • emf2026-badge
    • General
      • Build
      • Upload

Known Issues

Check GitHub issue tracker

Misc

Wi-Fi SSID name lenght limit

The Wi-Fi SSID for connecting to an external Access Point (AP) is limited to 20 characters.

Use a different logo image

Parts

127
QtyValueFootprintReferences
16100nFdragon-r2-easyedapro:C0603C5, C8, C9, C12, C16, C17, C20, C21, C22, C23, C24, C25, C26, C27, C28, C29
130Ωdragon-r2-easyedapro:R0805A0-H1, A0-L1, A1-H1, A1-L1, ExtAnt1, IntAnt1, LDO_ON1, LDO_OUT1, NoProt1, Prot1, SW_ON1, SW_OUT1, TPBat1
95.1kΩdragon-r2-easyedapro:R0603R1, R2, R11, R12, R13, R14, R17, R18, R21
7WS2812B-2020dragon-r2-easyedapro:LED-SMD_4P-L2.0-W2.0-TL_WS2812B-2020D1, D2, D3, D4, D5, D6, D12
6100kΩdragon-r2-easyedapro:R0603R3, R8, R9, R10, R16, R23
622uFdragon-r2-easyedapro:C0603C1, C2, C3, C4, C18, C33
6TestPointTestPoint:TestPoint_Pad_D1.5mm3.3LDO1, 3.3SW1, 4.75, LiPo+1, VIn1, Xtal1
51uFdragon-r2-easyedapro:C0603C7, C15, C30, C31, C32
5HCZZ0015-4ProPrj_dragon.kicad_pro-4L.kicad_sch_R00_2025-04-12:CONN-SMD_4P-P1.25_HCZZ0015-4I2C1, RGB0, RGB1, RGB2, RGB3
3CRS08(TE85L,Q,M)dragon-r2-easyedapro:SOD-123_L2.8-W1.8-LS3.7-FDD8, D9, D11
216pFdragon-r2-easyedapro:C0603C13, C14
21kΩdragon-r2-easyedapro:R0402R20, R27
21pFdragon-r2-easyedapro:C0402C6, C10
2300kΩdragon-r2-easyedapro:R0402R4, R6
24.7uHdragon-r2-easyedapro:IND-SMD_L4.0-W4.0_FNR40XXSL1, L2
2QS-301-AGS5Pdragon-r2-easyedapro:SW-SMD_QS-301-AGS5PBut1, But2
10Ωdragon-r2-easyedapro:R0402L4
10ΩProPrj_dragon.kicad_pro-4L.kicad_sch_R00_2025-04-12:R0805LCDPow1
1100Ωdragon-r2-easyedapro:R0402R15
12.2kΩdragon-r2-easyedapro:R0402R19
122nFdragon-r2-easyedapro:C0402C11
13.9nHdragon-r2-easyedapro:IND-SMD_L1.0-W0.5-2L3
140MHzdragon-r2-easyedapro:CRYSTAL-SMD_4P-L3.2-W2.5-BLX1
143kΩdragon-r2-easyedapro:R0402R7
168kΩdragon-r2-easyedapro:R0402R5
1AN9520-245dragon-r2-easyedapro:ANT-SMD_L9.5-W2.1AE1
1AW9523BTQRdragon-r2-easyedapro:VFQFPN-24_L4.0-W4.0-P0.50-BL-EP2.8U5
1BWU.FL-IPEX1dragon-r2-easyedapro:IPEX-SMD_BWIPX-1-001EWiFi1
1BX-PH2.0-2PWTdragon-r2-easyedapro:CONN-SMD_2P-P2.00_BX-PH2.0-2PWTLiPo1
1BallRomHack:RH_BALLBALL**
1DW01Adragon-r2-easyedapro:SOT-23-6_L2.9-W1.6-P0.95-LS2.8-BLU6
1ESP32-C3FH4dragon-r2-easyedapro:QFN-32_L5.0-W5.0-P0.50-TL-EP3.7U1
1FPC06-Q0.5-18AH2.0dragon-r2-easyedapro:FPC-SMD_18P-P0.50_FPC06-Q0.5-18AH2.0FPC1
1HCZZ0001-2dragon-r2-easyedapro:CONN-SMD_2P-P1.25_HC_HCZZ0001-2CN1
1HCZZ0015-3ProPrj_dragon.kicad_pro-4L.kicad_sch_R00_2025-04-12:CONN-SMD_3P-P1.25-L3.3-W8.8PowO1
1HCZZ0015-5ProPrj_dragon.kicad_pro-4L.kicad_sch_R00_2025-04-12:CONN-SMD_5P-P1.25_HCZZ0015-5RS232
1HCZZ0015-6ProPrj_dragon.kicad_pro-4L.kicad_sch_R00_2025-04-12:CONN-SMD_6P-P1.25_HCZZ0015-6SPI1
1HJ8205dragon-r2-easyedapro:SOT-23-6_L2.9-W1.6-P0.95-LS2.8-BRQ1
1LOGORomHack:WHY_LOGOWHY***
1LogoRomHack:CS_LOGOLOGO***
1MST22D18G2 125dragon-r2-easyedapro:SW-SMD_MST22D18G2PowOn1
1MT3410LB-Ndragon-r2-easyedapro:SOT-23-5_L3.0-W1.5-P0.95-LS2.8-BLU3
1MT3608Bdragon-r2-easyedapro:SOT-23-6_L2.9-W1.6-P0.95-LS2.8-BRU2
1OffRomHack:CS_OFFOFF**
1OnRomHack:CS_ONON**
1RT9080-33GJ5-MSdragon-r2-easyedapro:SOT-23-5_L2.9-W1.6-P0.95-LS2.8-BRU9
1RstRomHack:CS_RSTRST**
1StarRomHack:CS_STARSTAR**
1TP4054dragon-r2-easyedapro:SOT-23-5_L2.9-W1.6-P0.95-LS2.8-BRU4
1TSB008A2526Adragon-r2-easyedapro:SW-SMD_L6.0-W3.5-LS8.0Reset1
1TSC2007IPWRdragon-r2-easyedapro:TSSOP-16_L5.0-W4.4-P0.65-LS6.4-BLU8
1TYPE-C 16PIN 2MD(073)dragon-r2-easyedapro:USB-C-SMD_TYPE-C-6PIN-2MD-073USBC1
1TestPointMountingHole:MountingHole_4.5mm_Pad_ViaTP1
1WebsiteRomHack:CS_WEBSITEWEB**
1XL-1005UGCdragon-r2-easyedapro:LED0402-RD_GREEND10

Similar boards

  • 2 layers100 × 90 mmMcu board, the printed circuit board in 3D

    Mcu board

    Kononenko-K/IN12-STM32-Nixie-Clock

    STM32 Nixie clock project.

    66 parts3
  • 6 layers100 × 100 mmFlexLogic EVB, the printed circuit board in 3D

    FlexLogic EVB

    y-suyama/FlexLogic_EVB

    311 partsApache-2.0
  • 2 layers87.4 × 20.3 mmUINIO MCU ESP32S3, the printed circuit board in 3D

    UINIO MCU ESP32S3

    uinika/UINIO-MCU-ESP32S3

    the Evaluation Board base on ESP32-S3 with Xtensa® Dual-Core 32-bit LX7.

    48 parts13
  • 4 layers77 × 129 mmPlutopack, the printed circuit board in 3D

    Plutopack

    kpezeshki/portaPLUTO

    A handheld microwave analyzer based on the ADALM-PLUTO platform

    145 parts1
  • 2 layers92 × 122 mmCalc, the printed circuit board in 3D

    Calc

    JeffreyWangDev/Sum-Intro-Number-thing

    115 partsMIT
  • 2 layers136 × 92 mmBB3plus DVID TFT display, the printed circuit board in 3D

    BB3plus DVID TFT display

    eez-open/eez-bb3plus

    EEZ Bench Box 3 Plus (BB3+) Modular T&M chassis

    89 parts13
  • 2 layers43.5 × 15 mmMelty controller-2, the printed circuit board in 3D

    Melty controller-2

    goktugh/robotbits

    Some bits for robots or other control applications

    40 parts

Questions

How big is the Dragon 4L R02 PCB?

It measures 95.9 × 46 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Dragon 4L R02 use?

127 parts, built around the ESP32-C3FH4, AW9523BTQR, MT3410LB-N and MT3608B. 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 Dragon 4L R02 KiCad files?

From the CyberSaiyanIT/why2025-badge repository on GitHub, at the commit this page was made from: the board is hardware/dragon_4L_R02/dragon_4L_R02.kicad_pcb and its schematic hardware/dragon_4L_R02/dragon_4L_R02.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Dragon 4L R02 design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).