Devesh36/bench-eight
Eight-channel 0–10 V measurement and control console: dual ADS1115 ADCs, buffered inputs, Pico controller, microSD, RTC, RS-485, four protected low-voltage outputs and a separate OLED/encoder panel in a tscircuit assembly.
- Version
- 0.1.3
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone Devesh36/bench-eight # download the package files into ./bench-eight
tsci add Devesh36/bench-eight # add it to your project as @tsci/Devesh36.bench-eightIn 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/BAT54S/BAT54S.tsx
import objPath from "./BAT54S.obj";
import stepPath from "./BAT54S.step";
import type { ChipProps } from "@tscircuit/props";
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
} as const;
const pinAttributes = {
pin2: { isPassive: true },
pin3: { isPassive: true },
pin1: { isPassive: true },
} satisfies NonNullable<ChipProps["pinAttributes"]>;
export const BAT54S = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
pinAttributes={pinAttributes}
supplierPartNumbers={{
jlcpcb: ["C2903789"],
}}
manufacturerPartNumber="BAT54S"
footprint="sot23w_p1.15mm_pw0.6mm_pin1location(rightside,bottom)"
cadModel={{
objUrl: objPath,
stepUrl: stepPath,
pcbRotationOffset: 180,
modelOriginPosition: {
x: 0.00003809999999759839,
y: -0.00003810000001180924,
z: 0.050795,
},
}}
{...props}
/>
);
};