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/ABS07_32_768KHZ_9_T.tsx

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

type ImportedCrystalProps = Omit<CrystalProps, "frequency" | "pinVariant">

export const ABS07_32_768KHZ_9_T = (props: ImportedCrystalProps) => {
  const { name = "X1", loadCapacitance, ...restProps } = props

  return (
    <crystal
      name={name}
      frequency="32.768kHz"
      loadCapacitance={loadCapacitance}
      pinVariant="two_pin"
      supplierPartNumbers={{
  "jlcpcb": [
    "C179635"
  ]
}}
      manufacturerPartNumber="ABS07-32.768KHZ-9-T"
      footprint={<footprint>
        <smtpad portHints={["pin2"]} pcbX="1.274953mm" pcbY="0mm" width="1.0500106mm" height="1.6999966mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="-1.274953mm" pcbY="0mm" width="1.0500106mm" height="1.6999966mm" shape="rect" />
<silkscreenpath route={[{"x":-2.0285710000000563,"y":-1.078484000000003},{"x":-2.0285710000000563,"y":1.0787379999999303},{"x":2.0286217999999963,"y":1.0787379999999303},{"x":2.0286217999999963,"y":-1.078484000000003},{"x":-2.0285710000000563,"y":-1.078484000000003}]} />
<silkscreentext text="{NAME}" pcbX="0.003429mm" pcbY="2.080516mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-2.0499582999999575,"y":1.0999983000000384},{"x":2.0499582999999575,"y":1.0999983000000384},{"x":2.0499582999999575,"y":-1.0999983000000384},{"x":-2.0499582999999575,"y":-1.0999983000000384},{"x":-2.0499582999999575,"y":1.0999983000000384}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C179635.obj?uuid=eac14d4facdb45dfa3b66d00e2a3c6e4",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C179635.step?uuid=eac14d4facdb45dfa3b66d00e2a3c6e4",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: -0.000025400000026820635, y: -0.00013969999997698324, z: -0.01 },
      }}
      {...restProps}
    />
  )
}