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/TS_1088_AR02016/TS_1088_AR02016.tsx
import objPath from "./TS_1088_AR02016.obj";
import stepPath from "./TS_1088_AR02016.step";
import type { PushButtonProps } from "@tscircuit/props";
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
} as const;
const pinAttributes = {
pin1: { isPassive: true },
pin2: { isPassive: true },
} satisfies NonNullable<PushButtonProps["pinAttributes"]>;
export const TS_1088_AR02016 = (props: PushButtonProps<typeof pinLabels>) => {
const { name = "SW1", ...restProps } = props;
return (
<pushbutton
name={name}
pinLabels={pinLabels}
supplierPartNumbers={{
jlcpcb: ["C720477"],
}}
manufacturerPartNumber="TS-1088-AR02016"
pinAttributes={pinAttributes}
footprint="smdpads2_p4.3698mm_pw1.23mm_ph1.86mm_cyw6.0998mm_cyh3.4mm"
cadModel={{
objUrl: objPath,
stepUrl: stepPath,
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: -0.000012700000070253736, z: 0 },
}}
{...restProps}
/>
);
};