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-eight

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

import objPath from "./DS3231SN_T_R.obj";
import type { ChipProps } from "@tscircuit/props";

const pinLabels = {
	pin1: ["32kHz"],
	pin2: ["VCC"],
	pin3: ["INTSQW"],
	pin4: ["RST"],
	pin5: ["pin5"],
	pin6: ["pin6"],
	pin7: ["pin7"],
	pin8: ["pin8"],
	pin9: ["pin9"],
	pin10: ["pin10"],
	pin11: ["pin11"],
	pin12: ["pin12"],
	pin13: ["GND"],
	pin14: ["VBAT"],
	pin15: ["SDA"],
	pin16: ["SCL"],
} as const;

const pinAttributes = {
	pin2: { requiresPower: true },
	pin13: { requiresGround: true },
} as const;

export const DS3231SN_T_R = (props: ChipProps<typeof pinLabels>) => {
	return (
		<chip
			pinLabels={pinLabels}
			pinAttributes={pinAttributes}
			supplierPartNumbers={{
				jlcpcb: ["C9866"],
			}}
			manufacturerPartNumber={"DS3231SN#T&R"}
			footprint="soic16_pillpads_w11.9mm_pw0.57mm_pl2.4mm_pin1location(leftside,bottom)"
			cadModel={{
				objUrl: objPath,
				stepUrl:
					"https://modelcdn.tscircuit.com/easyeda_models/assets/C9866.step?uuid=5eab397ba6c7470199f8f0425efad579",
				pcbRotationOffset: 0,
				modelOriginPosition: { x: 0.000012700000070253736, y: 0, z: -0.049425 },
			}}
			{...props}
		/>
	);
};