

Purplewizard
The DC801 Badge Platform for DC28+
- Size
- 92.5 × 150.6 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 165
- Nets
- 171
- Pads
- 692
- Tracks, vias
- 2,123, 316
- Pours
- 7
- Routed
- Yes
- KiCad
- KiCad 6 (file 20211014)
- Created
- 21 Feb 2020
- Updated
- 11 May 2026
Overview
Purplewizard is an open-source printed circuit board by DC801, from the DC801/BM-Badge repository on GitHub, published under the AGPL-3.0 licence. It is a 2-layer board of 92.5 × 150.6 mm with 165 parts on 171 nets, routed with 2,123 tracks and 316 vias.
It is built around the ATTINY1617-MN, BMD-340-A-R and NAU8810YG, with the SC189ZULTRT, SKRHABE010 and AO3409 among its other parts. Its parts include 46 diodes, 26 capacitors, 24 connectors, 19 switches and 16 resistors. It belongs with the lEDs and displays boards and the AVR (ATmega, ATtiny) boards of this library.
Main components
6ATTINY1617-MN
QFN-24-EP(4x4)-40℃~+105℃ 1.8V~5.5V 10bit 16KB 20MHz 22 256Byte 2KB 8 Bit 8bit AVR Built-in FLASH VQFN-24-EP(4x4) Microcontrollers (MCU/MPU/SOC) ROHSMicrochip TechnologyMicrocontrollers (MCU/MPU/SOC)BMD-340-A-R
LGA-60LGA-60 Bluetooth Modules ROHSu-bloxBluetooth ModulesNAU8810YG
QFN-20(4x4)-40℃~+85℃ 1.71V~3.6V、2.5V~3.6V 8kHz~48kHz Built-in phase-locked loop、On-chip digital gain、Mute control Encoder/decoder I2S QFN-20(4x4) Audio Interface ICs ROHSNuvoton TechAudio Interface ICsSC189ZULTRT
MLPD-6-UT(2x2)-40℃~+125℃@(TJ) 1 1.5A 2.5MHz 2.9V~5.5V 3.3V Buck Buck Built-in Fixed Yes MLPD-6-UT(2x2) DC-DC Converters ROHSSEMTECHDC-DC ConvertersSKRHABE010
SMD-8P,7.5x7.5mmSMD-8P,7.5x7.5mm Multi-Directional Switches ROHSALPSALPINEMulti-Directional SwitchesAO3409
SOT-23-55℃~+150℃ 1 P-Channel 1.4V 110mΩ@10V 2.6A 240pF 30V 37pF 5.2nC@10V SOT-23 MOSFETs ROHSAlpha & Omega SemiconductorMOSFETs
README
README.mdDC801 Black Mage Badge
The DC801 Badge Platform for DC28+, featuring a playable web build to increase ease of access for content authorship workflows, as well as for archival access to the game when for the hardware is no longer available.
Introducing Chapter 2 (for DC32)
A new expansion for the game has been added! Chapter 2 introduces King Gibson's castle and the badge's built-in USB-C serial interface. More characters, more puzzles, and more puns!


Use the terminal to engage with the world and solve puzzles:

Chapter 1 content is still available with this release, and both chapters are accessible from the main menu.

Videos about the project

Watch Alex Chaveriat's review of the DC801 Black Mage Badge

Watch Alex Chaveriat interview Hamster at DEFCON 29 about the DC801 Black Mage Badge

Watch Alex Chaveriat interview Admiral Potato and Alamedyang about building the DC801 Black Mage Badge
Hardware
The DC801 BM-Badge brings you an expandable iteration of our robust platfom.
- Core CPU is the Nordic nRF52840 SoC, on the u-blox BMD-340 module
- https://www.u-blox.com/en/product/bmd-34-series-open-cpu
- 256k RAM, 1M internal flash, ARM® Cortex™ M4F CP @ 64Mhz
- Bluetooth 5 with Bluetooth mesh and Zigbee support
- Temperature sensor
- 27 buttons with NKRO via a dedicated controller
- Microchip ATiny1617 microcontroller, with UPDI programming support
- https://www.microchip.com/wwwproducts/en/ATtiny1617
- 19 LEDs
- SD card socket
- 32MB of quad-spi flash
- NAU8810 audio codec and speaker
- 2.4" 240x320 TFT LCD screen with touch panel
- LiPo battery with on-board charging
- USB-C interface supporting USB endpoints
- SAO 1.69bis and Saintcon MiniBadge expansion headers
- Support for the DC801 ART front board expansion
- JTAG via both standard ARM interface as well as Tag Connect
- USB drag-and-drop programming via a UF2 interface (based on the adafruit bootloader)
- Exciting new artwork and sandwich design
Board design is in KiCad
See the HW directory for more info, schematics and etc
ART - Asymmetric Resistive Token
Since this badge is a sandwich platform badge, we've include a template so that you can design your own front boards.
Check out the Template that you can create a new project in KiCad with.
Software
- Environment is GNU ARM GCC with your choice of IDE (We're currently using CLion and VSCode)
- Need a J-Link Segger JTAG programmer to program the chip directly.
- Custom game engine purpose-built for the badge that can automatically load custom games from the SD Card.
- Included in the SD_Card/MAGE directory is a binary encoder that allows you to generate your own games with our engine using open source tools such as the Tiled Map Editor and our custom json scripting language.
- Instructions to set up your own dev environment and desktop testing build of our game engine in EnvironmentSetup.md.
- Comprehensive engine documentation and content creation guide
Gameplay Videos
DC28 DC801 SAFEMODE badge, 2020-12-04 development update: Watch almost 6 minutes of 100% in-engine gameplay in our 2020-12-04 development update video!
DC28 DC801 SAFEMODE badge, 2021-02-21 development update: Watch one of our puzzles and see some of our new narrative focused engine scripting capabilities in our 2021-02-21 development update video!
DC32 dev team
Hardware
PCB Electronics
- @hamster
PCB Art
- corfidbizna
- alamedyang
Badge Design
- @admiral_potato
- @hamster
Art Board
- redactd
Joystick Covers
- @_Pexie
Software
Engine Lead
- @admiral_potato
Script System
- @admiral_potato
Script Tooling
- alamedyang
- @admiral_potato
- nibley
Programming Support
- Tawnos
- Solra Bizna
- Youssef Moosa
- Cedric Hutchings (cedric_h)
Graphics
2D Art
- alamedyang
- corfidbizna
- Hippi3Hack3r
3D Art
- @admiral_potato
- nthday
Story
Writing
- alamedyang
- Hippi3Hack3r
Scripting
- alamedyang
- ThatDeadGuy and CJDJ
- nibley
- mmedei
- korinakuma
Goose Facts Consultant
- lys
Special Thanks
- 7thdrxn
- Aaron Freed
- anonbecause
- courtyen
- DisplayGFX
- flame3722
- HeyItsWaters
- hipu
- HumanDLC
- korinakuma
- laughdat
- Liam "junkmail" Thomas
- @MuxLuxx
- NewGnu
- @_Pexie
- Solra Bizna
- Spooks
- TuckleberryWinn
- And all the playtesters who we missed!
DC28 dev team
Project owner
Software Team
- @_bashNinja
- @admiral_potato
- @corfidbizna
- kiyoshigawa
- @newzie1
- @tazmodius
- @alamedyang
Hardware Team
Honorable Mention
Parts
165| Qty | Value | Footprint | References |
|---|---|---|---|
| 26 | D_ALT | Diode_SMD:D_SOD-523 | D24, D25, D26, D27, D28, D29, D30, D31, D32, D33, D34, D35, D36, D37, D38, D39 +10 |
| 16 | TACTILE | lib_fp:SW_SPST_PTS647 | SW2, SW3, SW4, SW5, SW6, SW7, SW8, SW9, SW10, SW11, SW12, SW13, SW14, SW15, SW16, SW17 |
| 9 | 0.1uF | Capacitor_SMD:C_0603_1608Metric | C1, C13, C14, C15, C17, C20, C23, C24, C25 |
| 6 | 4.7uF | Capacitor_SMD:C_0603_1608Metric | C2, C4, C5, C8, C9, C12 |
| 4 | 0.47uF | Capacitor_SMD:C_0603_1608Metric | C16, C18, C21, C22 |
| 4 | Fiducial | Fiducial:Fiducial_1mm_Mask2mm | FID1, FID2, FID3, FID4 |
| 3 | GND | TestPoint:TestPoint_Pad_1.5x1.5mm | J2, J27, J29 |
| 2 | 10k | Resistor_SMD:R_0603_1608Metric | R1, R12 |
| 2 | 10uF | Capacitor_SMD:C_0603_1608Metric | C3, C26 |
| 2 | 27R | Resistor_SMD:R_0603_1608Metric | R7, R8 |
| 2 | 3.3V | TestPoint:TestPoint_Pad_1.5x1.5mm | J1, J19 |
| 2 | 4.7k | Resistor_SMD:R_0603_1608Metric | R2, R3 |
| 2 | 47pF | Capacitor_SMD:C_0603_1608Metric | C10, C11 |
| 2 | 5.1k | Resistor_SMD:R_0603_1608Metric | R10, R11 |
| 2 | D_Schottky | Diode_SMD:D_SMA | D1, D2 |
| 2 | SKRHABE010 | lib_fp:SKRHABE010 | SW18, SW19 |
| 1 | 100k | Resistor_SMD:R_0603_1608Metric | R14 |
| 1 | 1k | Resistor_SMD:R_0603_1608Metric | R16 |
| 1 | 1nF | Capacitor_SMD:C_0603_1608Metric | C7 |
| 1 | 1uH | Inductor_SMD:L_1008_2520Metric | L1 |
| 1 | 2.0k | Resistor_SMD:R_0603_1608Metric | R9 |
| 1 | 20k | Resistor_SMD:R_0603_1608Metric | R15 |
| 1 | 22uF | Capacitor_SMD:C_0603_1608Metric | C19 |
| 1 | 22uF | Capacitor_SMD:C_0805_2012Metric | C6 |
| 1 | 2M | Resistor_SMD:R_0603_1608Metric | R5 |
| 1 | 33R | Resistor_SMD:R_0603_1608Metric | R13 |
| 1 | 470R | Resistor_SMD:R_0603_1608Metric | R6 |
| 1 | 806k | Resistor_SMD:R_0603_1608Metric | R4 |
| 1 | ADD | LED_SMD:LED_0603_1608Metric | D10 |
| 1 | AO3409 | Package_TO_SOT_SMD:SuperSOT-3 | Q1 |
| 1 | ATtiny1617-M | Package_DFN_QFN:QFN-24-1EP_4x4mm_P0.5mm_EP2.6x2.6mm | U7 |
| 1 | BIT1 | LED_SMD:LED_0603_1608Metric | D23 |
| 1 | BIT128 | LED_SMD:LED_0603_1608Metric | D7 |
| 1 | BIT16 | LED_SMD:LED_0603_1608Metric | D22 |
| 1 | BIT2 | LED_SMD:LED_0603_1608Metric | D18 |
| 1 | BIT32 | LED_SMD:LED_0603_1608Metric | D17 |
| 1 | BIT4 | LED_SMD:LED_0603_1608Metric | D13 |
| 1 | BIT64 | LED_SMD:LED_0603_1608Metric | D12 |
| 1 | BIT8 | LED_SMD:LED_0603_1608Metric | D8 |
| 1 | BMD-340 | lib_fp:RIGADO_BMD-340 | U3 |
| 1 | Badgelife_sao_connector_v169bis | lib_fp:Badgelife-Shitty-v1.69bis | X1 |
| 1 | Battery | Connector_JST:JST_PH_S2B-PH-SM4-TB_1x02-1MP_P2.00mm_Horizontal | J14 |
| 1 | Board to Board | Connector_PinSocket_2.54mm:PinSocket_2x05_P2.54mm_Vertical_SMD | J17 |
| 1 | Conn_01x50 | Connector_FFC-FPC:Hirose_FH12-50S-0.5SH_1x50-1MP_P0.50mm_Horizontal | J16 |
| 1 | HAX | LED_SMD:LED_0603_1608Metric | D14 |
| 1 | IS31FL3736 | lib_fp:QFN-40-1EP_5x5mm_P0.4mm_EP3.6x3.6mm_LargerThermalVias | U6 |
| 1 | JTAG | lib_fp:PinHeader_2x05_P1.27mm_Vertical_Sneaky | J11 |
| 1 | LCD_MISO | TestPoint:TestPoint_Pad_1.5x1.5mm | J22 |
| 1 | LCD_MOSI | TestPoint:TestPoint_Pad_1.5x1.5mm | J6 |
| 1 | LCD_RD | TestPoint:TestPoint_Pad_1.5x1.5mm | J23 |
| 1 | LCD_SCK | TestPoint:TestPoint_Pad_1.5x1.5mm | J5 |
| 1 | LCD_TE | TestPoint:TestPoint_Pad_1.5x1.5mm | J24 |
| 1 | LCD_WR | TestPoint:TestPoint_Pad_1.5x1.5mm | J8 |
| 1 | LOGO | lib_fp:DC801_logo | G*** |
| 1 | LOGO | lib_fp:backboard-copper | G*** |
| 1 | LOGO | common_fp:pcbx_logo | G*** |
| 1 | LOGO | lib_fp:backboard-silk | G*** |
| 1 | LOGO | lib_fp:backboard-soldermask | G*** |
| 1 | MCP73832-2-OT | Package_TO_SOT_SMD:SOT-23-5 | U4 |
| 1 | MEM0 | LED_SMD:LED_0603_1608Metric | D6 |
| 1 | MEM1 | LED_SMD:LED_0603_1608Metric | D11 |
| 1 | MEM2 | LED_SMD:LED_0603_1608Metric | D16 |
| 1 | MEM3 | LED_SMD:LED_0603_1608Metric | D21 |
| 1 | MIC+ | TestPoint:TestPoint_Pad_1.5x1.5mm | J26 |
| 1 | MOUT | TestPoint:TestPoint_Pad_1.5x1.5mm | J25 |
| 1 | Micro_SD_Card | lib_fp:JAE_ST11S008V4HR2000 | J18 |
| 1 | Minibadge Expansion | Connector_PinSocket_2.54mm:PinSocket_2x10_P2.54mm_Vertical | J13 |
| 1 | NAU8810 | Package_DFN_QFN:QFN-20-1EP_4x4mm_P0.5mm_EP2.5x2.5mm | U1 |
| 1 | P1.05 | TestPoint:TestPoint_Pad_1.5x1.5mm | J21 |
| 1 | P1.06 | TestPoint:TestPoint_Pad_1.5x1.5mm | J20 |
| 1 | P1.07 | TestPoint:TestPoint_Pad_1.5x1.5mm | J7 |
| 1 | PAGE | LED_SMD:LED_0603_1608Metric | D20 |
| 1 | Power | lib_fp:SW_SPDT_CK-JS102011SAQN | SW1 |
| 1 | RED | LED_SMD:LED_0603_1608Metric | D3 |
| 1 | S25FL256S | Package_SO:SOIC-16W_7.5x10.3mm_P1.27mm | U5 |
| 1 | SC189ZULTRT | lib_fp:SC189ZULTRT | U2 |
| 1 | SD | LED_SMD:LED_0603_1608Metric | D19 |
| 1 | SPKR+ | TestPoint:TestPoint_Pad_1.5x1.5mm | J9 |
| 1 | SPKR- | TestPoint:TestPoint_Pad_1.5x1.5mm | J10 |
| 1 | SUB | LED_SMD:LED_0603_1608Metric | D15 |
The 150 most common of 165 parts.
More from DC801/BM-Badge
6- 2 layers197.9 × 148.9 mm

- 2 layers93 × 162 mm

- 2 layers92.5 × 151 mm

- 2 layers92.5 × 151 mm

- 2 layers46.5 × 70.5 mm

- 2 layers92.5 × 151 mm

Similar boards
- 2 layers92.5 × 151 mm

- 2 layers92.5 × 175 mm

- 4 layers47.3 × 24 mm

Kicad LFOV RigidFlex Assembly Screwhole Board
Aharoni-Lab/MiniXL
This is the repository for the second version of MiniLFOV, called MiniLFOV-XL.
147 parts8 - 4 layers40 × 80 mm

- 4 layers34.9 × 13.2 mm

CM2 MesoScope
ChangliangGuo2/COMET
This repository includes files for COMET (Cortex-wide Observational Miniature Epifluorescence Technique)
97 parts1 - 4 layers47 × 24 mm

MiniLFMv2 solderjoint smaller
vazirilab/MiniLFMv2
Miniature Light Field Microscope v2 (MiniLFMv2) open hardware design & docs
135 parts1 - 4 layers33 × 16 mm

MiniXL
miniscope/MiniXL
An open-source, large field-of-view epifluorescence miniscope enabling single-cell resolution and multi-region imaging in mice
99 partsGPL-3.0 - 4 layers55.3 × 125.9 mm

MicroTAC
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!
142 parts915
Questions
How big is the Purplewizard PCB?
It measures 92.5 × 150.6 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Purplewizard use?
165 parts, built around the ATTINY1617-MN, BMD-340-A-R, NAU8810YG and SC189ZULTRT. 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 Purplewizard KiCad files?
From the DC801/BM-Badge repository on GitHub, at the commit this page was made from: the board is Hardware/BackBoard/purplewizard.kicad_pcb and its schematic Hardware/ART/SPELLS/neopixel.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Purplewizard design in my own project?
Its repository publishes it under the AGPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

