techmannih/tests

Creates a 10mm x 10mm circuit board featuring an axial battery component labeled U1 at the origin.

Usage: To use this component in a project: 1. Import the component: ```tsx import { SomeComponent } from "@tsci/AUTHOR.PACKAGE_NAME" ``` 2. Place the component on a board: ```tsx <board width="20mm" height="20mm"> <SomeComponent name="U1" /> </board> ``` 3. Optionally, connect pins using `sel` from `@tscircuit/core` for tracing and connections. Key points: - Specify a unique `name` when placing the component - Use the predefined pins (VCC, DISCH, THRES, CTRL, GND, TRIG) - Customize placement with schematic/PCB coordinates if needed

Version
0.0.1
License
unset
Stars
0

index.tsx

PCBPCB preview for index.tsx
SchematicSchematic preview for index.tsx
export default () => (
   <board width="10mm" height="10mm">
      <potentiometer
        name="P1"
        maxResistance="10k"
        schX={0}
        schY={0}
        schRotation={0}
        footprint="0402"
      />
      <potentiometer
        name="P2"
        maxResistance="10k"
        schX={2}
        schY={0}
        schRotation={90}
        footprint="0402"
      />
      <potentiometer
        name="P3"
        maxResistance="10k"
        schX={4}
        schY={0}
        schRotation={180}
        footprint="0402"
      />
      <potentiometer
        name="P4"
        maxResistance="10k"
        schX={6}
        schY={0}
        schRotation={270}
        footprint="0402"
      />
    </board>
)