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

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

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

const pinAttributes = {
  pin2: {requiresGround: true},
  pin4: {isPassive: true},
  pin3: {isInput: true, canUseInternalPulldown: true},
  pin1: {isInput: true, requiresPower: true},
  pin5: {isOutput: true, providesPower: true, providesVoltage: "3V", shouldHaveDecouplingCapacitor: true}
} satisfies NonNullable<ChipProps["pinAttributes"]>

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