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

import objPath from "./MAX3485EIMM_TR.obj";
import stepPath from "./MAX3485EIMM_TR.step";
import type { ChipProps } from "@tscircuit/props";

const pinLabels = {
	pin1: ["RO"],
	pin2: ["N_RE"],
	pin3: ["DE"],
	pin4: ["DI"],
	pin5: ["GND"],
	pin6: ["A"],
	pin7: ["B"],
	pin8: ["VCC"],
} as const;

const pinAttributes = {
	pin5: { requiresGround: true },
	pin8: { requiresPower: true },
} as const;

export const MAX3485EIMM_TR = (props: ChipProps<typeof pinLabels>) => {
	return (
		<chip
			pinLabels={pinLabels}
			pinAttributes={pinAttributes}
			supplierPartNumbers={{
				jlcpcb: ["C5310818"],
			}}
			manufacturerPartNumber="MAX3485EIMM/TR"
			footprint="dfn8_p0.65mm_w5.9969mm_pw0.406mm_pl1.397mm_pin1location(leftside,bottom)"
			cadModel={{
				objUrl: objPath,
				stepUrl: stepPath,
				pcbRotationOffset: 0,
				modelOriginPosition: { x: 0, y: 0.000012699999999199463, z: 0 },
			}}
			{...props}
		/>
	);
};