rushabhcodes/wireless-split-keyboard
Wireless Split Keyboard — custom routed nRF52840 split PCBs with a printable enclosure
- Version
- 0.4.5
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone rushabhcodes/wireless-split-keyboard # download the package files into ./wireless-split-keyboard
tsci add rushabhcodes/wireless-split-keyboard # add it to your project as @tsci/rushabhcodes.wireless-split-keyboardIn a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.
imports/README.md
# Imported JLCPCB components
There are 20 imported definitions. The PCB selects 17 types in 84 placements per half; C400230 also supplies the separate top-switch assembly model. C52923 and the superseded 20 mm ALPS encoder remain unused options.
Every TSX component in this directory was created with `tsci import C<number> --lcsc`. The pinned local CLI is available as `bun run tsci`. See [manifest.json](manifest.json) for commands, supplier links and current file hashes. Imports remain individual components; no controller or display module is used.
| JLCPCB | Component | Imported file |
|---|---|---|
| [C179635](https://jlcpcb.com/partdetail/C179635) | ABS07-32.768KHZ-9-T | [ABS07_32_768KHZ_9_T.tsx](ABS07_32_768KHZ_9_T.tsx) |
| [C81598](https://jlcpcb.com/partdetail/C81598) | 1N4148W | [A_1N4148W.tsx](A_1N4148W.tsx) |
| [C19725033](https://jlcpcb.com/partdetail/C19725033) | BQ25185DLHR | [BQ25185DLHR.tsx](BQ25185DLHR.tsx) |
| [C52923](https://jlcpcb.com/partdetail/C52923) | CL05A105KA5NQNC | [CL05A105KA5NQNC.tsx](CL05A105KA5NQNC.tsx) |
| [C1525](https://jlcpcb.com/partdetail/C1525) | CL05B104KO5NNNC | [CL05B104KO5NNNC.tsx](CL05B104KO5NNNC.tsx) |
| [C15849](https://jlcpcb.com/partdetail/C15849) | CL10A105KB8NNNC | [CL10A105KB8NNNC.tsx](CL10A105KB8NNNC.tsx) |
| [C19666](https://jlcpcb.com/partdetail/C19666) | CL10A475KO8NNNC | [CL10A475KO8NNNC.tsx](CL10A475KO8NNNC.tsx) |
| [C5333465](https://jlcpcb.com/partdetail/C5333465) | CPG135001S30 | [CPG135001S30.tsx](CPG135001S30.tsx) |
| [C18164806](https://jlcpcb.com/partdetail/C18164806) | PEC11R-4215K-S0012 (selected) | [PEC11R_4215K_S0012.tsx](PEC11R_4215K_S0012.tsx) |
| [C470754](https://jlcpcb.com/partdetail/C470754) | EC11E15244B2 | [EC11E15244B2.tsx](EC11E15244B2.tsx) |
| [C324723](https://jlcpcb.com/partdetail/C324723) | FH34SRJ-10S-0.5SH(50) | [FH34SRJ_10S_0_5SH_50_.tsx](FH34SRJ_10S_0_5SH_50_.tsx) |
| [C190794](https://jlcpcb.com/partdetail/C190794) | NRF52840-QIAA-R | [NRF52840_QIAA_R.tsx](NRF52840_QIAA_R.tsx) |
| [C221841](https://jlcpcb.com/partdetail/C221841) | PCM12SMTR | [PCM12SMTR.tsx](PCM12SMTR.tsx) |
| [C187794](https://jlcpcb.com/partdetail/C187794) | Q22FA12800025 | [Q22FA12800025.tsx](Q22FA12800025.tsx) |
| [C94934](https://jlcpcb.com/partdetail/C94934) | TPD2EUSB30ADRTR | [TPD2EUSB30ADRTR.tsx](TPD2EUSB30ADRTR.tsx) |
| [C2845237](https://jlcpcb.com/partdetail/C2845237) | TPS63802DLAR | [TPS63802DLAR.tsx](TPS63802DLAR.tsx) |
| [C139797](https://jlcpcb.com/partdetail/C139797) | SKRPACE010 reset | [SKRPACE010.tsx](SKRPACE010.tsx) |
| [C3020560](https://jlcpcb.com/partdetail/C3020560) | USB4105-GF-A | [USB4105_GF_A.tsx](USB4105_GF_A.tsx) |
## Reviewed changes after generation
The warning cleanup declares the socket circuit as a native pushbutton, the power switch as SPDT, the FPC as a connector, and the four discrete FETs as MOSFETs. Their existing physical pads and drills are retained. nRF power/ground roles, passive encoder pins and intentionally unused USB SBU pins are explicit. The Bourns encoder has a courtyard; the regulator courtyard uses a 0.09 mm X margin beyond its lands at the compact power island. The inductor courtyard has a 0.05 mm X land margin and a 4.0 mm Y extent. Assembly approval of this dense spacing remains necessary. The internal FPC role and narrow checker policy are documented in [model and diagnostic notes](../docs/models.md).
- All files add an explicit React import for this project's classic JSX configuration.
- NRF52840: retain imported numeric IDs and physical terminal aliases. `scripts/import-pin-map.py` checks all 74 terminals against independent package measurements. A +90° package rotation aligns the bottom assembly with the design frame. EP has no full-area solder paste; a segmented stencil and via-in-pad treatment remain a release task.
- CPG135001S30: retain the imported top-authored coordinate frame, so native bottom placement mirrors both the land pattern and CAD model consistently. Add COL/OUT aliases and the Choc V1 stem/locator holes; `KeyCell.tsx` compensates the socket-origin offset while preserving every stem center. Courtyards are authored on top and become bottom courtyards with the component. Four rectangles follow the stepped socket body and solder lands. At SW6/SW12/SW18/SW24, only the outboard land is 2.3 × 2.6 mm instead of 2.6 × 2.6 mm to retain board-edge clearance; the measured metal leg remains fully covered with at least 0.15 mm land margin. The previous `originalLayer="bottom"` declaration suppressed the footprint mirror and was incorrect. Actual GLB mesh-to-pad/drill checks now cover every socket; see [socket alignment](../docs/socket-alignment.md).
- EC11E15244B2: the catalog footprint had 2.54 mm pin spacing and 14.5 mm row separation. Corrected to Alps' mounting-side drawing: 2.5 mm spacing, 12.5 mm row separation, shaft 7.5 mm above A/C/B and 5 mm below D/E. Switch aliases S1/S2 were added. Tabs and real part fit still need physical confirmation. [Alps drawing](https://tech.alpsalpine.com/e/products/detail/EC11E15244B2/).
- SKRPACE010: native pushbutton uses the manufacturer's internally connected pairs 1+2 and 3+4. Each pair is kept on one net (RESET or GND).
- USB4105: use the native USB-C connector element with the imported full 20-contact footprint and pin map. Both VBUS orientations, duplicated data contacts and shields are connected explicitly.
Reimporting overwrites these reviewed corrections. Compare the generated result before replacing a file. A successful import proves library data exists; it does not prove stock, correctness, availability for a particular assembly service, or suitability for manufacture.
The 32 MHz selection is Epson Q22FA12800025 (8 pF, 60 ohm ESR, ±10 ppm initial and ±10 ppm over -20 to +75°C), replacing the initial Abracon candidate. [Manufacturer specification](https://download.epsondevice.com/td/pdf/td_xtal_mhz/FA-128_Q22FA12800025_en.pdf). HF/LF crystal load networks still require oscillator/layout verification.
Some requested catalog parts had no EasyEDA data (for example C2192603 and C5574361). They were not substituted silently. Resistors, RF parts, the regulator inductor, and remaining passives without a validated supplier choice are explicitly listed as unsourced in the draft BOM.
C400230 was imported for the separate, hand-fitted top Choc switch models. Its
mechanical assembly uses the supplier CAD without adding its electrical pads or
drills a second time. C173752 supplies the exact S2B-PH-K-S battery connector
model; the existing PCB lands are retained and its lead alignment is checked
from the exported mesh. Its full side-entry body courtyard is included.
The selected encoder is now Bourns PEC11R-4215K-S0012, imported using `tsci import C18164806 --lcsc`. Its mounting pattern uses A/C/B at Y −7.5, push contacts at Y +7.0, and shell slots at X ±5.7 mm. Signal drills are 1.1 mm; shell drills are 1.8 × 2.6 mm. The supplier OBJ depicts an incompatible 4 mm D shaft, so the design uses a clearly labelled **nominal parametric envelope** from [Bourns' manufacturer drawing](https://www.bourns.com/docs/product-datasheets/pec11r.pdf): 6 mm knurled shaft, 15 mm actuator, 6.5 mm body allocation. It is not certified vendor CAD. Firmware uses 48 quadrature steps and 24 detents per turn.
The Hirose raw-FPC receptacle moves to the top directly beneath the screen tail, with a separate fixed bottom support-parts cluster. Its imported top silkscreen was removed. This prevents the 13.63 mm panel tail from needing to cross the PCB; confirm contact-side and pin-1 orientation against actual supplied parts.