I’ll inspect the current PCB placement, then rearrange the switches/encoders on the 19.05 mm grid and move bottom-side electronics into assembly-friendly locations.
Switches: 14 MX-compatible footprints with Kailh MX hot-swap sockets and 5-pin MX support.
Encoders: 2× standard EC11 through-hole rotary encoders with integrated push buttons included in the matrix. User approved substituting a standard EC11 footprint for EC11H 7CE20P1ZY15F7.
Indicators: 4× 0805 LEDs with individual current-limiting resistors.
Protection/debug: USB ESD protection if route-accessible, reset/boot access, SWD pads, optional test pads.
Mechanical: 4× M3 mounting holes, switch/encoder silkscreen labels, USB direction and revision text.
Interfaces and Connections
Table
Function
RP2040 GPIO
COL0
GP0
COL1
GP1
COL2
GP2
COL3
GP3
ROW0
GP4
ROW1
GP5
ROW2
GP6
ROW3
GP7
Encoder 1 A/B
GP8 / GP9
Encoder 2 A/B
GP10 / GP11
LED1 / LED2 / LED3 / LED4
GP14 / GP15 / GP26 / GP27
Reserved
GP12, GP13, GP28
Power and Runtime Expectations
USB-powered through RP2040-Zero. Logic and LED drive are 3.3 V. No battery or charging expected.
Manufacturing and Assembly Expectations
PCB fabrication target: JLCPCB, 2-layer FR4, 1.6 mm.
Support QMK, VIA, Vial, and KMK. Use the specified GPIO map and matrix positions. Encoder push buttons behave as matrix keys.
Physical Design Expectations
19.05 mm switch/encoder center spacing. Four corner M3 mounting holes. USB-C connector aligned to enclosure wall. Board sized around the 4×4 grid with margin for LEDs, mounting holes, and USB access.
Bottom-side electronic assembly to keep top visually clean.
User approved using a standard EC11 footprint instead of the exact EC11H 7CE20P1ZY15F7 footprint because the exact part was unavailable in the Flux library.
Assumptions
RP2040-Zero module includes USB-C connector, onboard regulator, flash, crystal, and required module-level decoupling.
Standard EC11 encoder footprint compatibility must be verified against the actual encoder purchased before ordering PCBs.
Change Notes
Initial project specification created from user requirements.
Updated encoder requirement to standard EC11 footprint per user instruction.
Project Overview
Intended Use
What the Device Should Do
Main Features
System Architecture
Hardware Subsystems
Interfaces and Connections
Power and Runtime Expectations
Manufacturing and Assembly Expectations
Firmware-Relevant Hardware Requirements
Physical Design Expectations
Important Design Decisions
Assumptions
Change Notes
Reviews
Documents
Project Specification — RP2040 Macropad
Assets
Assets are files uploaded to this project which can be used in various ways.
Compact 4×4 ortholinear custom macropad with RP2040-Zero, 14 MX hot-swap positions, 2 EC11 encoders, 4 layer LEDs, USB protection, and JLCPCB-compatible 2-layer PCB layout for a 3D-printed enclosure.
Properties
Properties describe core aspects of the project.
Pricing & Availability
Distributor
Qty 1
Arrow
$0.42–$1.70
Digi-Key
$10.18–$10.84
HQonline
$4.41–$4.50
LCSC
$6.32–$8.62
Mouser
$11.51–$12.22
TME
$0.53
Verical
$7.89–$10.95
Controls
Welcome 👋
Flux helps you build PCBs faster with an AI teammate!
Create your account to collaborate, stay updated, fork your own version, and get instant answers from our AI agent.