Skip to the content
2 layers50 × 50 mm2040-KNOB, the printed circuit board in 3D

PCB Design for a single rotary encoder HID, based a RP2040 microcontroller.

Size
50 × 50 mm
Copper layers
2
Thickness
1.6 mm
Parts
51
Nets
65
Pads
183
Tracks, vias
349, 55
Pours
1
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
14 Apr 2025
Updated
9 Jun 2025

Overview

2040-KNOB is an open-source printed circuit board by jacksonyann29, from the jacksonyann29/Simple-2040-knob repository on GitHub. It is a 2-layer board of 50 × 50 mm with 51 parts on 65 nets, routed with 349 tracks and 55 vias.

It is built around the W25Q16JVSSIQ, AP2112K-3.3TRG1 and MBR1020VL, with the PEC11R-4215F-S0024 among its other parts. Its parts include 16 resistors, 15 capacitors, 3 ICs, 3 diodes and 2 connectors.

Main components

4

README

README.md

Simple-2040-knob

PCB Design for a single rotary encoder HID, based on a RP2040 microcontroller.

About

The goal of this project was to get more practice designing PCBs by implementing a microcontroller directly on a PCB. The current iteration successfully works except for USB programming and communication. USB power works, and programming over the SWD pins also works demonstrating that the RP2040 and flash were correctly configured including the crystal oscillator (at least for the simple led blink code tested on the device).

Future Changes

  • Shorten the USB traces, use a surface mount usb port and double check impedance so USB communication will work.
  • Replace the crystal circuit with an external crystal oscillator IC which would hopefully be simpler to implement and more robust.
  • Add hardware debouncing to the encoder implementation.

Parts

51
QtyValueFootprintReferences
9100nCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC3, C4, C5, C6, C7, C8, C11, C12, C15
41kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR12, R13, R14, R15
4MountingHoleMountingHole:MountingHole_3.2mm_M3_ISO7380_PadH1, H2, H3, H4
310kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR4, R5, R11
21uFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC9, C10
21uFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC1, C2
227.4Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR7, R10
2470Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR6, R16
25.1kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR2, R3
112MHz2040KNOB-Footprints:XTAL_ABLS7M-12.000MHZ-B-2-TY1
11MResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR1
11V1TestPoint:TestPoint_Pad_D1.5mmTP2
11kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR9
127pFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC14
129pFCapacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolderC13
13V3TestPoint:TestPoint_Pad_D1.5mmTP3
15VTestPoint:TestPoint_Pad_D1.5mmTP4
1AP2112K-3.3TRG12040KNOB-Footprints:SOT95P285X140-5NU1
1BOOT_SELButton_Switch_THT:SW_PUSH_6mmSW1
1DEBUGConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ2
1DNPResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR8
1GNDTestPoint:TestPoint_Pad_D1.5mmTP5
1LED_25LED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolderD2
1MBR1020VLDiode_SMD:D_SOD-123FD1
1PEC11R-4215F-S00242040KNOB-Footprints:XDCR_PEC11R-4215F-S0024MT1
1PWRLED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolderD3
1RUNTestPoint:TestPoint_Pad_D1.5mmTP1
1SC0914_13_2040KNOB-Footprints:QFN40P700X700X90-57NU2
1USB4085-GF-A_REVBUSB4085_GF_A:GCT_USB4085-GF-A_REVBJ1
1W25Q16JVSSPackage_SO:SOIC-8_5.23x5.23mm_P1.27mmU3

Similar boards

  • 2 layers21 × 49.5 mmHackducky, the printed circuit board in 3D

    Hackducky

    hackclub/hackducky

    The hackclub themed USB rubber ducky ! - Check out hackducky

    51 parts33
  • 4 layers73 × 41 mmBadge, the printed circuit board in 3D

    Badge

    souptik-samanta/Pcb-Badge

    63 parts4MIT
  • 4 layers26 × 57.1 mmRS2040, the printed circuit board in 3D

    RS2040

    Gopinath-T-Z/RS2040-Development-board

    RP2040-based custom development board designed in KiCad (4-layer PCB).

    54 parts
  • 2 layers39.1 × 57.5 mmRasp pi pico, the printed circuit board in 3D

    Rasp pi pico

    Srushti-D-Hebbar/raspberry-pi-pico-development-board

    Custom Raspberry Pi Pico-compatible development board designed from scratch in KiCad 10 using the RP2040 microcontroller.

    50 partsMIT
  • 2 layers73 × 41 mmBadge, the printed circuit board in 3D

    Badge

    hackclub/reflow

    A YSWS for the northern hemisphere's summer and the aussie's winter. Run by @pmnlla, with love and loads of carrots.

    68 parts2
  • 2 layers91.2 × 56.1 mmPanel, the printed circuit board in 3D

    Panel

    bayeggex/Noin

    132 partsMIT
  • 4 layers93.3 × 155.8 mmKiCAD Keypad, the printed circuit board in 3D

    KiCAD Keypad

    EesaWithTheShot/Macropad

    72 parts
  • 2 layers25.4 × 54.5 mmRpi pico debugger shoe, the printed circuit board in 3D

    Rpi pico debugger shoe

    ShawnHymel/rpi-pico-debugger-shoe

    Stackable debugger board for the Raspberry Pi Pico. Solder long headers to this debugger board in order to connect the Pico to it.

    49 parts84

Questions

How big is the 2040-KNOB PCB?

It measures 50 × 50 mm and has 2 copper layers, 1.6 mm thick.

What parts does the 2040-KNOB use?

51 parts, built around the W25Q16JVSSIQ, AP2112K-3.3TRG1, MBR1020VL and PEC11R-4215F-S0024. 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 2040-KNOB KiCad files?

From the jacksonyann29/Simple-2040-knob repository on GitHub, at the commit this page was made from: the board is 2040-KNOB.kicad_pcb and its schematic 2040-KNOB.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the 2040-KNOB design in my own project?

Its repository states no licence, so its author keeps all rights: ask jacksonyann29 before reusing the design.