tscircuit/boosters

This code defines PCB schematics, footprints, and 3D CAD models for various integrated circuits, connectors, sensors, and electronic components used in TI booster packs and modules.

Version
0.1.19
License
unset
Stars
0

boostxl-tlv8544pir/imports/TLV333IDBVR.tsx

import type { ChipProps } from "@tscircuit/props";

const pinLabels = {
	pin1: ["OUT"],
	pin2: ["V_NEG"],
	pin3: ["IN_POS"],
	pin4: ["IN_NEG"],
	pin5: ["V_POS"],
} as const;

export const TLV333IDBVR = (props: ChipProps<typeof pinLabels>) => {
	return (
		<chip
			pinLabels={pinLabels}
			symbol={props.noSchematicRepresentation ? undefined : (
				<symbol>
					<port
						name="pin5"
						pinNumber={5}
						aliases={["V_POS"]}
						direction="up"
						schX={0}
						schY={1.016}
						schStemLength={0.508}
					/>
					<port
						name="pin1"
						pinNumber={1}
						aliases={["OUT"]}
						direction="right"
						schX={1.016}
						schY={0}
						schStemLength={0.508}
					/>
					<port
						name="pin2"
						pinNumber={2}
						aliases={["V_NEG"]}
						direction="down"
						schX={0}
						schY={-1.016}
						schStemLength={0.508}
					/>
					<port
						name="pin3"
						pinNumber={3}
						aliases={["IN_POS"]}
						direction="left"
						schX={-1.016}
						schY={-0.254}
						schStemLength={0.508}
					/>
					<port
						name="pin4"
						pinNumber={4}
						aliases={["IN_NEG"]}
						direction="left"
						schX={-1.016}
						schY={0.254}
						schStemLength={0.508}
					/>
					<schematicpath
						points={[
							{ x: 0, y: -0.254 },
							{ x: 0, y: -0.508 },
						]}
						strokeWidth={0.0254}
						strokeColor="#880000"
					/>
					<schematicpath
						points={[
							{ x: 0, y: 0.508 },
							{ x: 0, y: 0.254 },
						]}
						strokeWidth={0.0254}
						strokeColor="#880000"
					/>
					<schematicpath
						points={[
							{ x: -0.3302, y: -0.1778 },
							{ x: -0.3302, y: -0.3302 },
						]}
						strokeWidth={0.0254}
						strokeColor="#880000"
					/>
					<schematicpath
						points={[
							{ x: -0.4064, y: -0.254 },
							{ x: -0.254, y: -0.254 },
						]}
						strokeWidth={0.0254}
						strokeColor="#880000"
					/>
					<schematicpath
						points={[
							{ x: -0.4064, y: 0.254 },
							{ x: -0.254, y: 0.254 },
						]}
						strokeWidth={0.0254}
						strokeColor="#880000"
					/>
					<schematicpath
						points={[
							{ x: -0.508, y: -0.508 },
							{ x: 0.508, y: 0 },
							{ x: -0.508, y: 0.508 },
							{ x: -0.508, y: -0.508 },
						]}
						strokeWidth={0.0254}
						strokeColor="#880000"
					/>
				</symbol>
			)}
			supplierPartNumbers={{
				jlcpcb: ["C473369"],
			}}
			manufacturerPartNumber="TLV333IDBVR"
			footprint={
				<footprint>
					<smtpad
						portHints={["pin5"]}
						pcbX="-0.94996mm"
						pcbY="1.100074mm"
						width="0.5999988mm"
						height="0.999998mm"
						shape="rect"
					/>
					<smtpad
						portHints={["pin4"]}
						pcbX="0.94996mm"
						pcbY="1.100074mm"
						width="0.5999988mm"
						height="0.999998mm"
						shape="rect"
					/>
					<smtpad
						portHints={["pin1"]}
						pcbX="-0.94996mm"
						pcbY="-1.100074mm"
						width="0.5999988mm"
						height="0.999998mm"
						shape="rect"
					/>
					<smtpad
						portHints={["pin3"]}
						pcbX="0.94996mm"
						pcbY="-1.100074mm"
						width="0.5999988mm"
						height="0.999998mm"
						shape="rect"
					/>
					<smtpad
						portHints={["pin2"]}
						pcbX="0mm"
						pcbY="-1.100074mm"
						width="0.5999988mm"
						height="0.999998mm"
						shape="rect"
					/>
					<silkscreenpath
						route={[
							{ x: -1.5240000000001146, y: 0.6984999999999673 },
							{ x: -1.5240000000001146, y: -0.6984999999999673 },
						]}
					/>
					<silkscreenpath
						route={[
							{ x: 1.3969999999999345, y: 0.4224020000000337 },
							{ x: 1.3969999999999345, y: -0.4223765999998932 },
						]}
					/>
					<silkscreenpath
						route={[
							{ x: -0.3810000000000855, y: 0.8890000000001237 },
							{ x: 0.3809999999999718, y: 0.8890000000001237 },
						]}
					/>
					<silkscreentext
						text="{NAME}"
						pcbX="-0.0381mm"
						pcbY="2.6002mm"
						anchorAlignment="center"
						fontSize="1mm"
					/>
					<courtyardoutline
						outline={[
							{ x: -1.7740000000001146, y: 1.8502000000000862 },
							{ x: 1.6977999999999156, y: 1.8502000000000862 },
							{ x: 1.6977999999999156, y: -2.1803999999999633 },
							{ x: -1.7740000000001146, y: -2.1803999999999633 },
							{ x: -1.7740000000001146, y: 1.8502000000000862 },
						]}
					/>
				</footprint>
			}
			cadModel={{
				objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C473369.obj?uuid=de83a77687e64788a98e316d865b3813",
				stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C473369.step?uuid=de83a77687e64788a98e316d865b3813",
				pcbRotationOffset: 0,
				modelOriginPosition: { x: 0, y: 0, z: -0.75 },
			}}
			{...props}
		/>
	);
};