Devesh36/clear-mouse
A transparent, right-handed wireless mouse assembly with a 44×58 mm control PCB, LiPo battery, optical sensor, click buttons, scroll encoder, DPI/middle buttons, USB‑C charging, and 3D‑printed housing/mechanical hardware.
- Version
- 0.1.5
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone Devesh36/clear-mouse # download the package files into ./clear-mouse
tsci add Devesh36/clear-mouse # add it to your project as @tsci/Devesh36.clear-mouseIn 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/PZ127_1_06_Z.tsx
import type { ChipProps } from "@tscircuit/props";
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"],
pin5: ["pin5"],
pin6: ["pin6"],
} as const;
export const PZ127_1_06_Z = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
pinAttributes={{
pin1: { isPassive: true },
pin2: { isPassive: true },
pin3: { isPassive: true },
pin4: { isPassive: true },
pin5: { isPassive: true },
pin6: { isPassive: true },
}}
supplierPartNumbers={{
jlcpcb: ["C5372829"],
}}
manufacturerPartNumber="PZ127-1-06-Z"
footprint={
<footprint insertionDirection="from_above">
<platedhole
portHints={["pin4"]}
pcbX="0.64008mm"
pcbY="0.000127mm"
outerDiameter="0.999998mm"
holeDiameter="0.700024mm"
shape="circle"
/>
<platedhole
portHints={["pin1"]}
pcbX="-3.16992mm"
pcbY="0.000127mm"
holeWidth="0.700024mm"
holeHeight="0.700024mm"
outerWidth="0.999998mm"
outerHeight="0.999998mm"
rectPad={true}
pcbRotation="0deg"
shape="pill"
/>
<platedhole
portHints={["pin2"]}
pcbX="-1.89992mm"
pcbY="0.000127mm"
outerDiameter="0.999998mm"
holeDiameter="0.700024mm"
shape="circle"
/>
<platedhole
portHints={["pin3"]}
pcbX="-0.62992mm"
pcbY="0.000127mm"
outerDiameter="0.999998mm"
holeDiameter="0.700024mm"
shape="circle"
/>
<platedhole
portHints={["pin5"]}
pcbX="1.91008mm"
pcbY="0.000127mm"
outerDiameter="0.999998mm"
holeDiameter="0.700024mm"
shape="circle"
/>
<platedhole
portHints={["pin6"]}
pcbX="3.18008mm"
pcbY="0.000127mm"
outerDiameter="0.999998mm"
holeDiameter="0.700024mm"
shape="circle"
/>
<silkscreenrect
pcbX="0mm"
pcbY="0mm"
width="7.62mm"
height="2.500122mm"
strokeWidth="0.254mm"
/>
<silkscreentext
text="{NAME}"
pcbX="-0.00762mm"
pcbY="2.244727mm"
anchorAlignment="center"
fontSize="1mm"
/>
<courtyardoutline
outline={[
{ x: -4.059898400000009, y: 1.5001118000000133 },
{ x: 4.070083799999992, y: 1.5001118000000133 },
{ x: 4.070083799999992, y: -1.499883199999985 },
{ x: -4.059898400000009, y: -1.499883199999985 },
{ x: -4.059898400000009, y: 1.5001118000000133 },
]}
/>
</footprint>
}
cadModel={{
objUrl:
"https://modelcdn.tscircuit.com/easyeda_models/assets/C5372829.obj?uuid=16c660681fe74b149a6613997c1a5276",
stepUrl:
"https://modelcdn.tscircuit.com/easyeda_models/assets/C5372829.step?uuid=16c660681fe74b149a6613997c1a5276",
pcbRotationOffset: 0,
modelOriginPosition: {
x: -0.010092700000005728,
y: -0.00011430000000700602,
z: 0.9999949999999997,
},
}}
{...props}
/>
);
};