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.

imports/FH34SRJ_10S_0_5SH_50_.tsx

import * as React from 'react'
import type { ConnectorProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["pin1"],
  pin2: ["pin2"],
  pin3: ["pin3"],
  pin4: ["pin4"],
  pin5: ["pin5"],
  pin6: ["pin6"],
  pin7: ["pin7"],
  pin8: ["pin8"],
  pin9: ["pin9"],
  pin10: ["pin10"],
  pin11: ["pin11"],
  pin12: ["pin12"]
} as const

export const FH34SRJ_10S_0_5SH_50_ = (props: ConnectorProps) => {
  return (
    <connector
      pinCount={12}
      noConnect={['pin11','pin12']}
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C324723"
  ]
}}
      manufacturerPartNumber="FH34SRJ-10S-0.5SH(50)"
      footprint={<footprint insertionDirection="from_bottom">
        <smtpad portHints={["pin1"]} pcbX="2.2500463mm" pcbY="1.2501245mm" width="0.2999994mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="1.7499203mm" pcbY="1.2501245mm" width="0.2999994mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="1.2500483mm" pcbY="1.2501245mm" width="0.2999994mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="0.7499223mm" pcbY="1.2501245mm" width="0.2999994mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="0.2500503mm" pcbY="1.2501245mm" width="0.2999994mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="-0.2500757mm" pcbY="1.2501245mm" width="0.2999994mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="-0.7499477mm" pcbY="1.2501245mm" width="0.2999994mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="-1.2500737mm" pcbY="1.2501245mm" width="0.2999994mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="-1.7499457mm" pcbY="1.2501245mm" width="0.2999994mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin10"]} pcbX="-2.2500717mm" pcbY="1.2501245mm" width="0.2999994mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin11"]} pcbX="-3.2499935mm" pcbY="-1.2498705mm" width="0.3999992mm" height="0.7999984mm" shape="rect" />
<smtpad portHints={["pin12"]} pcbX="3.2499935mm" pcbY="-1.2501245mm" width="0.3999992mm" height="0.7999984mm" shape="rect" />
<courtyardoutline outline={[{"x":-3.750005700000088,"y":1.9001236999999946},{"x":3.7499802999999474,"y":1.9001236999999946},{"x":3.7499802999999474,"y":-2.0000980999999456},{"x":-3.750005700000088,"y":-2.0000980999999456},{"x":-3.750005700000088,"y":1.9001236999999946}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C324723.obj?uuid=ae1074c4f73a4108bff40b3ed17d6f2d",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C324723.step?uuid=ae1074c4f73a4108bff40b3ed17d6f2d",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 2.2500126999999566, y: -0.9198986999999259, z: -0.05 },
      }}
      {...props}
    />
  )
}