

2040-KNOB
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
4W25Q16JVSSIQ
SOIC-8-208mil-40℃~+85℃ 100,000 cycles 10uA 133MHz 16Mbit 2.7V~3.6V 20 Years 3ms SPI SOIC-8-208mil NOR FLASH ROHSWinbondNOR FLASHAP2112K-3.3TRG1
SOT-25-5-40℃~+85℃@(Ta) 1 250mV@(600mA) 3.3V 50uVrms 55uA 600mA 65dB@(1kHz) 6V Fixed Over Current Protection、Thermal Shutdown、Enable control Positive SOT-25-5 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSDiodes IncorporatedVoltage Regulators - Linear, Low Drop Out (LDO) RegulatorsMBR1020VL
SOD-123F-55℃~+125℃ 1 Independent 1A 20V 340mV@1A 45A 600uA@20V SOD-123F Schottky Diodes ROHSonsemiSchottky DiodesPEC11R-4215F-S0024
插件-30℃~+70℃ 10mA 24/24 5V Incremental Straight Two-phase output 插件 Rotary Encoders ROHSBournsRotary Encoders
README
README.mdSimple-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| Qty | Value | Footprint | References |
|---|---|---|---|
| 9 | 100n | Capacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C3, C4, C5, C6, C7, C8, C11, C12, C15 |
| 4 | 1k | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R12, R13, R14, R15 |
| 4 | MountingHole | MountingHole:MountingHole_3.2mm_M3_ISO7380_Pad | H1, H2, H3, H4 |
| 3 | 10k | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R4, R5, R11 |
| 2 | 1uF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C9, C10 |
| 2 | 1uF | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C1, C2 |
| 2 | 27.4 | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R7, R10 |
| 2 | 470 | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R6, R16 |
| 2 | 5.1k | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R2, R3 |
| 1 | 12MHz | 2040KNOB-Footprints:XTAL_ABLS7M-12.000MHZ-B-2-T | Y1 |
| 1 | 1M | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R1 |
| 1 | 1V1 | TestPoint:TestPoint_Pad_D1.5mm | TP2 |
| 1 | 1k | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R9 |
| 1 | 27pF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C14 |
| 1 | 29pF | Capacitor_SMD:C_0805_2012Metric_Pad1.18x1.45mm_HandSolder | C13 |
| 1 | 3V3 | TestPoint:TestPoint_Pad_D1.5mm | TP3 |
| 1 | 5V | TestPoint:TestPoint_Pad_D1.5mm | TP4 |
| 1 | AP2112K-3.3TRG1 | 2040KNOB-Footprints:SOT95P285X140-5N | U1 |
| 1 | BOOT_SEL | Button_Switch_THT:SW_PUSH_6mm | SW1 |
| 1 | DEBUG | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J2 |
| 1 | DNP | Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R8 |
| 1 | GND | TestPoint:TestPoint_Pad_D1.5mm | TP5 |
| 1 | LED_25 | LED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolder | D2 |
| 1 | MBR1020VL | Diode_SMD:D_SOD-123F | D1 |
| 1 | PEC11R-4215F-S0024 | 2040KNOB-Footprints:XDCR_PEC11R-4215F-S0024 | MT1 |
| 1 | PWR | LED_SMD:LED_1206_3216Metric_Pad1.42x1.75mm_HandSolder | D3 |
| 1 | RUN | TestPoint:TestPoint_Pad_D1.5mm | TP1 |
| 1 | SC0914_13_ | 2040KNOB-Footprints:QFN40P700X700X90-57N | U2 |
| 1 | USB4085-GF-A_REVB | USB4085_GF_A:GCT_USB4085-GF-A_REVB | J1 |
| 1 | W25Q16JVSS | Package_SO:SOIC-8_5.23x5.23mm_P1.27mm | U3 |
Similar boards
- 2 layers21 × 49.5 mm

- 4 layers73 × 41 mm

- 4 layers26 × 57.1 mm

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 mm

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 mm

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 mm

- 4 layers93.3 × 155.8 mm

- 2 layers25.4 × 54.5 mm

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.