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.

references/power-switch.kicad_mod

(module SW_SPDT_PCM12 (layer F.Cu) (tedit 5A02FC95)
  (descr "Ultraminiature Surface Mount Slide Switch, right-angle, https://www.ckswitches.com/media/1424/pcm.pdf")
  (attr smd)
  (fp_text reference REF** (at 0 -3.20) (layer F.SilkS) (effects (font (size 1 1) (thickness 0.15))))
  (fp_text value SW_SPDT_PCM12 (at 0 4.25) (layer F.Fab) (effects (font (size 1 1) (thickness 0.15))))
  (fp_text user %R (at 0 -3.20) (layer F.Fab) (effects (font (size 1 1) (thickness 0.15))))
  (fp_line (start -1.40 1.65) (end -1.40 2.95) (layer F.Fab) (width 0.10))
  (fp_line (start -1.40 2.95) (end -1.20 3.15) (layer F.Fab) (width 0.10))
  (fp_line (start -1.20 3.15) (end -0.35 3.15) (layer F.Fab) (width 0.10))
  (fp_line (start -0.35 3.15) (end -0.15 2.95) (layer F.Fab) (width 0.10))
  (fp_line (start -0.15 2.95) (end -0.10 2.90) (layer F.Fab) (width 0.10))
  (fp_line (start -0.10 2.90) (end -0.10 1.60) (layer F.Fab) (width 0.10))
  (fp_line (start -3.35 -1) (end -3.35 1.60) (layer F.Fab) (width 0.10))
  (fp_line (start -3.35 1.60) (end 3.35 1.60) (layer F.Fab) (width 0.10))
  (fp_line (start 3.35 1.60) (end 3.35 -1) (layer F.Fab) (width 0.10))
  (fp_line (start 3.35 -1) (end -3.35 -1) (layer F.Fab) (width 0.10))
  (fp_line (start 1.40 -1.12) (end 1.60 -1.12) (layer F.SilkS) (width 0.12))
  (fp_line (start -4.40 -2.45) (end 4.40 -2.45) (layer F.CrtYd) (width 0.05))
  (fp_line (start 4.40 -2.45) (end 4.40 2.10) (layer F.CrtYd) (width 0.05))
  (fp_line (start 4.40 2.10) (end 1.65 2.10) (layer F.CrtYd) (width 0.05))
  (fp_line (start 1.65 2.10) (end 1.65 3.40) (layer F.CrtYd) (width 0.05))
  (fp_line (start 1.65 3.40) (end -1.65 3.40) (layer F.CrtYd) (width 0.05))
  (fp_line (start -1.65 3.40) (end -1.65 2.10) (layer F.CrtYd) (width 0.05))
  (fp_line (start -1.65 2.10) (end -4.40 2.10) (layer F.CrtYd) (width 0.05))
  (fp_line (start -4.40 2.10) (end -4.40 -2.45) (layer F.CrtYd) (width 0.05))
  (fp_line (start -1.40 3.02) (end -1.20 3.23) (layer F.SilkS) (width 0.12))
  (fp_line (start -0.10 3.02) (end -0.30 3.23) (layer F.SilkS) (width 0.12))
  (fp_line (start -1.40 1.73) (end -1.40 3.02) (layer F.SilkS) (width 0.12))
  (fp_line (start -1.20 3.23) (end -0.30 3.23) (layer F.SilkS) (width 0.12))
  (fp_line (start -0.10 3.02) (end -0.10 1.73) (layer F.SilkS) (width 0.12))
  (fp_line (start -2.85 1.73) (end 2.85 1.73) (layer F.SilkS) (width 0.12))
  (fp_line (start -1.60 -1.12) (end 0.10 -1.12) (layer F.SilkS) (width 0.12))
  (fp_line (start -3.45 -0.07) (end -3.45 0.72) (layer F.SilkS) (width 0.12))
  (fp_line (start 3.45 0.72) (end 3.45 -0.07) (layer F.SilkS) (width 0.12))
  (pad "" np_thru_hole circle (at -1.50 0.33) (size 0.90 0.90) (drill 0.90) (layers *.Cu *.Mask))
  (pad "" np_thru_hole circle (at 1.50 0.33) (size 0.90 0.90) (drill 0.90) (layers *.Cu *.Mask))
  (pad 1 smd rect (at -2.25 -1.43) (size 0.70 1.50) (layers F.Cu F.Paste F.Mask))
  (pad 2 smd rect (at 0.75 -1.43) (size 0.70 1.50) (layers F.Cu F.Paste F.Mask))
  (pad 3 smd rect (at 2.25 -1.43) (size 0.70 1.50) (layers F.Cu F.Paste F.Mask))
  (pad "" smd rect (at -3.65 1.43) (size 1 0.80) (layers F.Cu F.Paste F.Mask))
  (pad "" smd rect (at 3.65 1.43) (size 1 0.80) (layers F.Cu F.Paste F.Mask))
  (pad "" smd rect (at 3.65 -0.78) (size 1 0.80) (layers F.Cu F.Paste F.Mask))
  (pad "" smd rect (at -3.65 -0.78) (size 1 0.80) (layers F.Cu F.Paste F.Mask))
  (model ${KISYS3DMOD}/Button_Switch_SMD.3dshapes/SW_SPDT_PCM12.wrl
    (at (xyz 0 0 0))
    (scale (xyz 1 1 1))
    (rotate (xyz 0 0 0))
  )
)