Flux USB-C Numeric Keypad


I replaced all 18 switches with the Flux library Cherry MX2A-LC3W Orange. The key centers, matrix connections, and every trace and via stayed unchanged. No firmware change is needed.
I verified that all 18 generic 3D models render and that the key legends remain visible. The final board check reported 0 DRC errors and 0 airwires.

BOM CSV


DesignatorQuantityElement UIDsPart UIDSpecificationConnection TypePart TypeDomainComplianceJLCPCB Part ClassOperating VoltageOperating TemperatureReliability Target (MTBF)RoleRole DetailsSoftwareConnector TypeConnector GenderConnector PitchConnector PositionsConnector RowsSensor TypeInterfaceDisplay TypeDisplay SizeDisplay ResolutionTouch TypeActuator TypeMassRated TorqueGear RatioPeak TorqueStall TorqueHolding TorqueRated SpeedNo-Load SpeedMax RPMKVTorque ConstantStall CurrentNo-Load CurrentPhase ResistancePhase InductanceStep AngleShaft DiameterHub DiameterDimensionsMounting PatternPropeller RangePropeller DiameterPropeller PitchBlade CountRotation DirectionMating ConnectorPerformance Data3D Model SourceFrame SizeFastener TypeThread SizeFastener LengthHead TypeDrive TypeMaterialMechanical TypePower RequirementsConnectivityHuman InterfaceManufacturing Quantity TargetManufacturer Part NumberLCSC Part NumberDigi-Key Part NumberMouser Part NumberArrow Part NumberVerical Part NumberTME Part NumberRobotShop Part NumberHQonline Part NumberMcMaster-Carr Part NumberMISUMI Part NumberJLCMC Part NumberAllow SubstitutesManufacturer NamePreferred SuppliersDatasheet URLMachine Datasheet URLImplementation DetailsLicensePackage or Case CodePin TypeVoltageVoltage RatingForward VoltageReverse VoltageMax Reverse VoltageDiode TypeMountIntegrated Circuit TypeBreakdown VoltageThreshold VoltageMax Output VoltageMin Output VoltageInitial Voltage on ResetResistanceResistor TypeGate ResistanceOn ResistanceOff ResistanceToleranceCapacitanceCapacitor TypePowerPower RatingCurrentMax CurrentDesired Temperature RiseCurrent RatingLeakage CurrentSaturation CurrentInitial Current on ResetTrigger CurrentHolding CurrentFrequencyLogic FunctionInductanceInductor ShieldingInductor TypeBetaDrain to Source VoltageContinuous Drain CurrentTransistor TypeGainCoupling CoefficientRatioReference Design URLPricePurchase UrlProduct Info UrlProduct Image UrlSubstitute Manufacturer Part NumberKiCAD Library ReferenceExclude from PCBInterconnectControlled ImpedanceControlled Impedance TolerancePN Skew MaxPair to Pair Skew MaxPin DelayControlled Impedance PairBus GroupPair RoleActive LevelPin RoleBus TypeSymbol StyleStandard SymbolSymbol SizeNet TypeDesignator PrefixDesign NoteFunctional Group
D1,D10,D11,D12,D13,D14,D15,D16,D17,D18,D2,D3,D4,D5,D6,D7,D8,D91802bdad29-0b6c-47a3-bfd3-5dfbf094e645,1dac107a-45ee-4795-8d88-c7faa25e1a37,21d2816d-0be4-49ab-87ff-35a89127da66,27a1e82c-a182-427b-a974-531611d4723a,3297ea94-56e1-4c77-af69-3848349da827,42ca87af-ddef-4934-a156-259a7444051f,5b5f266b-1306-4f8e-917a-81d02c2e29a9,5e33ddf2-48e4-4473-ab76-4dc3e256d3ca,6e9ed36a-6a2c-4e49-8e5d-616012a7e3fd,76675f1b-7431-44f2-89ad-5e334713ffa0,87ba94ab-ed8e-4faa-8e76-a36f5a1407b6,8acdc6fa-92fc-4785-b614-2dbb38919842,9deda18f-d588-4c60-bebe-1327ac847b4f,ac0b6f54-7766-416d-b8b6-b1a0f43a4322,b980b0e6-e09a-480b-a41f-451350d32bf1,ba12de32-7d5f-4dad-961a-f682bd580d10,f17f0413-bb80-45af-8105-fc69af941a18,fea14069-53d8-4cd1-9d8d-4bb5923e771eca2bb1d8-5aef-4645-b20e-769fbe4f400dDiode, SOD-123DiodeIsolationSW11 6 key matrix isolation diode between ROW2 and COL2; prevents ghosting,SW12 + key matrix isolation diode between ROW2 and COL3; prevents ghosting,SW6 8 key matrix isolation diode between ROW1 and COL1; prevents ghosting,SW14 2 key matrix isolation diode between ROW3 and COL1; prevents ghosting,SW9 4 key matrix isolation diode between ROW2 and COL0; prevents ghosting,SW17 0 key matrix isolation diode between ROW4 and COL0; prevents ghosting,SW16 Enter key matrix isolation diode between ROW3 and COL3; prevents ghosting,SW5 7 key matrix isolation diode between ROW1 and COL0; prevents ghosting,SW8 - key matrix isolation diode between ROW1 and COL3; prevents ghosting,SW2 = key matrix isolation diode between ROW0 and COL1; prevents ghosting,SW13 1 key matrix isolation diode between ROW3 and COL0; prevents ghosting,SW7 9 key matrix isolation diode between ROW1 and COL2; prevents ghosting,SW18 . key matrix isolation diode between ROW4 and COL1; prevents ghosting,SW3 / key matrix isolation diode between ROW0 and COL2; prevents ghosting,SW4 * key matrix isolation diode between ROW0 and COL3; prevents ghosting,SW10 5 key matrix isolation diode between ROW2 and COL1; prevents ghosting,SW1 Clear key matrix isolation diode between ROW0 and COL0; prevents ghosting,SW15 3 key matrix isolation diode between ROW3 and COL2; prevents ghosting1N4148WC81598Shenzhen ST (Semtech Electronics)SOD-1231V75VRectifier150mADCritical: anode toward row, cathode toward column for active-low column scan with pulled-up rows.Key Matrix
SW1,SW10,SW11,SW12,SW13,SW14,SW15,SW16,SW17,SW18,SW2,SW3,SW4,SW5,SW6,SW7,SW8,SW9180a683f99-1f08-459e-b4d1-77b56b2502f2,13d04d7f-376c-443f-b3d7-d96d69e01b5d,1408cceb-0499-4a5b-83f4-988e2e274478,1e992e69-7cd7-4bfd-b52d-46a303f079f6,2db6d4b7-1d5e-457a-ab3c-3a74ebf845f4,3f7837d6-2e44-4d9a-99d3-89b0c49803b8,42e35562-0b0c-4e2a-bf71-264448a20051,799c4e3e-c5c1-4752-8437-04214d7ffc28,887b8a39-524c-4d1e-a729-f5ac4e5f9658,a86d4522-515f-4e6d-959d-23bb202179ae,aca9549f-c140-4699-b8bd-126098e99466,b1675a4c-734f-49ca-82d9-7f15a2cbfcb7,ba9ec2e1-3d3b-40ec-b46a-1e7d8ff7a525,bd3df0dc-43e5-4e50-8134-e2e6f1e070cf,c1865896-28d5-49ff-b08d-4b8c7d1c3dfc,da2d5243-ab7c-4136-a440-0f0f7723c32a,e3b92e9e-95f0-40df-84aa-1aae0ddaa1d0,e5f6be41-2ce5-475e-9ed9-4f3748a97a34dcc973b3-1df8-4604-8ca7-de03c073ef26SwitchSwitchSwitching5 key at ROW2/COL1 of U1 key matrix,4 key at ROW2/COL0 of U1 key matrix,2 key at ROW3/COL1 of U1 key matrix,6 key at ROW2/COL2 of U1 key matrix,3 key at ROW3/COL2 of U1 key matrix,0 key at ROW4/COL0 of U1 key matrix,Clear key (Backspace) at ROW0/COL0 of U1 key matrix,7 key at ROW1/COL0 of U1 key matrix,8 key at ROW1/COL1 of U1 key matrix,* key at ROW0/COL3 of U1 key matrix,/ key at ROW0/COL2 of U1 key matrix,. key at ROW4/COL1 of U1 key matrix,Enter key at ROW3/COL3 of U1 key matrix,- key at ROW1/COL3 of U1 key matrix,9 key at ROW1/COL2 of U1 key matrix,+ key at ROW2/COL3 of U1 key matrix,= key at ROW0/COL1 of U1 key matrix,1 key at ROW3/COL0 of U1 key matrixMX2A-LC3WCherry Americas LLChttps://drive.google.com/file/d/1uagNdBKprnwU-krNzypMUNpVQe_gN72c/viewhttps://creativecommons.org/licenses/by/4.0/SWBasis: user-selected genuine Cherry MX2A-LC3W Orange keyswitch; footprint origin is pin 1, placed so key center matches prior MX1A-L1NW center. Unconfirmed: not stocked at LCSC, sourced from specialty retailers; 3D model is the generic Cherry MX model.Key Matrix
U1189d66440-4eb6-4d14-93f8-a93ad669801b8c9f7b27-1797-4b22-91b6-8141ffa4c84cMicrocontroller, Module 23.5x18mm castellatedMicrocontroller5VProcessingKeypad controller and USB-C HID port that scans the key matrix; onboard USB-C, LDO and USB passives supply power and USB interfaceRP2040-ZeroWaveshareModule 23.5x18mm castellated133MHzUBasis: Waveshare RP2040-Zero pin order 1-9 left from USB end, 10-14 bottom, 15-23 right (NuttX/Waveshare schematic P1); pad grid 2.54 mm, side rows 15.24 mm apart. Critical: mount with USB-C overhanging the carrier edge; no other supply on 5V pad while USB is connected. Unconfirmed: carrier land pattern derived from community footprint, verify against Waveshare dimension drawing/STEP before fab; underside components may need a carrier cutout.MCU Module

Raw JLCPCB CPL


DesignatorLayerRotationMid XMid Y
D1Bottom021.425mm-27.4mm
D2Bottom040.475mm-27.4mm
D3Bottom059.525mm-27.4mm
D4Bottom078.575mm-27.4mm
D5Bottom021.425mm-46.45mm
D6Bottom040.475mm-46.45mm
D7Bottom059.525mm-46.45mm
D8Bottom078.575mm-46.45mm
D9Bottom021.425mm-65.5mm
D10Bottom040.475mm-65.5mm
D11Bottom059.525mm-65.5mm
D12Bottom078.575mm-65.5mm
D13Bottom021.425mm-84.55mm
D14Bottom040.475mm-84.55mm
D15Bottom059.525mm-84.55mm
D16Bottom078.575mm-84.55mm
D17Bottom021.425mm-103.6mm
D18Bottom040.475mm-103.6mm
SW1Top021.425mm-19.36mm
SW2Top040.475mm-19.36mm
SW3Top059.525mm-19.36mm
SW4Top078.575mm-19.36mm
SW5Top021.425mm-38.41mm
SW6Top040.475mm-38.41mm
SW7Top059.525mm-38.41mm
SW8Top078.575mm-38.41mm
SW9Top021.425mm-57.46mm
SW10Top040.475mm-57.46mm
SW11Top059.525mm-57.46mm
SW12Top078.575mm-57.46mm
SW13Top021.425mm-76.51mm
SW14Top040.475mm-76.51mm
SW15Top059.525mm-76.51mm
SW16Top078.575mm-76.51mm
SW17Top021.425mm-95.56mm
SW18Top040.475mm-95.56mm
U1Top27078.095mm-98.1mm
Refreshed files: Gerber ZIP · BOM CSV · Raw JLCPCB CPL
Assembly note: The SMT-only CPL link didn’t resolve. Use the raw CPL as a reference and exclude SW1–SW18 from machine placement: the switches are through-hole, and their exported placement coordinates are 2.54 mm off the key centers. I left the RP2040-Zero in the raw CPL; exclude it too if you plan to hand-solder it. Before ordering, verify the module cutout in a Gerber viewer and have the assembler review the paste layers for unwanted switch-pad openings. No physical prototype testing was done.
The switch update is complete. The remaining prototype checks are pre-order Gerber review and bench testing after assembly; neither has been signed off.
The raw placement file still includes the RP2040-Zero (U1). For a factory-assembly quote, my default is to leave it listed and verify that the assembler can source and place it over the cutout. For hand assembly, exclude it from the machine-placement file.

Waiting for input

1. Leave U1 listed for a factory quote
2. Exclude U1 for hand assembly

Last modified 14h ago

Project Specification
Goal
An 18-key USB-C bus-powered desktop numeric keypad. Rev A is a PCB-mounted switch prototype with insulated standoff support, not a production enclosure.
Key layout

Table


RowC0C1C2C3
0Clear/*−
1789+
2456=
3123Enter
40.——
Requirements
19.05 mm pitch, 1U PCB-mount MX switches and keycaps, one diode per switch, top-edge cable access. USB HID keyboard, US host layout, independent of Num Lock. Clear sends Backspace. No battery or wireless. LCSC preferred for commodity parts.
Verification and release
Check control pinout, matrix direction and all footprints; place and route with zero airwires and no blocking ERC/DRC; provide firmware source and a build, fabrication outputs and bring-up steps. On assembled hardware, verify USB enumeration in both orientations, all 18 keys, hold/release and no ghosting. Do not treat design checks as physical test results.
  • Goal

  • Key layout

  • Requirements

  • Verification and release