Skip to the content
4 layers48.1 × 46.8 mmRp2040-keypad, the printed circuit board in 3D

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

3

README

README.md

RP2040-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

  1. Place both of the switch from the top case. It should hold the switches well
  2. Align the PCB with the switch. Now should be the right time to solder the switches to the PCB
  3. Insert all the hex nuts to the bottom case
  4. Place the bottom case aligned with the top case and press until the PCB sits on the bottom case
  5. Screw all the M2 screws to secure the case

Parts

36
QtyValueFootprintReferences
11100nCapacitor_SMD:C_0402_1005MetricC3, C4, C6, C7, C8, C9, C10, C11, C12, C13, C15
4MountingHoleMountingHole:MountingHole_2.2mm_M2_DIN965H1, H2, H3, H4
21kResistor_SMD:R_0402_1005MetricR5, R6
21uCapacitor_SMD:C_0402_1005MetricC5, C14
222pCapacitor_SMD:C_0402_1005MetricC16, C17
222uCapacitor_SMD:C_0603_1608MetricC1, C2
227R4Resistor_SMD:R_0402_1005MetricR3, R4
25k1Resistor_SMD:R_0402_1005MetricR1, R2
2SW_PushSwitch_Keyboard_Cherry_MX:SW_Cherry_MX_PCB_1.00uSW1, SW2
10Jumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP1
112MhzCrystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U1
1Conn_01x04_MaleConnector_Wire:SolderWire-0.1sqmm_1x04_P3.6mm_D0.4mm_OD1mmJ2
1RP2040Package_DFN_QFN:QFN-56-1EP_7x7mm_P0.4mm_EP3.2x3.2mmU2
1USB_C_Receptacle_USB2.0Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J1
1W25Q128JVSPackage_SO:SOIC-8_5.23x5.23mm_P1.27mmU3

Similar boards

  • 2 layers78 × 60 mmIce viz, the printed circuit board in 3D

    Ice viz

    muni-works/vcad

    BRep CAD kernel in Rust/WASM

    44 parts442Apache-2.0
  • 4 layers72.6 × 170 mmOpenJBOD RP2040, the printed circuit board in 3D

    OpenJBOD RP2040

    OpenJBOD/rp2040

    This repository contains the hardware design files OpenJBOD RP2040 Baseboard.

    129 parts87CERN-OHL-P-2.0
  • 2 layers352.5 × 120 mmPyKey87, the printed circuit board in 3D

    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 mmAsac fc rev a, the printed circuit board in 3D

    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 mmWii mainboard, the printed circuit board in 3D

    Wii mainboard

    xtreme8000/picoAVE

    Wii HDMI mod using a rp2040 mcu

    38 parts49GPL-3.0
  • 2 layers144 × 98 mmRP2040 Board V1.0, the printed circuit board in 3D

    RP2040 Board V1.0

    MReavley/CyberSliceKeyboard

    42/36 key ergo split keyboard using a RP2040

    92 parts30MIT
  • 4 layers44.2 × 84.5 mmBolt, the printed circuit board in 3D

    Bolt

    tjclement/bolt

    Documentation for the Curious Bolt hardware hacking multi-tool

    78 parts16MIT

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.