Skip to the content
2 layers92.5 × 150.6 mmPurplewizard, the printed circuit board in 3D

Purplewizard

DC801/BM-Badge63

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

6

README

README.md

DC801 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!

DC801 Black Mage Game 2024 main menu

DC801 Black Mage Game 2024 sample gameplay (screen only)

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

DC801 Black Mage Game 2024 sample terminal

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

DC801 Black Mage Game 2020 sample gameplay (screen only)

Videos about the project

Alex Chaveriat holds the DC801 Black Mage Badge up for your inspection
Watch Alex Chaveriat's review of the DC801 Black Mage Badge

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

Alex Chaveriat interviews Admiral Potato and Alamedyang about building 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
  • 27 buttons with NKRO via a dedicated controller
  • 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

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

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

Hardware Team

Honorable Mention

Parts

165
QtyValueFootprintReferences
26D_ALTDiode_SMD:D_SOD-523D24, D25, D26, D27, D28, D29, D30, D31, D32, D33, D34, D35, D36, D37, D38, D39 +10
16TACTILElib_fp:SW_SPST_PTS647SW2, SW3, SW4, SW5, SW6, SW7, SW8, SW9, SW10, SW11, SW12, SW13, SW14, SW15, SW16, SW17
90.1uFCapacitor_SMD:C_0603_1608MetricC1, C13, C14, C15, C17, C20, C23, C24, C25
64.7uFCapacitor_SMD:C_0603_1608MetricC2, C4, C5, C8, C9, C12
40.47uFCapacitor_SMD:C_0603_1608MetricC16, C18, C21, C22
4FiducialFiducial:Fiducial_1mm_Mask2mmFID1, FID2, FID3, FID4
3GNDTestPoint:TestPoint_Pad_1.5x1.5mmJ2, J27, J29
210kResistor_SMD:R_0603_1608MetricR1, R12
210uFCapacitor_SMD:C_0603_1608MetricC3, C26
227RResistor_SMD:R_0603_1608MetricR7, R8
23.3VTestPoint:TestPoint_Pad_1.5x1.5mmJ1, J19
24.7kResistor_SMD:R_0603_1608MetricR2, R3
247pFCapacitor_SMD:C_0603_1608MetricC10, C11
25.1kResistor_SMD:R_0603_1608MetricR10, R11
2D_SchottkyDiode_SMD:D_SMAD1, D2
2SKRHABE010lib_fp:SKRHABE010SW18, SW19
1100kResistor_SMD:R_0603_1608MetricR14
11kResistor_SMD:R_0603_1608MetricR16
11nFCapacitor_SMD:C_0603_1608MetricC7
11uHInductor_SMD:L_1008_2520MetricL1
12.0kResistor_SMD:R_0603_1608MetricR9
120kResistor_SMD:R_0603_1608MetricR15
122uFCapacitor_SMD:C_0603_1608MetricC19
122uFCapacitor_SMD:C_0805_2012MetricC6
12MResistor_SMD:R_0603_1608MetricR5
133RResistor_SMD:R_0603_1608MetricR13
1470RResistor_SMD:R_0603_1608MetricR6
1806kResistor_SMD:R_0603_1608MetricR4
1ADDLED_SMD:LED_0603_1608MetricD10
1AO3409Package_TO_SOT_SMD:SuperSOT-3Q1
1ATtiny1617-MPackage_DFN_QFN:QFN-24-1EP_4x4mm_P0.5mm_EP2.6x2.6mmU7
1BIT1LED_SMD:LED_0603_1608MetricD23
1BIT128LED_SMD:LED_0603_1608MetricD7
1BIT16LED_SMD:LED_0603_1608MetricD22
1BIT2LED_SMD:LED_0603_1608MetricD18
1BIT32LED_SMD:LED_0603_1608MetricD17
1BIT4LED_SMD:LED_0603_1608MetricD13
1BIT64LED_SMD:LED_0603_1608MetricD12
1BIT8LED_SMD:LED_0603_1608MetricD8
1BMD-340lib_fp:RIGADO_BMD-340U3
1Badgelife_sao_connector_v169bislib_fp:Badgelife-Shitty-v1.69bisX1
1BatteryConnector_JST:JST_PH_S2B-PH-SM4-TB_1x02-1MP_P2.00mm_HorizontalJ14
1Board to BoardConnector_PinSocket_2.54mm:PinSocket_2x05_P2.54mm_Vertical_SMDJ17
1Conn_01x50Connector_FFC-FPC:Hirose_FH12-50S-0.5SH_1x50-1MP_P0.50mm_HorizontalJ16
1HAXLED_SMD:LED_0603_1608MetricD14
1IS31FL3736lib_fp:QFN-40-1EP_5x5mm_P0.4mm_EP3.6x3.6mm_LargerThermalViasU6
1JTAGlib_fp:PinHeader_2x05_P1.27mm_Vertical_SneakyJ11
1LCD_MISOTestPoint:TestPoint_Pad_1.5x1.5mmJ22
1LCD_MOSITestPoint:TestPoint_Pad_1.5x1.5mmJ6
1LCD_RDTestPoint:TestPoint_Pad_1.5x1.5mmJ23
1LCD_SCKTestPoint:TestPoint_Pad_1.5x1.5mmJ5
1LCD_TETestPoint:TestPoint_Pad_1.5x1.5mmJ24
1LCD_WRTestPoint:TestPoint_Pad_1.5x1.5mmJ8
1LOGOlib_fp:DC801_logoG***
1LOGOlib_fp:backboard-copperG***
1LOGOcommon_fp:pcbx_logoG***
1LOGOlib_fp:backboard-silkG***
1LOGOlib_fp:backboard-soldermaskG***
1MCP73832-2-OTPackage_TO_SOT_SMD:SOT-23-5U4
1MEM0LED_SMD:LED_0603_1608MetricD6
1MEM1LED_SMD:LED_0603_1608MetricD11
1MEM2LED_SMD:LED_0603_1608MetricD16
1MEM3LED_SMD:LED_0603_1608MetricD21
1MIC+TestPoint:TestPoint_Pad_1.5x1.5mmJ26
1MOUTTestPoint:TestPoint_Pad_1.5x1.5mmJ25
1Micro_SD_Cardlib_fp:JAE_ST11S008V4HR2000J18
1Minibadge ExpansionConnector_PinSocket_2.54mm:PinSocket_2x10_P2.54mm_VerticalJ13
1NAU8810Package_DFN_QFN:QFN-20-1EP_4x4mm_P0.5mm_EP2.5x2.5mmU1
1P1.05TestPoint:TestPoint_Pad_1.5x1.5mmJ21
1P1.06TestPoint:TestPoint_Pad_1.5x1.5mmJ20
1P1.07TestPoint:TestPoint_Pad_1.5x1.5mmJ7
1PAGELED_SMD:LED_0603_1608MetricD20
1Powerlib_fp:SW_SPDT_CK-JS102011SAQNSW1
1REDLED_SMD:LED_0603_1608MetricD3
1S25FL256SPackage_SO:SOIC-16W_7.5x10.3mm_P1.27mmU5
1SC189ZULTRTlib_fp:SC189ZULTRTU2
1SDLED_SMD:LED_0603_1608MetricD19
1SPKR+TestPoint:TestPoint_Pad_1.5x1.5mmJ9
1SPKR-TestPoint:TestPoint_Pad_1.5x1.5mmJ10
1SUBLED_SMD:LED_0603_1608MetricD15

The 150 most common of 165 parts.

More from DC801/BM-Badge

6
  • 2 layers197.9 × 148.9 mmMiniMageSpells panel, the printed circuit board in 3D

    MiniMageSpells panel

    DC801/BM-Badge

    The DC801 Badge Platform for DC28+

    80 parts63AGPL-3.0
  • 2 layers93 × 162 mmPurplewizard pogo, the printed circuit board in 3D

    Purplewizard pogo

    DC801/BM-Badge

    The DC801 Badge Platform for DC28+

    56 parts63AGPL-3.0
  • 2 layers92.5 × 151 mmPurplewizard ART, the printed circuit board in 3D

    Purplewizard ART

    DC801/BM-Badge

    The DC801 Badge Platform for DC28+

    22 parts63AGPL-3.0
  • 2 layers46.5 × 70.5 mmMiniMageSpells, the printed circuit board in 3D

    MiniMageSpells

    DC801/BM-Badge

    The DC801 Badge Platform for DC28+

    11 parts63AGPL-3.0

Similar boards

  • 2 layers92.5 × 151 mmPurplewizard, the printed circuit board in 3D

    Purplewizard

    DC801/BM-Badge-deprecated

    The DC801 Badge Platform for DC28+

    160 partsAGPL-3.0
  • 2 layers92.5 × 175 mmHcrn, the printed circuit board in 3D

    Hcrn

    DC801/DC27PartyBadge

    defcon 27 badge - HCRN

    142 parts6GPL-3.0
  • 4 layers40 × 80 mmSIM7600-breakout, the printed circuit board in 3D

    SIM7600-breakout

    lamemakes/SIM7600-breakout

    A breakout board for the SIM7600 LTE module

    69 parts6
  • 4 layers34.9 × 13.2 mmCM2 MesoScope, the printed circuit board in 3D

    CM2 MesoScope

    ChangliangGuo2/COMET

    This repository includes files for COMET (Cortex-wide Observational Miniature Epifluorescence Technique)

    97 parts1
  • 4 layers47 × 24 mmMiniLFMv2 solderjoint smaller, the printed circuit board in 3D

    MiniLFMv2 solderjoint smaller

    vazirilab/MiniLFMv2

    Miniature Light Field Microscope v2 (MiniLFMv2) open hardware design & docs

    135 parts1
  • 4 layers33 × 16 mmMiniXL, the printed circuit board in 3D

    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 mmMicroTAC, the printed circuit board in 3D

    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).