aj0070/split-keyboard-half
A USB‑C–powered RP2040 keyboard controller board with 17-key diode-isolated matrix, QSPI flash, 12 MHz crystal, reset/boot controls, 3.3 V regulation, USB interface, and TRRS serial split connector.
- Version
- 1.0.0
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone aj0070/split-keyboard-half # download the package files into ./split-keyboard-half
tsci add aj0070/split-keyboard-half # add it to your project as @tsci/aj0070.split-keyboard-halfIn 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/HC_PJ_320A_4P_D.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"]
} as const
export const HC_PJ_320A_4P_D = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
symbol={
<symbol>
<schematicpath points={[{"x":-0.1,"y":-0.6},{"x":0.32,"y":-0.6},{"x":0.38,"y":-0.5},{"x":0.44,"y":-0.6}]} strokeColor="#880000" />
<schematicpath points={[{"x":-0.2,"y":0.2},{"x":0.22,"y":0.2},{"x":0.28,"y":0.1},{"x":0.34,"y":0.2}]} strokeColor="#880000" />
<schematicpath points={[{"x":-0.2,"y":0.6},{"x":0.56,"y":0.6},{"x":0.56,"y":0.3}]} strokeColor="#880000" />
<schematicrect schX={0.56} schY={-0.35} width={0.08} height={0.3} strokeWidth={0.02} color="#880000" />
<port name="pin4" pinNumber={4} aliases={["4"]} direction="left" schX={-0.4} schY={-0.6} schStemLength={0.2} />
<port name="pin3" pinNumber={3} aliases={["3"]} direction="left" schX={-0.4} schY={-0.2} schStemLength={0.2} />
<port name="pin2" pinNumber={2} aliases={["2"]} direction="left" schX={-0.4} schY={0.2} schStemLength={0.2} />
<port name="pin1" pinNumber={1} aliases={["1"]} direction="left" schX={-0.4} schY={0.6} schStemLength={0.2} />
<schematicpath points={[{"x":-0.2,"y":-0.2},{"x":0.12,"y":-0.2},{"x":0.18,"y":-0.1},{"x":0.24,"y":-0.2}]} strokeColor="#880000" />
<schematicpath points={[{"x":-0.2,"y":-0.6},{"x":-0.1,"y":-0.6}]} strokeColor="#880000" />
<schematicpath points={[{"x":0.56,"y":0.3},{"x":0.56,"y":-0.2}]} strokeColor="#880000" />
<schematictext schX={0.085} schY={1.01} text="{NAME}" fontSize={0.2} anchor="bottom_center" />
</symbol>
}
supplierPartNumbers={{
"jlcpcb": [
"C5372851"
]
}}
manufacturerPartNumber="HC-PJ-320A-4P-D"
footprint={<footprint>
<hole pcbX="2.2750335mm" pcbY="0mm" diameter="0.999998mm" />
<hole pcbX="-4.7249525mm" pcbY="0mm" diameter="0.999998mm" />
<platedhole portHints={["pin4"]} pcbX="4.0748775mm" pcbY="2.249932mm" holeWidth="0.5000244mm" holeHeight="1.499997mm" outerWidth="1.0999978mm" outerHeight="2.0999958mm" pcbRotation="90deg" shape="pill" />
<platedhole portHints={["pin3"]} pcbX="-0.0249365mm" pcbY="2.249932mm" holeWidth="0.5000244mm" holeHeight="1.499997mm" outerWidth="1.0999978mm" outerHeight="2.0999958mm" pcbRotation="90deg" shape="pill" />
<platedhole portHints={["pin2"]} pcbX="-3.1250065mm" pcbY="2.249932mm" holeWidth="0.5000244mm" holeHeight="1.499997mm" outerWidth="1.0999978mm" outerHeight="2.0999958mm" pcbRotation="90deg" shape="pill" />
<platedhole portHints={["pin1"]} pcbX="5.1749515mm" pcbY="-2.249932mm" holeWidth="0.5000244mm" holeHeight="1.499997mm" outerWidth="1.0999978mm" outerHeight="2.0999958mm" pcbRotation="90deg" shape="pill" />
<silkscreenpath route={[{"x":-8.325021500000048,"y":2.4999950000001263},{"x":-6.325025500000038,"y":2.4999950000001263}]} />
<silkscreenpath route={[{"x":-8.325021500000048,"y":2.4999950000001263},{"x":-8.325021500000048,"y":-2.4999950000000126}]} />
<silkscreenpath route={[{"x":-6.325025500000038,"y":-2.999994000000015},{"x":4.463370499999883,"y":-2.999994000000015}]} />
<silkscreenpath route={[{"x":-3.8367399000001114,"y":2.999994000000015},{"x":-6.325025500000038,"y":2.999994000000015}]} />
<silkscreenpath route={[{"x":-0.7367461000000048,"y":2.999994000000015},{"x":-2.4133747000000767,"y":2.999994000000015}]} />
<silkscreenpath route={[{"x":3.363245699999993,"y":2.999994000000015},{"x":0.6866191000000299,"y":2.999994000000015}]} />
<silkscreenpath route={[{"x":5.724963099999854,"y":2.999994000000015},{"x":4.786610900000028,"y":2.999994000000015}]} />
<silkscreenpath route={[{"x":5.724963099999854,"y":2.999994000000015},{"x":5.724963099999854,"y":-1.4704821999998785}]} />
<silkscreenpath route={[{"x":-6.325025500000038,"y":2.999994000000015},{"x":-6.325025500000038,"y":-2.999994000000015}]} />
<silkscreenpath route={[{"x":-8.325021500000048,"y":-2.4999950000000126},{"x":-6.325025500000038,"y":-2.4999950000000126}]} />
<silkscreentext text="{NAME}" pcbX="-1.3023025mm" pcbY="3.9972mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-8.574996100000021,"y":3.249994000000015},{"x":6.474949400000014,"y":3.249994000000015},{"x":6.474949400000014,"y":-3.249994000000015},{"x":-8.574996100000021,"y":-3.249994000000015},{"x":-8.574996100000021,"y":3.249994000000015}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5372851.obj?uuid=1dc42aa828974c2a86f6a8c3fb540c91",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5372851.step?uuid=1dc42aa828974c2a86f6a8c3fb540c91",
pcbRotationOffset: 0,
modelOriginPosition: { x: 6.8250038000000135, y: 0.000050000000000105516, z: -2.500006 },
}}
{...props}
/>
)
}