

Rp2040-keypad
This project was made as a learning experience on how to design a MCU-based PCB with minimum components. It is a 2-key Keypad based on Raspberry RP2040 MCU.
- Size
- 48.1 × 46.8 mm
- Copper layers
- 4
- Thickness
- 1.61 mm
- Parts
- 36
- Nets
- 56
- Pads
- 169
- Tracks, vias
- 299, 58
- Pours
- 2
- Routed
- Yes
- KiCad
- KiCad 6 (file 20211014)
- Created
- 11 Sep 2022
- Updated
- 7 Oct 2022
Overview
Rp2040-keypad is an open-source printed circuit board by adrianuseb, from the adrianuseb/rp2040-keypad repository on GitHub. It is a 4-layer board of 48.1 × 46.8 mm with 36 parts on 56 nets, routed with 299 tracks and 58 vias.
It is built around the RP2040, W25Q128JVSIQ and AMS1117-3.3. Its parts include 17 capacitors, 6 resistors, 3 ICs, 2 connectors and 2 switches. It belongs with the keyboards and input boards and the RP2040 boards of this library.
Main components
3RP2040
LQFN-56(7x7)12bit 133MHz 30 LQFN-56(7x7) Microcontrollers (MCU/MPU/SOC) ROHSRaspberry PiMicrocontrollers (MCU/MPU/SOC)W25Q128JVSIQ
SOIC-8-208mil-40℃~+85℃ 100,000 cycles 120ms@(32KB) 128Mbit 133MHz 1uA 2.7V~3.6V 20 Years 3ms Power-on reset、Hardware write protection、Software write protection、Write enable latch、Absolute write protection SPI SOIC-8-208mil NOR FLASH ROHSWinbondNOR FLASHAMS1117-3.3
SOT-223-40℃~+125℃ 0.003%Vout 1 1.1V@(800mA) 15V 1A 3.3V 5mA 72dB@(120Hz) Fixed Over Current Protection、Short Circuit Protection、Thermal shutdown Positive SOT-223 Voltage Regulators - Linear, Low Drop Out (LDO) Regulators ROHSAdvanced Monolithic SystemsVoltage Regulators - Linear, Low Drop Out (LDO) Regulators
README
README.mdRP2040-keypad
Table of Contents
General Information
This project was made as a learning experience on how to design a MCU-based PCB with minimum components. It is a 2-key Keypad based on Raspberry RP2040 MCU. It doesn't have any button to enter bootmode, and no LED indicator. Simplicity was the main target.
Design
This board was designed with KiCad. It is a 4 layer board with signal on the outer layer and power on the inner layer. It has serial wire pin-hole to debugging and a USB-C header for connection to the host and power. The switches used for the key are mechanical switches and they are connected to GPIO6 and GPIO7. The other end of the switch connected directly to ground. For programming the BOOT jumper pad must be shorted before connecting the USB.
Ordering
Ordering and assembly can be done easily at JLCPCB. Manufacturing_JLCPCB provide all the necessary files like Gerber, BOM, and components placement for ordering the board.
Flashing firmware
Flashing firmware with RP2040 IC is a very simple task. Just short the BOOT jumper while connecting the USB to PC. The board should appear as a mass storage device on the host PC. Then just copy the .uf2 file there and the board should reset itself. The firmware is written with z and x as the key.
Case
There is also a simple case for 3D printing. The following components are also required for the case:
- 4 M2 14mm
- 4 M2 hex nuts
Assembly
- Place both of the switch from the top case. It should hold the switches well
- Align the PCB with the switch. Now should be the right time to solder the switches to the PCB
- Insert all the hex nuts to the bottom case
- Place the bottom case aligned with the top case and press until the PCB sits on the bottom case
- Screw all the M2 screws to secure the case
Parts
36| Qty | Value | Footprint | References |
|---|---|---|---|
| 11 | 100n | Capacitor_SMD:C_0402_1005Metric | C3, C4, C6, C7, C8, C9, C10, C11, C12, C13, C15 |
| 4 | MountingHole | MountingHole:MountingHole_2.2mm_M2_DIN965 | H1, H2, H3, H4 |
| 2 | 1k | Resistor_SMD:R_0402_1005Metric | R5, R6 |
| 2 | 1u | Capacitor_SMD:C_0402_1005Metric | C5, C14 |
| 2 | 22p | Capacitor_SMD:C_0402_1005Metric | C16, C17 |
| 2 | 22u | Capacitor_SMD:C_0603_1608Metric | C1, C2 |
| 2 | 27R4 | Resistor_SMD:R_0402_1005Metric | R3, R4 |
| 2 | 5k1 | Resistor_SMD:R_0402_1005Metric | R1, R2 |
| 2 | SW_Push | Switch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00u | SW1, SW2 |
| 1 | 0 | Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mm | JP1 |
| 1 | 12Mhz | Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mm | Y1 |
| 1 | AMS1117-3.3 | Package_TO_SOT_SMD:SOT-223-3_TabPin2 | U1 |
| 1 | Conn_01x04_Male | Connector_Wire:SolderWire-0.1sqmm_1x04_P3.6mm_D0.4mm_OD1mm | J2 |
| 1 | RP2040 | Package_DFN_QFN:QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mm | U2 |
| 1 | USB_C_Receptacle_USB2.0 | Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J1 |
| 1 | W25Q128JVS | Package_SO:SOIC-8_5.23x5.23mm_P1.27mm | U3 |
Similar boards
- 2 layers78 × 60 mm

- 4 layers72.6 × 170 mm

OpenJBOD RP2040
OpenJBOD/rp2040
This repository contains the hardware design files OpenJBOD RP2040 Baseboard.
129 parts87CERN-OHL-P-2.0 - 2 layers352.5 × 120 mm

PyKey87
jpconstantineau/PyKey60
The PyKey60 is a custom programmable mechanical keyboard with a standard ANSI 60% keyboard layout compatible with any cases made for the GH60. The PyKey60 uses mechanical switches (Cherry MX type).
310 parts57 - 2 layers36 × 43 mm

Asac fc rev a
victorhook/asac-fc
asac fc is an rp2040 based flight controller made for FPV drone flying
119 parts52GPL-3.0 - 2 layers55.4 × 34.5 mm

- 2 layers144 × 98 mm

RP2040 Board V1.0
MReavley/CyberSliceKeyboard
42/36 key ergo split keyboard using a RP2040
92 parts30MIT - 4 layers44.2 × 84.5 mm

- 2 layers95 × 67 mm

1e3c0a280b22034a487261aa2451d276e8631e8a0f44761d6a49a571b81d7071
autonomous-ai/autonomous-circuit
Chat with AI, get a verified PCB and a fab packet you can order.
51 parts14MIT
Questions
How big is the Rp2040-keypad PCB?
It measures 48.1 × 46.8 mm and has 4 copper layers, 1.61 mm thick.
What parts does the Rp2040-keypad use?
36 parts, built around the RP2040, W25Q128JVSIQ and AMS1117-3.3. 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 Rp2040-keypad KiCad files?
From the adrianuseb/rp2040-keypad repository on GitHub, at the commit this page was made from: the board is KiCad/rp2040-keypad.kicad_pcb and its schematic KiCad/rp2040-keypad.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Rp2040-keypad design in my own project?
Its repository states no licence, so its author keeps all rights: ask adrianuseb before reusing the design.