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.

system-overview.circuit.tsx

PCBPCB preview for system-overview.circuit.tsx
SchematicSchematic preview for system-overview.circuit.tsx
import { systemblock } from "tscircuit";
export default function Overview() {
	return (
		<group>
			<systemblock.page
				name="mouse"
				displayName="Clear Mouse: signals"
				direction="right"
			>
				<systemblock.component
					name="controls"
					displayName="Left / right / middle / DPI"
					description="60-degree control PCB: Omron switches, two keys and Alps encoder"
				/>
				<systemblock.component
					name="optics"
					displayName="PMW3610 + LM18-LSI"
					description="3-wire motion data; purchased optical lens"
				/>
				<systemblock.component
					name="mcu"
					displayName="nRF52832 / Bluetooth LE"
					description="BLE HID firmware still required"
				/>
				<systemblock.component
					name="host"
					displayName="Computer / tablet"
					description="Bluetooth mouse connection"
				/>
				<systemblock.connection
					from="controls"
					to="mcu"
					label="7-wire JST-PH harness"
				/>
				<systemblock.connection
					from="optics"
					to="mcu"
					label="SDIO / SCLK / CS / MOTION"
					direction="both"
				/>
				<systemblock.connection
					from="mcu"
					to="host"
					label="BLE HID"
					direction="both"
				/>
			</systemblock.page>
			<systemblock.page
				name="power"
				displayName="Clear Mouse: power"
				direction="right"
			>
				<systemblock.component
					name="usb"
					displayName="USB-C 5V"
					description="Power only; 500mA input limit"
				/>
				<systemblock.component
					name="charger"
					displayName="BQ24074 power path"
					description="About 50mA charging; external cell NTC"
				/>
				<systemblock.component
					name="battery"
					displayName="Protected 100mAh LiPo"
				/>
				<systemblock.component
					name="reg"
					displayName="TPS7A0230 → 3.0V"
					description="Low-Iq LDO; slide switch controls enable"
				/>
				<systemblock.component
					name="sensorrail"
					displayName="TLV70019 → 1.9V"
				/>
				<systemblock.connection from="usb" to="charger" kind="power" />
				<systemblock.connection
					from="charger"
					to="battery"
					kind="power"
					direction="both"
				/>
				<systemblock.connection from="charger" to="reg" kind="power" />
				<systemblock.connection from="reg" to="sensorrail" kind="power" />
			</systemblock.page>
		</group>
	);
}