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

In 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.

docs/models.md

# 3D models and their sources

The assembly uses physical CAD meshes in millimeters. The downloaded panel and
keycap assets are embedded in [the model catalog](../src/models/catalog.json),
so local and tscircuit server builds do not depend on a model-download service.
[The source manifest](../src/models/sources.json) records revisions, original
URLs, hashes and transformations. No controller or display PCB is imported.

| Part | Model used | Source and limitations |
| --- | --- | --- |
| 58 top switches | Kailh CPG135001D02 / Choc V1 | Existing JLCPCB C400230 supplier OBJ, including housing, plunger, locating pegs and metal contacts. Positions remain locked to the Sofle geometry. |
| 58 keycaps | KLP Lamé, Choc stem + Choc size | [Nikita Shirokov / braindefender](https://github.com/braindefender/KLP-Lame-Keycaps/tree/8e4b89b484cafe3bcaced6b459a4e29660991a40). Normal finger keys, one homing key per half and blue thumb keys. Concave profiles, hollow undersides and two real stems replace the old rounded-box envelopes. No scaling; reduced to 6,000 triangles per profile, with every source vertex screened against the reduced surface. CC-BY-SA-4.0. |
| Raw LCD | Sharp LS011B7DH03 | Raw glass solids extracted from [karnadii's panel STEP](https://github.com/karnadii/sharp_memory_display_breakout/blob/029079672132b775a24bccd19b4fac88c1fcdd0f/lib/3d/memory%20display%20v1.step), with layered glass, polarizer and active window. Portrait orientation and active-area datum corrected against Sharp's drawing. Only the panel geometry is used; no breakout board. CERN-OHL-P-2.0. |
| LCD flex | Shaped polyimide, stiffener and ten gold contacts | Derived from the same panel STEP and corrected to the Sharp drawing: 9.47 mm root, 13.63 mm exposed length and 5.5 mm finished tail. The finished tail is approximately 0.30 mm thick, including the film. A length-preserving bend lowers it into the top-side receptacle, within Sharp's 0.8–6.0 mm bend region; its nominal minimum radius exceeds 4.3 mm. The internal channel is 9.9 mm wide. Contact engagement needs a physical check. |
| USB-C, power/reset switches, FPC and battery connectors | Selected supplier meshes | Exact imported part models and the reviewed JST-PH model are retained, rather than replacing them with generic boxes. |
| Encoder, knob, screws, battery and NTC wires | Nominal project geometry | The encoder represents the selected 15 mm knurled Bourns variant; its supplier mesh depicts the wrong shaft. The printed knob and case hardware reflect the specified fit. The pouch is an envelope for the reference cell, not a manufacturer-supplied model. |

The cap underside seating land at local Z=2.7 mm meets the Choc plunger top
at Z=8.8 mm, with a 0.02 mm visual mesh allowance; the two insertion prongs
extend into the moving plunger. The mesh fit check treats those intentional
contacts separately from the hollow cap shell and checks a full 3.5 mm case/screw clearance envelope. The nominal switch CAD
mechanism is checked at its 3.0 mm travel; the extra tolerance stroke needs a
physical switch check.
Changing to another cap profile requires rerunning these checks.

Model licenses are supplied in [src/models](../src/models). The panel derivative
remains under CERN-OHL-P-2.0 and the keycap derivatives remain under CC-BY-SA-4.0;
the project's code license does not replace those licenses. The optional asset
preparation script is `scripts/prepare-cad-models.py`; ordinary builds use the
committed catalog and do not need Python or CAD conversion tools.

# Diagnostic policy

The cloud build rejects both errors and warnings. Passive devices use their
actual tscircuit primitives or explicit passive pin attributes. Supplies, grounds,
unused USB SBU pins and unassembled test/wire pads are declared explicitly.
Seven A4 schematic sheets keep the matrix, processor, power, display, USB, debug
and RF diagrams within the drawing area.

The pinned checks package has a four-line project patch: a connector with the
exportable footprint property `ConnectorAccess=internal` is exempt from the
nearest-board-edge orientation heuristic. This describes the internal LCD cable;
the footprint still declares its actual +Y mouth direction. Courtyard, copper,
connectivity and measured enclosure checks remain enabled. A regression test
checks that external USB orientation warnings still work and that omitting the
internal role restores the FPC heuristic warning. The patch is installed by Bun
on the server as well as locally. The cloud prebuild reinstalls generated
`node_modules` from the lockfile so the image's external dependency symlinks
cannot resolve an unpatched copy outside the project.

Optional exploded-view stages were removed because the SDK cannot check closed
collision geometry for all vendor meshes. The measured assembly, battery-bay and
10-degree tenting GLBs remain available. Static fit checks operate on the exported
triangles; this does not certify physical fit, RF performance or manufacture.