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/PMW3610DM_SUDU.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["VCSEL_POS"],
pin2: ["SDIO"],
pin3: ["SCLK"],
pin4: ["NC"],
pin5: ["NCS"],
pin6: ["VDDIO"],
pin7: ["NRESET"],
pin8: ["MOTION"],
pin9: ["VCP"],
pin10: ["PASS_T"],
pin11: ["GND"],
pin12: ["CP"],
pin13: ["CN"],
pin14: ["VDD"],
pin15: ["XYLASER"],
pin16: ["VCSEL_NEG"]
} as const
const pinAttributes = {
pin4: {doNotConnect: true},
pin11: {requiresGround: true},
pin14: {requiresPower: true}
} as const
export const PMW3610DM_SUDU = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
pinAttributes={pinAttributes}
supplierPartNumbers={{
"jlcpcb": [
"C42442560"
]
}}
manufacturerPartNumber="PMW3610DM-SUDU"
footprint={<footprint>
{/* PixArt figure 5: 16.96 x 8.60mm; offset referenced to imported pin 1. */}
<cutout name="OPTICAL_OPENING" shape="rect" width={16.96} height={8.6} pcbX={-0.9989452} pcbY={0}/>
<platedhole portHints={["pin1"]} pcbX={-6.6989452} pcbY={-5.350002} holeDiameter={0.700024} rectPadWidth={1.0999978} rectPadHeight={1.0999978} shape="circular_hole_with_rect_pad" />
<platedhole portHints={["pin2"]} pcbX="-4.9189132mm" pcbY="-5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole portHints={["pin3"]} pcbX="-3.1391352mm" pcbY="-5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole portHints={["pin4"]} pcbX="-1.3591032mm" pcbY="-5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole portHints={["pin5"]} pcbX="0.4209288mm" pcbY="-5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole portHints={["pin6"]} pcbX="2.2009608mm" pcbY="-5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole portHints={["pin7"]} pcbX="3.9809928mm" pcbY="-5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole portHints={["pin8"]} pcbX="5.7610248mm" pcbY="-5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole portHints={["pin9"]} pcbX="6.6510408mm" pcbY="5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole portHints={["pin10"]} pcbX="4.8710088mm" pcbY="5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole portHints={["pin11"]} pcbX="3.0909768mm" pcbY="5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole portHints={["pin12"]} pcbX="1.3109448mm" pcbY="5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole portHints={["pin13"]} pcbX="-0.4690872mm" pcbY="5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole portHints={["pin14"]} pcbX="-2.2491192mm" pcbY="5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole portHints={["pin15"]} pcbX="-4.0291512mm" pcbY="5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<platedhole portHints={["pin16"]} pcbX="-5.8089292mm" pcbY="5.350002mm" outerDiameter="1.0999978mm" holeDiameter="0.700024mm" shape="circle" />
<silkscreenpath route={[{"x":7.955584800000111,"y":-5.334126999999853},{"x":6.541998600000056,"y":-5.334126999999853}]} />
<silkscreenpath route={[{"x":7.955584800000111,"y":5.333873000000153},{"x":7.432014600000116,"y":5.333873000000153}]} />
<silkscreenpath route={[{"x":-6.6268091999999115,"y":5.333999999999946},{"x":-8.260029199999849,"y":5.333999999999946},{"x":-8.260029199999849,"y":-5.33400000000006},{"x":-7.480249200000003,"y":-5.33400000000006}]} />
<silkscreenpath route={[{"x":7.955584800000111,"y":5.333873000000153},{"x":7.955584800000111,"y":-5.334126999999853}]} />
<silkscreenpath route={[{"x":-4.810023399999864,"y":5.333873000000153},{"x":-5.028056999999876,"y":5.333873000000153}]} />
<silkscreenpath route={[{"x":-3.0300422000000253,"y":5.333873000000153},{"x":-3.248075799999924,"y":5.333873000000153}]} />
<silkscreenpath route={[{"x":-1.249984799999993,"y":5.333873000000153},{"x":-1.4680945999997448,"y":5.333873000000153}]} />
<silkscreenpath route={[{"x":0.5299963999999591,"y":5.333873000000153},{"x":0.31196280000006027,"y":5.333873000000153}]} />
<silkscreenpath route={[{"x":2.3099776000001384,"y":5.333873000000153},{"x":2.091944000000126,"y":5.333873000000153}]} />
<silkscreenpath route={[{"x":4.08995880000009,"y":5.333873000000153},{"x":3.871925200000078,"y":5.333873000000153}]} />
<silkscreenpath route={[{"x":5.869940000000156,"y":5.333873000000153},{"x":5.651906400000257,"y":5.333873000000153}]} />
<silkscreenpath route={[{"x":4.761915800000111,"y":-5.334126999999853},{"x":4.979949400000237,"y":-5.334126999999853}]} />
<silkscreenpath route={[{"x":2.9819346000001588,"y":-5.334126999999853},{"x":3.1999682000000575,"y":-5.334126999999853}]} />
<silkscreenpath route={[{"x":1.2019533999999794,"y":-5.334126999999853},{"x":1.4199870000001056,"y":-5.334126999999853}]} />
<silkscreenpath route={[{"x":-0.5780277999999726,"y":-5.334126999999853},{"x":-0.3599941999999601,"y":-5.334126999999853}]} />
<silkscreenpath route={[{"x":-2.3580851999998913,"y":-5.334126999999853},{"x":-2.139975399999912,"y":-5.334126999999853}]} />
<silkscreenpath route={[{"x":-4.138066399999843,"y":-5.334126999999853},{"x":-3.9200327999999445,"y":-5.334126999999853}]} />
<silkscreenpath route={[{"x":-5.9178697999999486,"y":-5.334126999999853},{"x":-5.700013999999896,"y":-5.334126999999853}]} />
<silkscreencircle pcbX="-7.6499212mm" pcbY="-5.866892mm" radius="0.088646mm" />
<silkscreentext text="{NAME}" pcbX="-0.1523492mm" pcbY="6.94614mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-8.474012000000016,"y":6.150000900000009},{"x":8.22595560000002,"y":6.150000900000009},{"x":8.22595560000002,"y":-6.150000899999895},{"x":-8.474012000000016,"y":-6.150000899999895},{"x":-8.474012000000016,"y":6.150000900000009}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C42442560.obj?uuid=667c0b2f6ded47b089887f7200447c72",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C42442560.step?uuid=667c0b2f6ded47b089887f7200447c72",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0.12402819999977055, y: 0.0001142999999501626, z: -0.1000055999999998 },
}}
{...props}
/>
)
}