Nine keys,
every risk,
one small board.
The keyboard I want is a low-profile split with Hall-effect switches, per-key RGB, Bluetooth, two USB-C ports per half and Qi charging from the desk. Each of those is fine alone. Together they share one magnetic field, one battery and one small radio chip. Before a single key of the real layout is placed, this board has to answer whether they can live together.
00 · Orientation
Why a test board, and what it has to kill
A full split keyboard is two four-layer boards, two cases and 58 sensors. Finding out on revision B that the sensors cannot be power-gated fast enough is an expensive way to learn it. So the first board has nine keys and exists only to be measured.
This is the plan for the board, written before it exists. Nothing here is a measurement. Part names are the candidates I start from. Every value marked verify is a datasheet line I have not checked yet, or a number the board is there to produce.
Five things on the final keyboard interact, and each interaction is a question:
- Sensors against the battery. A Hall sensor draws current whenever it is powered. Can it be switched on only for the sample, and how long does it need before its output is valid?
- Keys against keys. At a tight low-profile pitch, how much does a neighbour's magnet move a reading?
- LEDs against sensors. Nine PWM current loops sit a few millimetres from nine magnetometers.
- Qi against everything. A charging coil is an alternating magnetic field under a board full of magnetic sensors, copper and a battery.
- Two ports against the USB spec. Either port should take a computer, a charger or the other half, and the board has to work out which one it got.
Every subsystem sits behind its own switched rail with a measurement jumper, and every test has a result that changes a decision on the real keyboard. A test whose outcome would change nothing is not on the board.
One board cannot test the link between halves, power pass-through from one half to the other, role election, or two receivers on one charging field. Two identical boards can. The second one costs a second set of parts and removes the need for a different test board later.
01 · The board
One MCU, three switched railsWhat is on it
One nRF52840 does sensing, Bluetooth and USB, exactly as planned for a keyboard half. Everything else hangs off it in blocks that can be powered, measured and removed one at a time.
| Block | Starting candidate | Why this one |
|---|---|---|
| MCU | nRF52840 module with USB pins broken out | Same chip as the final halves. A bare module, not a dev board, because the USB lines have to go through my own mux. |
| Switches | Gateron Low Profile Magnetic Jade verify | The only low-profile magnetic switch I have found so far. Footprint, pitch and keycap mount come from its datasheet, not from the Sofle Choc. |
| Hall sensors | HX6659ISO-B, DRV5056A4, GH39FKSW, one per column verify | Picking the sensor is the purpose of the board. Selection criteria: supply current, turn-on time, sensitivity, 3.3 V operation. |
| Analog mux | CD74HC4067, 16:1 | The final half reads 29 keys through two of these. Two spare inputs carry a fixed divider and ground, as known answers. |
| RGB | SK6812 MINI-E, reverse mount | What the Sofle Choc uses. Shines up through the board into the switch. Listed for 3.7 V and up, so it runs from the battery rail and not from 3.3 V. |
| USB | 2 × USB-C 2.0 receptacle, TS3USB221 mux, USBLC6-2 ESD, current-limited switch | One device interface on the chip, two ports on the board. |
| Qi | BQ51013B, 5 W receiver coil with ferrite | Qi 1.x receiver with a second input for wired power, so USB and Qi do not need a diode hack. |
| Charger | BQ24074, power path | Runs the board from the input while charging the cell at its own limit. |
02 · Switches and sensing
Three sensor types, three samples eachNine keys, used properly
A magnetic switch has no electrical contacts. There is a magnet in the stem, a linear Hall sensor on the board below it, and a voltage that follows the distance between the two. The plate holds the switch, so it pulls out without solder or sockets.
Nine positions in a 3 × 3 grid give more than nine copies of one test:
- Columns are sensor types. Each column carries a different linear Hall sensor. Three samples of each is the minimum to see part-to-part spread.
- The centre key has eight neighbours. It is the crosstalk victim. Press the others one by one and watch its reading.
- The pitch is the real one. Whatever spacing the switch and keycaps allow goes on this board, because crosstalk at a relaxed pitch says nothing.
- Two mux inputs are known answers. One sits on a resistor divider, one on ground. If those two move when the scan rate goes up, the multiplexer has not settled and the key readings are wrong too.
How much signal there is to work with depends on magnet, distance and sensor gain. The model below is the on-axis field of a cylinder magnet, fed through an ideal sensor and a 12-bit converter. It is there to build intuition for the trade-offs. The switch's real magnet goes in once it is measured.
Two things to notice. The curve is steep near the bottom and flat near the top, so the first tenth of a millimetre of travel is the hardest to resolve. And a sensor with too much gain clips before bottom-out, which throws away the steep part.
What gets measured
- Curve. Counts against travel in quarter-millimetre steps, pressed with a micrometer jig. Per sensor type.
- Spread. The same curve across the three samples in a column, and across a switch swap in one position.
- Crosstalk. Shift of the centre reading with each neighbour fully pressed, as a fraction of its own span.
- Noise. Standard deviation of a resting key, with everything else on the board switched off. This is the baseline every later test compares against.
03 · Power
The number that decides the projectSensors that are mostly off
A contact switch costs nothing while nobody types. A linear Hall sensor draws several milliamps for as long as it has power. The catalogue values of the candidates run from 3.3 to 6 mA verify. Twenty-nine of them per half, always on, empty a slim cell in a few hours.
The way out is to power the sensors only around the sample. Average current is then always-on current times duty cycle, and the duty cycle is set by one datasheet value: how long the sensor needs after power-up until its output can be trusted. On this board that is a scope trace, on the sensor rail and on one output, for each of the three sensor types.
The second lever is scan rate. Fast while keys move, slow when they have not for a while.
All inputs are assumptions until the board has produced them. Set the on-time to 1000 µs at 1 kHz to see the always-on case. Untick the LED rail switch to see why it is on the board.
The existing ZMK Hall-effect module documents an ADC problem on some nRF52840 chips when switching between single-channel and multi-channel sampling (Nordic's anomaly 212). The scan on this board stays in one ADC configuration for that reason, and the first firmware test checks that sampling survives a few hours of rail switching.
04 · Light
Nine LEDs next to nine magnetometersPer-key RGB, and what it costs
One addressable LED under every key, all on one data line. The parts are standard. The two open questions are standby current and what the LED currents do to the sensor readings.
- Standby. An addressable LED contains a driver chip that draws current while showing black. Across a whole half that is a sensor-sized load for no light at all, so the LED rail has its own switch. The board measures the real standby figure per LED.
- Supply. The LED is listed for 3.7 to 5.5 V. It runs from the battery rail, which also keeps a 3.3 V data line inside its input threshold verify. Below about 3.7 V of cell voltage the LEDs are the first thing to switch off.
- Brightness on battery. Full white on 29 LEDs is on the order of an ampere. The firmware needs a current cap that depends on whether the half runs from USB, Qi or the cell.
- Interference. The LED sits inside the switch footprint, millimetres from the sensor, and its current is pulsed. The test is the noise baseline from section 02, repeated with LEDs dark, static and animated.
- Mechanical fit. The LED, the sensor and the switch housing compete for the same few square millimetres. Whether the chosen switch has a light path at all is a datasheet question that comes before the footprint.
If animated LEDs raise the noise floor, there are two fixes to try on this same board: sample between LED updates, or route LED power as a tight pair away from the sensors. Both are layout and firmware changes that are cheap here and expensive later.
05 · USB
Two ports, no labelsPorts that do not care
The goal for the keyboard: four identical USB-C ports. Computer in any of them, the other half in any other, a charger wherever one is free. The test board has two, which is enough to build the logic once.
Each port has to recognise three kinds of partner, and the board has to act on the combination.
| Partner | How the port sees it | What the board does |
|---|---|---|
| Computer | VBUS appears, USB enumeration succeeds | Mux the USB data lines to this port, act as HID device, charge |
| Charger | VBUS appears, nobody enumerates | Charge, stay on Bluetooth |
| Other half | VBUS appears, link handshake on the data pair instead of USB | Charge from it, open the wired link |
| Nothing, but the other port has power | No VBUS here | Offer power on this port, in case a half is on the cable |
The last row is the part that USB does not give for free. Two USB-C devices connected to each other are two sinks, and two sinks exchange no power. So a port that normally shows pull-down resistors on its CC pins has to switch to a pull-up and close a current-limited switch when the board's other port is powered. The rule is deterministic and needs no USB-PD:
A port is a sink, unless this board's other port has power. Then it becomes a source at the default USB current.
For data, the link between halves reuses the D+/D− pair of the cable as a serial line. That pair exists in every USB-C cable and does not depend on plug orientation. Both ends start out wanting to transmit on the same wire, so the link opens with a short negotiation over who talks on which line.
What gets tested
- Each port alone: enumerates as a keyboard, charges, survives hot-plug.
- Both ports on computers: one wins by a fixed rule, the other only charges.
- Charger without data: detected as charger within a bounded time, no enumeration retries forever.
- Board to board, every port pairing and both cable orientations: power passes, the link comes up.
- Fault cases: short on the pass-through port, a computer plugged into a port that is sourcing.
A laptop port can be a source or a sink. If the board offers power on a port and a laptop is plugged in, the laptop must not end up being fed. The pass-through only switches on after the CC lines show a sink on the other end, and the current limit is the backstop.
06 · Bluetooth
The known part, measured anywayRadio, with a metal plate next to it
Bluetooth HID on an nRF52840 is the least novel item on the board. It is here for three measurements the final design depends on.
- Current. Average draw when connected and idle, when typing, and when advertising. These are the base load in the calculator above, and they bound battery life before any sensor is powered.
- Latency. Time from a key crossing its actuation point to the report leaving the radio, and the same over USB. This tells me how much of the analog switch's speed survives the link.
- Range with metal fitted. A switch plate, a battery and a ferrite sheet close to a chip antenna detune it. Signal strength is logged bare, then with each metal part in place.
With two boards, the same measurements run for the link between halves, wireless and wired.
07 · Qi
A charging field under a magnetometer arrayCharging from the desk
The plan beyond the keyboard: the desk carries a large field of overlapping coils, finds each half wherever it lies, and powers both. For the keyboard that changes less than it sounds.
Free positioning is the transmitter's job
In Qi, the receiver is passive about position. A pad with many coils pings them in turn, sees which ones a receiver answers on, and drives only those. The receiver cannot tell a single-coil puck from a coil array. So a plain Qi 1.x receiver without alignment magnets is the right part: it is what a free-positioning surface expects, and magnets are the one thing a Hall-effect keyboard should not carry in its base. Multi-coil pads built this way have shipped, and one well-known attempt was cancelled over heat and interference between coils. The desk is a project of its own size.
Three properties of Qi shape that project:
- Distance. Standard Qi couples over a few millimetres. That fits a mat on the desk and not a coil array under a 25 mm tabletop.
- One transmitter cell per receiver. The receiver talks back by modulating its load on the same coil pair, so two halves need two independently driven regions of the field.
- Foreign metal. A desk surface collects keys, coins and laptops. A compliant transmitter checks for metal and shuts down. Every metal part of the keyboard that the field can see counts too.
Titanium is the wrong shield
The idea of a thin titanium sheet in each half is a good mechanical idea and a poor magnetic one. Titanium is not ferromagnetic, so it does not guide flux, and it conducts about 25 times worse than copper. In a 100 to 200 kHz field, a thin sheet of it carries eddy currents and turns them into heat. Between the coils it blocks charging. Near the coil it is the foreign metal the transmitter looks for.
A rule-of-thumb model: skin depth from resistivity, and loss for a given induced current taken as proportional to sheet resistance. The bars compare each material at the chosen thickness against thick copper. It shows ranking, not watts.
What does the job is a ferrite sheet directly behind the receiver coil. Ferrite has high permeability and almost no conductivity, so it pulls the field into itself and returns it to the transmitter with little loss. Everything above the ferrite is in its shadow. That is where titanium is welcome: as the switch plate. It is stiff, thin and non-magnetic, so it does not bend the field of the switch magnets the way a steel plate would.
Case bottom, non-metallic → receiver coil → ferrite → battery and PCB → sensors → titanium plate → switches. Nothing conductive below the ferrite, and no ferrite under the key field unless the test says the sensors tolerate it.
What gets tested
- Stock pad first. Charging starts, delivered power, temperature of coil, cell and board after half an hour.
- Offset sweep. Delivered power on a 5 mm grid of positions. The width of the usable region is the coil pitch a desk array would need.
- Sensor noise while charging. The baseline from section 02 again, with the field on. If it rises, try sampling in step with the field, then filtering, then distance.
- Coupons. Sheets of ferrite, copper, aluminium and titanium in the slot between coil and keys, and behind the coil. Each one against charging power, heat and sensor noise.
- Two boards, one multi-coil pad. Do both charge, and does the pad keep them apart?
08 · Firmware
Own firmware, borrowed ideasWhy not ZMK, and what that costs
The existing firmwares each cover part of this. QMK with MAGDA and libhmk do Hall-effect well, on wired boards. ZMK does wireless splits well, with a fixed central half and a Hall-effect module written for one person's board. The three things this keyboard is built around are gated analog scanning, ports that detect their partner, and halves that elect their role at runtime. None of the three exists upstream.
So the firmware is my own, in Rust on Embassy. That decision is cheap for the test board and expensive for the keyboard, and it helps to say where the cost is:
| Part | Effort | Borrowed from |
|---|---|---|
| Gated scan, filtering, calibration | Small, and the reason to do this at all | MAGDA and libhmk for per-key calibration and rapid trigger logic. ZMK's Hall-effect module for the processing chain and the pulsed read. |
| Port and role logic | Medium, new | Nothing to borrow. |
| LED engine with current cap | Small | QMK's RGB matrix as a model for effects. |
| USB HID | Small | Embassy's USB stack. |
| Bluetooth HID, pairing, bonding, several hosts | Large | RMK shows it works on this chip in Rust. Use its building blocks before writing any. |
| Keymap engine: layers, tap-hold, combos | Large, and easy to underestimate | ZMK's behaviour model. RMK's implementation. |
| Settings storage, bootloader, configurator | Large | libhmk's web configurator as the reference for what "done" looks like. |
The scan loop is the cheap fifth. The expensive part is everything a person touches every day. Borrowing ideas is free. Borrowing code means reading licences first: QMK is GPL, ZMK is MIT, RMK is MIT or Apache, and the others need checking before a line is copied.
For the test board none of the expensive parts are needed. The firmware is a set of small programs, one per test, each printing numbers over a debug link:
| Program | Does |
|---|---|
| t0-rails | Switches each rail, sleeps, lets the current probe do the work |
| t1-scan | Reads all eleven mux inputs continuously, streams raw counts |
| t2-gate | Same scan with the sensor rail pulsed, on-time and rate adjustable live |
| t3-leds | Dark, static, animated, with the scan running underneath |
| t4-ports | Port state machine, logs what each port believes it is connected to |
| t5-ble | Minimal HID keyboard, one key, timestamped |
| t6-qi | Scan plus charger status, logs noise against charge state |
| t7-link | Two boards: negotiation, wired link, role election |
The core of t2-gate is the loop the whole keyboard later runs on:
// Timing constants are placeholders. They come out of the scope traces.
loop {
sensor_rail.set_high(); // power all sensors
Timer::after_micros(T_ON_US).await; // wait until outputs are valid
for ch in 0..MUX_INPUTS {
mux.select(ch);
Timer::after_micros(T_SETTLE_US).await;
raw[ch] = adc.sample().await; // same ADC config every time
}
sensor_rail.set_low(); // off until the next scan
let moved = keys.update(&raw); // filter, calibrate, actuation
period = if moved { ACTIVE_PERIOD } else { back_off(period) };
Timer::after(period).await;
}
09 · The PCB
Fifteen steps, KiCad 9 to "order"From an empty project to two assembled boards
The board is drawn in KiCad and built by JLCPCB, bare boards and SMD assembly in one order. This is the whole path in the order it is walked. It is written against KiCad 9, because that is the version JLCPCB's own export guide covers.
- 01
Decide the assembly tier before opening KiCad
JLCPCB has two assembly tiers. Economic is cheap and fast, and restricted. Two parts on this board are listed in their catalogue as Standard only: the reverse-mount LED and the nRF52840 module. So this is a Standard order, whatever else I do.
Standard assembly populates both sides, at about twice the setup and stencil fee of one. The LEDs sit on the bottom and shine up through the board. The sensors go where the switch datasheet wants them verify. If that is the top, the board is double-sided and the order costs roughly 35 USD more.
▲Board thickness is a sensing parameterA sensor on the bottom is one board thickness further from the magnet than a sensor on top. That distance is the "gap" slider in the model in section 02. With bottom-side sensors, a thinner board buys signal.
- 02
Open KiCad, make the project, install one plugin
File → New Projectcreates the project file, an empty schematic and an empty board. Add two folders next to them for the parts that are not in KiCad's own libraries, one for symbols and one for footprints, and register both as project libraries underPreferences → Manage Symbol LibrariesandManage Footprint Libraries.Then open the
Plugin and Content Managerfrom the project window and install the Fabrication Toolkit. It is the plugin JLCPCB's guide points to, and it writes all the production files in step 11. - 03
Collect the parts
For every part: find it in JLCPCB's catalogue first, note its LCSC number, then get a symbol and a footprint. Passives and common ICs are in KiCad's libraries. For the rest, the
easyeda2kicadtool converts JLCPCB's own symbol and footprint by LCSC number. Either way, the footprint gets compared against the datasheet drawing, pad by pad.The switch is not in any catalogue. Its footprint is drawn by hand in the Footprint Editor from the datasheet: plate cut-out, mounting pins, the LED window, and the sensor position relative to the stem axis. It is the one footprint on the board nobody else has verified.
- 04
Draw the schematic
One hierarchical sheet per block of the diagram in section 01: ports, power, MCU, sensing, light, Qi. The same sheets move into the keyboard project later. The keys that do the work:
Aplaces a symbol,Pa power symbol,Wdraws a wire,Lnames a net.Name every net that leaves a sheet. Put a test point symbol on everything a probe will touch: each rail, the mux output, the LED data line, both CC pairs.
- 05
Tell every symbol which part it is
Tools → Edit Symbol Fieldsopens all symbols as one table. Add a column namedLCSC Part #and fill in the catalogue number for each line. That field is what ties a symbol to a stocked part when the files are generated verify field name.- Few distinct parts. Standard assembly charges a loading fee for every distinct part number, so ten different pull-up values are ten fees for nothing.
- Mark what JLCPCB will not place. Qi coil, battery connector, pin headers and the switches get "exclude from position files" in their symbol properties, and are soldered or plugged by hand.
- 06
Close the schematic
Tools → Annotate Schematicnumbers the parts.Inspect → Electrical Rules Checkerhas to come back empty, and every warning it gives about an unconnected pin is either fixed or answered with a no-connect flag on purpose.Tools → Assign Footprintsshows any symbol that still has none. - 07
Set the board up for the factory
In the PCB editor,
File → Board Setup, before the first trace. UnderPhysical Stackup: four copper layers and the board thickness from step 01. Bottom for components and short analog traces, an unbroken ground plane next to it, power on the third, the rest on top. UnderConstraints, JLCPCB's limits with margin:Rule JLCPCB minimum, 4 layers Used on this board Track width / clearance 0.09 / 0.09 mm 0.15 / 0.15 mm, wider for power Via hole / diameter 0.15 / 0.25 mm 0.3 / 0.6 mm Annular ring 0.15 mm, 0.20 recommended 0.15 mm on vias, more on pins Copper to board edge 0.2 mm 0.5 mm Solder mask bridge 0.10 mm, 0.13 for black or white 0.10 mm, so not a black board Silkscreen 0.15 mm line, 1.0 mm height as given Non-plated slot 1.0 mm wide coupon slot well above that Under
Net Classes: one class for power with wider tracks, one for the USB data pair. - 08
Outline and placement
Tools → Update PCB from Schematicdrops every footprint next to an empty board. Draw the outline and the coupon slot onEdge.Cuts. Then place in order of how little freedom each part has:- Key field. Nine switch footprints by typed coordinates at the real pitch, not by eye.
- USB-C. Both at the board edge, with room for two plugs side by side.
- Module. At the edge, antenna outward. A rule area forbids copper on every layer under the antenna, as its datasheet draws it.
- Qi coil. A rule area marks where it and its ferrite sit. No part taller than the ferrite gap goes there.
- Everything else next to what it serves: multiplexer at the key field, ESD parts at the connectors, decoupling at the pins.
Mmoves,Rrotates,Fflips a part to the other side. - 09
Route
Xstarts a track,Vdrops a via,Ddrags a track with its neighbours. Sensitive nets first, the rest around them:- Sensors. Each one on the magnet's axis, all nine in the same orientation, with identical copper around them. Differences between positions should come from the sensors, not from the layout.
- Analog. The multiplexer output runs over solid ground, away from the LED data line and from the charger.
- USB. The data pair with the differential pair router, short and together to the mux.
- LED power. Supply and return as a close pair, so the pulsed current encloses as little area as possible next to the sensors.
- Qi. A solid copper plane facing an unshielded coil is a shorted turn, so no pour extends past the ferrite's edge in that region.
Last, the ground zones on the plane layer and in the gaps, filled with
B. - 10
Let the board argue back
Inspect → Design Rules Checker, until it is empty. Not "only warnings", empty. Every unrouted net and every clearance it reports is a board that comes back wrong five times.Then two checks no software does. The 3D viewer, for parts that collide or sit on the wrong side. And a 1:1 paper print with a real switch, a real USB-C plug and the real coil laid on it.
- 11
Generate the production files
One click on the Fabrication Toolkit button in the PCB editor. It writes a
productionfolder with the Gerber archive, the bill of materials and the placement file, already in JLCPCB's column format. What that archive has to contain, by JLCPCB's guide:Dialog Setting Plot, layers F.Cu, In1.Cu, In2.Cu, B.Cu, F.Mask, B.Mask, F.Silkscreen, B.Silkscreen, Edge.Cuts, plus F.Paste and B.Paste for assembly Plot, options check zone fills · drill marks: none · scale 1:1 · Protel filename extensions · X2 format · netlist attributes · 4.6 mm coordinates Drill files Excellon · oval holes: alternate mode · absolute origin · millimetres · decimal zeros · PTH and NPTH as separate files Package all Gerbers and both drill files in one .zip, plain file names The same settings by hand are under
File → Fabrication Outputs → Gerbers, with the drill dialog one button further. Open the result in KiCad's Gerber Viewer and count the copper layers. A missing inner layer is the classic mistake on a first four-layer order. - 12
Upload the board
On jlcpcb.com, start a quote and upload the archive. The page renders the board and fills in size and layer count from the files. If it says two layers, go back to step 11.
Choice Value Reason Layers, thickness 4 layers, thickness from step 01 Thickness follows the sensor distance. Quantity 5 The minimum for bare boards. Colour not black or white They need a wider solder mask bridge than the design rules above allow. - 13
Switch on assembly and match the parts
Enable PCB Assembly on the same page: Standard, the side or sides from step 01, two boards assembled, placement confirmation on. The next page takes the bill of materials and the placement file and matches every line against the catalogue. Every line has to show a part and a stock figure. A line without a match is a part that will not be on the board.
The catalogue as I found it on 11 November 2026. Tier and assembly type are from JLCPCB's part pages, stock is LCSC's figure and not the assembly stock, electrical values are catalogue entries and not datasheet readings.
Part LCSC Assembly Listing E73-2G4M08S1C C356849 Standard only nRF52840 module, 18 × 13 mm. Stock not found. SK6812MINI-E C5149201 Standard only 3.7 to 5.5 V, 0.6 mA quiescent. About 192,000 in stock. CD74HC4067SM96 C98457 Economic and Standard SSOP-24, 2 to 6 V, 70 Ω. 1,245 in stock. BQ51013BRHLR C55663 Economic and Standard VQFN-20. 799 in stock. BQ24074RGTR C54313 Economic and Standard QFN-16, 3 × 3 mm. 4,826 in stock. TS3USB221RSER C130085 not checked UQFN-10, 1.5 × 2 mm. 63,840 in stock. TPS2553DBVR C55266 not checked SOT-23-6. 55,949 in stock. USBLC6-2SC6 C7519 not checked SOT-23-6. Stock not found. TYPE-C-31-M-12 C165948 Economic and Standard 16-pin SMD receptacle. Stock not found. HX6659ISO-B C495742 Economic and Standard Linear Hall, SOT-23, 2.8 to 6 V, 3.3 mA, 2 mV/Gs. DRV5056A4QDBZR C2152902 not checked Linear Hall, SOT-23, 3 to 3.63 V, 6 mA, 25 mV/mT. GH39FKSW C266230 Economic and Standard Linear Hall, SOT-23, 6 mA, 1.8 mV/Gs. Supply range unclear in the listing. OH49E-S C85573 Economic and Standard Linear Hall, SOT-23, 2.5 to 10 V, 4.2 mA. Out of stock. None of these is a Basic part. Two stock figures are low enough to matter: the multiplexer and the Qi receiver. JLCPCB lets you buy parts into your own parts library ahead of an order, which is the way to hold a scarce one. The switches and the Qi coil are not in the catalogue and come from elsewhere.
- 14
Check where every part landed
The placement preview shows each part on the board as JLCPCB will place it. Check the orientation of every polarised one: all nine LEDs, all nine sensors, the ICs, both USB connectors. Rotation conventions differ between KiCad footprints and JLCPCB's library, and a sensor placed 180° off produces a board that looks perfect and measures nothing.
A wrong rotation is fixed at the source: a rotation offset field on the footprint, which the Fabrication Toolkit applies, then step 11 again. A fix made only in the web page is gone at the next order.
- 15
Press order
As quoted by JLCPCB in October 2026, Standard assembly is about 26 USD setup and 8 USD stencil per side, plus about 1.50 USD once for each distinct part number, plus boards and parts. Files cannot be changed once production has started.
After delivery, by hand: the Qi coil on its ferrite, the battery connector, the headers. Then the plate, the switches, and
t0-rails.
10 · Test matrix
Every test changes a decisionWhat each result decides
The order matters. Each test uses the previous one's result as its baseline, and the early ones can end the project in its current shape.
| # | Test | Measured | Decides |
|---|---|---|---|
| T0 | Rails | Sleep current with every rail off | Whether the power tree is sound before anything is added |
| T1 | Sensor curve | Counts over travel, spread, resting noise | Sensor type, gain, mounting distance |
| T2 | Turn-on time | Rail to valid output, per sensor type | Duty cycle, and with it battery size. If no candidate gates fast enough, wireless Hall-effect is off. |
| T3 | Crosstalk | Centre key shift per pressed neighbour | Key pitch, or the need for compensation in firmware |
| T4 | Mux settling | Reference inputs against scan rate | Maximum scan rate through the multiplexer |
| T5 | LEDs | Standby current, sensor noise dark / static / animated | Rail switch, sampling in step with LED updates, routing rules |
| T6 | Ports | Detection of computer, charger, sibling. Fault behaviour. | Whether four equal ports are safe, or one per half gets a label |
| T7 | Bluetooth | Current, latency, signal with metal fitted | Antenna placement, plate cut-out, base load |
| T8 | Qi | Power, heat, offset tolerance, sensor noise, coupons | Coil position, shield stack, whether typing while charging keeps analog precision |
| T9 | Two boards | Link on every port pairing, role election, two receivers on one pad | Whether symmetric halves are a firmware feature or a hardware promise |
A current probe that resolves microamps and milliamps in one trace, a two-channel scope, a micrometer jig to press a key by a known amount, a thermocouple or thermal camera for the Qi runs, a stock single-coil pad and a stock multi-coil pad.