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-mouse

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

import type { ChipProps } from "@tscircuit/props";

const pinLabels = {
	pin1: ["IN"],
	pin2: ["GND"],
	pin3: ["EN"],
	pin4: ["NC"],
	pin5: ["OUT"],
} as const;

const pinAttributes = {
	pin1: { requiresPower: true },
	pin2: { requiresGround: true },
	pin4: { doNotConnect: true },
} as const;

export const TLV70019DDCR = (props: ChipProps<typeof pinLabels>) => {
	return (
		<chip
			pinLabels={pinLabels}
			pinAttributes={pinAttributes}
			supplierPartNumbers={{
				jlcpcb: ["C2862411"],
			}}
			manufacturerPartNumber="TLV70019DDCR"
			footprint="sot25_w2.2mm_pl1mm_pin1location(rightside,bottom)"
			cadModel={{
				objUrl:
					"https://modelcdn.tscircuit.com/easyeda_models/assets/C2862411.obj?uuid=8c971aea3af54c53b74baeb1f489d393",
				stepUrl:
					"https://modelcdn.tscircuit.com/easyeda_models/assets/C2862411.step?uuid=8c971aea3af54c53b74baeb1f489d393",
				pcbRotationOffset: 90,
				modelOriginPosition: {
					x: -0.000012699999956566899,
					y: 0.00006349999989652133,
					z: -0.7,
				},
			}}
			{...props}
		/>
	);
};