

DarkMagic
Code for the Holy Grail PCB
- Size
- 157 × 73 mm
- Copper layers
- 6
- Thickness
- 1.57 mm
- Parts
- 212
- Nets
- 294
- Pads
- 832
- Tracks, vias
- 1,389, 367
- Pours
- 18
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 25 May 2026
- Updated
- 4 Oct 2026
Overview
DarkMagic is an open-source printed circuit board by whbCool, from the whbCool/HolyGrail repository on GitHub. It is a 6-layer board of 157 × 73 mm with 212 parts on 294 nets, routed with 1,389 tracks and 367 vias.
It is built around the ESP32-WROOM-32UE-N16, 5PB1106PGGI8 and CP2102N-A02-GQFN24, with the CD74HC138QM96Q1, LM393DRG and USBLC6-2SC6 among its other parts. Its parts include 93 resistors, 52 capacitors, 22 ICs, 8 connectors and 5 diodes. It belongs with the ESP32 boards of this library.
Main components
12ESP32-WROOM-32UE-N16
SMD,18x19.2mm-40℃~+85℃ -98dBm 112mA 2.4GHz 20dBm 239mA 3V~3.6V Bluetooth4.2 ESP32-DOWD-V3、ESP32-DOWDR2-V3 UART、SDIO、SPI、I2C、GPIO SMD,19.2x18mm WiFi Modules ROHSEspressif SystemsWiFi Modules5PB1106PGGI8
TSSOP-14Clock Buffers, Drivers, DistributorsRenesas ElectronicsCP2102N-A02-GQFN24
QFN-24-EP(4x4)-40℃~+85℃@(Ta) 1.3uA 13.7mA 3V~3.6V USB 2.0 USB to UART QFN-24-EP(4x4) USB Converters ROHSSilicon LabsUSB ConvertersCD74HC138QM96Q1
SOIC-16-40℃~+125℃ 13ns@5V,15pF 2V~6V 3/8 5.2mA 74HC 8uA Decoder Single Supply SOIC-16 Signal Switches, Multiplexers, Decoders ROHSTexas InstrumentsSignal Switches, Multiplexers, DecodersLM393DRG
SOP-80℃~+70℃ 100nA 1mV 2 2V~32V 36V 5nA 600uA Open-drain ±16V SOP-8 Comparators ROHSHANSCHIP semiconductorComparatorsUSBLC6-2SC6
SOT-23-60.35pF、0.8pF 100nA 150W@8/20us 15V 2 5V 6A@8/20us 6V ESD SOT-23-6 ESD and Surge Protection (TVS/ESD) ROHSUMWESD And Surge Protection (TVS/ESD)W5500
LQFP-48_7x7-40℃~+85℃ 10BASE-T、100BASE-TX 3.3V 32KB SPI SPI Wake-up function、Programmable LED indication、Low-power mode Yes LQFP-48(7x7) Ethernet Controllers ROHSWIZNETEthernet Controllers1N4148W
SOD-123150mA 1A 1V@50mA 1uA@75V 400mW 4ns 75V Independent SOD-123 Switching Diodes ROHSSTMicroelectronicsSwitching DiodesB130-13-F(MS)
SMASchottky DiodesMSKSEMIB3U-1000P-B
SMD,3x2.5mm-25℃~+70℃ 1.53N 1.6mm 12V 2.5mm 3mm 50mA Round Button SMD(SMT) Tab SPST Surface Mount,Vertical SMD,3x2.5mm Tactile Switches ROHSOmronTactile SwitchesB57442V5103J062
0805-40℃~+150℃ 1.25mm 10kΩ 210mW 2mm 3590K 3635K 3650K ±3% ±5% 0805 NTC Thermistors ROHSTDKNTC ThermistorsHSMG-C170
0805-40℃~+85℃ 15mcd 170° 2.2V 20mA 52mW 570nm 572nm Discrete Diode Green Diffused Lens Yellow Green 0805 LED Indication - Discrete ROHSBroadcom LimitedLED Indication - Discrete
README
README.mdTEA@CPP Escape Room 2026: The Holy Grail
The Holy Grail is a custom PCB, designed for the Indiana Jones puzzle as a part of TEA@CPP's "Retro Rewind" 2026 Escape Room.
This repository includes the KiCad schematic, as well as the code database for the board.
For more details on the code, check out the introductory walkthrough here.
Major Components:
- ESP32-WROOM-32UE
- SC16IS752IPW_128
- CD74HC138QM96Q1
- SN74LVC1G125DBVT
- CDCLVC1106PWR
- 7447715003
- LMR33640
- AP63205WU-7
- 5747842-2
- W5500
- USBLC6-2SC6
- TMJ0026ABNL
- MMBT3904
- CP2102N-A02-GQFN24
- 1812L150_24MR
- LM393DR
Design Requirements:
- Read data from 12 LD2410C sensors using SPI-to-UART converters.
- Aggregate sensor data and package it into a JSON payload to be sent to an MQTT broker.
- USB port for programming and debugging.
More Info: https://drive.google.com/drive/folders/14Y64IZpTN127Q0mva5SdtTZ1QgllTaBJ
Parts
212| Qty | Value | Footprint | References |
|---|---|---|---|
| 44 | 33 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R10, R11, R12, R13, R29, R30, R32, R33, R34, R35, R36, R37, R38, R39, R40, R41 +28 |
| 35 | 0.1uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C1, C2, C10, C12, C13, C14, C15, C16, C17, C18, C19, C20, C21, C22, C23, C24 +19 |
| 15 | 10k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R4, R5, R14, R17, R19, R20, R23, R24, R25, R26, R27, R28, R51, R84, R88 |
| 9 | TestPoint | TestPoint:TestPoint_Pad_D3.0mm | TP1, TP2, TP3, TP4, TP5, TP6, TP7, TP8, TP9 |
| 6 | 10K | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R69, R70, R71, R72, R73, R74 |
| 6 | SC16IS752IPW_128 | footprints:TSSOP28_SOT361-1_NXP | U1, U2, U4, U5, U6, U7 |
| 5 | 22uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C39, C40, C49, C52, C53 |
| 5 | 330 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R1, R2, R3, R21, R22 |
| 5 | MountingHole_Pad | DarkMagic:MountingHole_3.2mm_M3_MOD | H1, H3, H4, H5, H6 |
| 4 | 10uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C3, C4, C32, C38 |
| 4 | 49.9 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R89, R90, R91, R92 |
| 4 | MMBT3904-AQ | DarkMagic:SOT95P240X120-3N | IC3, IC4, IC10, IC11 |
| 3 | 4.7k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R31, R54, R94 |
| 3 | 4.7uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C5, C7, C11 |
| 3 | SN74LVC1G125DBVT | DarkMAgic:SOT95P280X145-5N | IC12, IC13, IC15 |
| 2 | 100k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R86, R87 |
| 2 | 1M | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R75, R76 |
| 2 | 1N4148W | Diode_SMD:D_SOD-123 | D3, D4 |
| 2 | 2.55K | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R67, R68 |
| 2 | 4.7K | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R6, R7 |
| 2 | 5.1k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R15, R16 |
| 2 | 5747842-2 | DarkMAgic:57478422 | J3, J6 |
| 2 | B130-13-F | DarkMagic:DIOM5226X230N | D1, D5 |
| 2 | B3U-1000P-B | DarkMagic:B3U1000PB | S1, S2 |
| 2 | B57442V5103J062 | DarkMagic:THRMC2012X130N | RT1, RT2 |
| 2 | HSMG-C170 | DarkMagic:LEDC2012X80N | 3V1, STATUS1 |
| 2 | HSMN-C170 | DarkMagic:LEDC2012X90N | IRQ1, SCLK1 |
| 2 | Screw_Terminal_01x02 | TerminalBlock_Ningbo-Kagnex:TerminalBlock_Ningbo-Kagnex_HB9500M_1x02_P9.5mm | J4, J5 |
| 1 | 1.5k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R53 |
| 1 | 12.4k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R18 |
| 1 | 1206L075SLYR | Fuse:Fuse_1206_3216Metric | F3 |
| 1 | 171825-2 | DarkMagic:SHDR2W69P0X250_1X2_500X530X1040P | J7 |
| 1 | 1812L150_24MR | DarkMagic:1812L010DR | F2 |
| 1 | 1uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C48 |
| 1 | 22.1k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R82 |
| 1 | 220nF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C51 |
| 1 | 24.9k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R85 |
| 1 | 33uF | Capacitor_SMD:C_Elec_10x10.2 | C33 |
| 1 | 39pF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C54 |
| 1 | 47.5k | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R83 |
| 1 | 47uF | Capacitor_SMD:C_Elec_10x10.2 | C41 |
| 1 | 5PB1106PGGI8 | DarkMagic:SOP65P640X120-14N | IC1 |
| 1 | 680 | Resistor_SMD:R_0805_2012Metric_Pad1.20x1.40mm_HandSolder | R52 |
| 1 | 7447715003 | Inductor_SMD:L_12x12mm_H4.5mm | L1 |
| 1 | ASE-14.7456MHZ-LC-T | DarkMagic:ASE24576MHZLCT | Y2 |
| 1 | ASE-25.000MHZ-LC-T | DarkMagic:ASE24576MHZLCT | Y3 |
| 1 | CD74HC138QM96Q1 | footprints:D16 | U3 |
| 1 | CP2102N-A02-GQFN24 | DarkMagic:QFN50P400X400X80-25N-D | IC6 |
| 1 | Conn_01x04 | Connector_PinSocket_2.54mm:PinSocket_1x04_P2.54mm_Vertical | J9 |
| 1 | ESP32-WROOM-32UE-N16 | DarkMagic:ESP32WROOM32UEN16 | IC2 |
| 1 | HSMA-C170 | DarkMagic:LEDC2012X90N | 5V1 |
| 1 | HSMC-C170 | DarkMagic:LEDC2012X90N | 12V1 |
| 1 | LM393DR | DarkMagic:SOIC127P600X175-8N | IC17 |
| 1 | LM3940IMP-3.3_NOPB | DarkMAgic:SOT230P700X180-4N | IC14 |
| 1 | LMR33640ADDAR | DarkMagic:SOIC127P600X170-9N | IC8 |
| 1 | NANOSMDC050F_13.2-2 | DarkMagic:FUSC3216X74N | F1 |
| 1 | SMBJ26A | Diode_SMD:D_SMA | D2 |
| 1 | SQ2319ADS-T1_BE3 | DarkMagic:SOT95P237X112-3N | Q1 |
| 1 | SQ2348ES-T1_BE3 | DarkMagic:SOT95P237X112-3N | Q2 |
| 1 | TMJ0026ABNL | DarkMagic:TMJ0026ABNL | J2 |
| 1 | USBLC6-2SC6 | DarkMagic:SOT95P280X145-6N | IC7 |
| 1 | USB_C_Receptacle_USB2.0_16P | Connector_USB:USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_Horizontal | J1 |
| 1 | W5500 | DarkMAgic:QFP50P900X900X160-48N | IC5 |
Questions
How big is the DarkMagic PCB?
It measures 157 × 73 mm and has 6 copper layers, 1.57 mm thick.
What parts does the DarkMagic use?
212 parts, built around the ESP32-WROOM-32UE-N16, 5PB1106PGGI8, CP2102N-A02-GQFN24 and CD74HC138QM96Q1. 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 DarkMagic KiCad files?
From the whbCool/HolyGrail repository on GitHub, at the commit this page was made from: the board is PCB/DarkMagic.kicad_pcb and its schematic PCB/DarkMagic.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the DarkMagic design in my own project?
Its repository states no licence, so its author keeps all rights: ask whbCool before reusing the design.
Similar boards
- 4 layers63.5 × 53.3 mm

- 2 layers53.2 × 98.4 mm

- 2 layers31.2 × 22.1 mm

SPItoCAN
PhoenixRacing/Sensing22_23
A variety of KiCAD schematics, PCBs, and other fun stuff from your favorite offroad vehicle team at Olin Collge of Engineering
30 parts - 2 layers214 × 70 mm

Mux2Schematic
hrl-labs-clinic-24-25/hardware-prototyping
Mostly arduino code for simulating the output of the FPGA. Mainly used to control DACs with SPI.
105 parts1 - 4 layers18 × 30.7 mm

FlatPort
fire-h0und/FlatPort
Teensy 2.0 Risc-V dropin Arduino promicro lookalike with special features
40 partsMIT - 8 layers125 × 80 mm

SONATA ONE
newaetech/sonata-pcb
Design files and associated documentation for Sonata PCB, part of the Sunburst Project
470 parts22Apache-2.0 - 8 layers134.5 × 107.2 mm

- 4 layers70.8 × 66.5 mm

Nic2
oxidecomputer/hw-gimletlet-nic
Daughterboard for the Gimletlet 2 which uses a KSZ8463 to break out two ethernet (RJ-45) connectors. In active use for Hubris development.
53 partsMPL-2.0