Skip to the content
4 layers152.4 × 63.5 mmKrecek, the printed circuit board in 3D

bash # Prepare build for Krecek cmake -B build src -G Ninja

Size
152.4 × 63.5 mm
Copper layers
4
Thickness
1.6 mm
Parts
166
Nets
167
Pads
661
Tracks, vias
1,545, 349
Pours
18
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
5 Nov 2023
Updated
10 Sep 2026

Overview

Krecek is an open-source printed circuit board by mordae, from the mordae/krecek repository on GitHub, published under the Unlicense licence. It is a 4-layer board of 152.4 × 63.5 mm with 166 parts on 167 nets, routed with 1,545 tracks and 349 vias.

It is built around the RP2040, CC1101RGPR and NAU88C22YG, with the TSC2046EIRGVR, W25Q128JVSIQ and AMS1117-3.3 among its other parts. Its parts include 73 capacitors, 42 resistors, 14 ICs, 7 diodes and 6 connectors. It belongs with the RP2040 boards of this library.

Main components

12

README

README.md

Krecek

Combined Firmware Image

Every game gets 512 KiB.

IDGameOffset
0Menu0x10000000
1Cerviiik0x10080000
2Pong0x10100000
3Krectris0x10180000
4Minesweeper0x10200000
5Pacman0x10280000
6Peckovana0x10300000
7Platform0x10380000
8Tecka0x10400000
9Janek0x10480000
10Kalkulacka0x10500000
11Scoundrel0x10580000
12Smileyrace0x10600000
13Arnost0x10680000
14Deep0x10700000
15Experiment0x10780000
16MP Cerviiik0x10800000
17Snake0x10880000
18Krecdoom0x10900000
19Minevox0x10980000
20Puntog0x10a00000
21MP Pong0x10a80000
220x10b00000
230x10b80000
240x10c00000
250x10c80000
260x10d00000
270x10d80000
280x10e00000
290x10e80000
390x10f00000
31-- saves --0x10f80000

Development on Krecek

bash
# Prepare build for Krecek
cmake -B build src -G Ninja

# Build all games for Krecek
cmake --build build

# Load the game we want
picotool load -f build/pong/pong.uf2

# Connect to virtual serial line for debugging messages
minicom -c on -D /dev/ttyACM0

Development on PC

bash
# Install dependencies
sudo dnf install SDL2-devel SDL2_Pango-devel pulseaudio-libs-devel libasan

# Prepare the project in Debug mode with address sanitizer
cmake -B build/host host -G Ninja -DCMAKE_BUILD_TYPE=Debug

# Build the project for host
cmake --build build/host

# Ask address sanitizer to ignore allocation issues.
export ASAN_OPTIONS='detect_leaks=0'

# Run a game
build/host/pong/pong

Git

bash
# Review modified files
git status

# Reset changes to a file we don't want to commit
git checkout path/to/file

# Add all changes
git add .

# Commit them
git commit -m 'pong: changed paddle colors'

# Pull and rebase our changes on top of what others did
git pull --rebase

# Push our changes
git push

Add New Game

  • Copy both src/game and host/game.
  • Rename game in src/game/CMakeLists.txt and host/game/CMakeLists.txt.
  • Adjust src/CMakeLists.txt and host/CMakeLists.txt.
  • Create symbolic link to assets, if needed:
    bash
    cd host/game
    ln -svf ../../src/game/assets

Parts

166
QtyValueFootprintReferences
3510uCapacitor_SMD:C_0402_1005MetricC1, C2, C3, C10, C11, C12, C13, C14, C15, C16, C17, C18, C19, C20, C21, C22 +19
12100nCapacitor_SMD:C_0402_1005MetricC23, C34, C39, C63, C65, C66, C67, C68, C69, C70, C71, C72
91uCapacitor_SMD:C_0603_1608MetricC26, C27, C28, C29, C30, C31, C32, C33, C37
51MResistor_SMD:R_0402_1005MetricR4, R5, R17, R18, R19
4100kResistor_SMD:R_0402_1005MetricR20, R22, R28, R29
41kResistor_SMD:R_0402_1005MetricR3, R7, R8, R33
41uCapacitor_SMD:C_0402_1005MetricC44, C47, C49, C58
4200kResistor_SMD:R_0402_1005MetricR24, R25, R26, R27
4MountingHoleMountingHole:MountingHole_2.2mm_M2H1, H3, H5, H7
4ToolingHoleKrecek:ToolingHoleH2, H4, H6, H8
31Resistor_SMD:R_1206_3216MetricR31, R32, R34
33.3kResistor_SMD:R_0402_1005MetricR37, R39, R41
3AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U4, U7, U8
2100pCapacitor_SMD:C_0402_1005MetricC45, C46
2100uCapacitor_Tantalum_SMD:CP_EIA-3528-21_Kemet-BC38, C73
210kResistor_SMD:R_0402_1005MetricR13, R42
227Resistor_SMD:R_0603_1608MetricR1, R2
233pCapacitor_SMD:C_0402_1005MetricC24, C25
24.7kResistor_SMD:R_0402_1005MetricR11, R14
24.7uCapacitor_SMD:C_0402_1005MetricC52, C53
24.7uCapacitor_SMD:C_0603_1608MetricC35, C36
247uCapacitor_SMD:C_0805_2012MetricC48, C50
25.1kResistor_SMD:R_0402_1005MetricR15, R16
2AO3400APackage_TO_SOT_SMD:SOT-23Q3, Q5
2AO3401APackage_TO_SOT_SMD:SOT-23Q1, Q2
2BAT54CPackage_TO_SOT_SMD:SOT-23D4, D5
2IR333LED_THT:LED_D5.0mm_Horizontal_O1.27mm_Z3.0mm_ClearD6, D7
2RP2040Package_DFN_QFN:QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mmU1, U2
2~Krecek:RubberButtonSW2, SW3
1100Resistor_SMD:R_0402_1005MetricR23
110pCapacitor_SMD:C_0402_1005MetricC40
112MHzLCSC:OSC-SMD_4P-L3.2-W2.5-BLY1
1150kResistor_SMD:R_0603_1608MetricR21
12.2kResistor_SMD:R_0402_1005MetricR35
12.2uInductor_SMD:L_1008_2520MetricL1
12kResistor_SMD:R_0402_1005MetricR10
1330kResistor_SMD:R_0603_1608MetricR30
133kResistor_SMD:R_0402_1005MetricR6
139kResistor_SMD:R_0603_1608MetricR12
1560Resistor_SMD:R_0603_1608MetricR9
156kResistor_SMD:R_0603_1608MetricR36
1AUXConnector_PinHeader_2.54mm:PinHeader_2x08_P2.54mm_VerticalJ2
1AntennaLCSC:ANT-TH_T14-433MAE1
1BQ24040DSQRLCSC:WSON-10_L2.0-W2.0-P0.40-BL-EPU6
1BW21S5011A01TFLCSC:FILTER-SMD_4P-L2.0-W1.2-BL-1U14
1CC1101RGPRLCSC:QFN-20_L4.0-W4.0-P0.5-TL-EPU11
1DAPConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ1
1FPC-05F-18PH20LCSC:FPC-SMD_18P-P0.50_FPC-05F-18PH20FPC1
1FS-1540LCSC:BUZ-SMD_5P-L15.0-W15.0-P13.7-BLSPK1
1FlatJoyConKrecek:FlatJoyConU12
1JST-PH-2PLCSC:CONN-TH-2P-P2.00_S2B-PH-KL-LF-SNU5
1Micro_SD_Card_Det1LCSC:TF-SMD_TF-012J5
1NAU88C22YGLCSC:QFN-32_L5.0-W5.0-P0.50-BL-EP2.7U10
1PJ-320DLCSC:AUDIO-SMD_PJ-320DCN1
1PT334LED_THT:LED_D5.0mm_Horizontal_O1.27mm_Z3.0mm_IRBlackQ4
1PanelKrecek:PanelTFT1
1RDC506002AKrecek:bracket_LeftR38
1RDC506002AKrecek:bracket_RightR40
1SS54Diode_SMD:D_SMAD3
1SW_PushLCSC:SW-SMD_4P-L5.1-W5.1-P3.70-LS6.5-TL-2SW1
1TM-2023LCSC:SW-SMD_TM-2023-1SW5
1TPS63000Package_SON:Texas_DRC0010J_ThermalViasU9
1TSC2046EIRGVRLCSC:VQFN-16_L4.0-W4.0-P0.65-TL-EP2.2U13
1U.FLConnector_Coaxial:U.FL_Hirose_U.FL-R-SMT-1_VerticalJ4
1USB_C_Receptacle_USB2.0LCSC:USB-C-SMD_TYPEC-304J-BCP16J3
1W25Q128JVSPackage_SO:SOIC-8_5.23x5.23mm_P1.27mmU3
1redLED_SMD:LED_0603_1608MetricD2
1yellowLED_SMD:LED_0603_1608MetricD1
1~Krecek:ABXYSW4

More from mordae/krecek

1
  • 2 layers10.1 × 29.1 mmFpc adapter, the printed circuit board in 3D

    Fpc adapter

    mordae/krecek

    bash # Prepare build for Krecek cmake -B build src -G Ninja

    2 parts2Unlicense

Similar boards

  • 4 layers74.1 × 130 mmBadge secsea V1 1, the printed circuit board in 3D

    Badge secsea V1 1

    cchaloin/HIP_SecSea

    Hack In Provence badge for SecSea

    132 parts
  • 2 layers25 × 50 mmPapajbadge, the printed circuit board in 3D

    Papajbadge

    rough-rat/papajbadge

    habemus lāminam!

    56 parts1
  • 4 layers50.8 × 81.3 mmXiaozhi with ken interface, the printed circuit board in 3D

    Xiaozhi with ken interface

    kawashimaken/general-purpose-ken-interface

    A modular, multi-MCU prototyping platform with a unified pin-assignment standard and horizontally-stackable expansion boards.

    14 parts3MIT
  • 2 layers70 × 122.3 mmILI9341 ESP32 GBC, the printed circuit board in 3D

    ILI9341 ESP32 GBC

    theBrutzler/ESP32_GBC_RETROFIT

    A retrofit board with an esp32 for a gameboy color case

    124 parts9
  • 4 layers83.4 × 42.1 mmH C3-ulp29, the printed circuit board in 3D

    H C3-ulp29

    martinberlin/H-C3-029-eink

    This is a joint project between Larry Bank and Fasani Corp with the purpouse to make an easy and unexpensive nRF52 BLE badge with a SPI 2.9", a QWIIC connector, and on board RTC

    54 parts5MIT
  • 2 layers87.7 × 135.7 mmDeauthBottom, the printed circuit board in 3D

    DeauthBottom

    wrickert/RMABadge

    Repo for ongoing Badge work

    61 parts4
  • 2 layers25 × 30 mmScreenBoard, the printed circuit board in 3D

    ScreenBoard

    KisonHe/HoloCube-PCB

    17 partsGPL-2.0
  • 4 layers158 × 68 mmDronePCB, the printed circuit board in 3D

    DronePCB

    nickzentmayer/EE300W-R6Drone

    Repository containing all code and CAD design files for EE300W project SP26

    167 parts

Questions

How big is the Krecek PCB?

It measures 152.4 × 63.5 mm and has 4 copper layers, 1.6 mm thick.

What parts does the Krecek use?

166 parts, built around the RP2040, CC1101RGPR, NAU88C22YG and TSC2046EIRGVR. 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 Krecek KiCad files?

From the mordae/krecek repository on GitHub, at the commit this page was made from: the board is hw/krecek/krecek.kicad_pcb and its schematic hw/fpc-adapter/fpc-adapter.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Krecek design in my own project?

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