imrishabh18/boostxl-drv8305evm

This code defines the physical hardware layouts and key components (MOSFET, motor driver, and shunt resistor) with their footprints, pin labels, and 3D models for electronic circuit design.

Version
1.0.9
License
unset
Stars
0

imports/HoLLR2512_3W_7mR_1_.tsx

import type { ResistorProps } from "@tscircuit/props";
import { CAD_MODELS } from "./cadModels";

const ShuntFootprint = () => (
	<footprint>
		<smtpad
			portHints={["pin1"]}
			pcbX={-2.667}
			pcbY={0}
			width="2.5mm"
			height="3.6mm"
			shape="rect"
		/>
		<smtpad
			portHints={["pin2"]}
			pcbX={2.667}
			pcbY={0}
			width="2.5mm"
			height="3.6mm"
			shape="rect"
		/>
		<courtyardrect width="7.2mm" height="4.2mm" />
	</footprint>
);

export const HoLLR2512_3W_7mR_1_ = (
	props: Omit<ResistorProps, "resistance">,
) => (
	<resistor
		resistance={0.007}
		tolerance="1%"
		manufacturerPartNumber="HoLLR2512-3W-7mR-1%"
		supplierPartNumbers={{ jlcpcb: ["C2985710"] }}
		footprint={<ShuntFootprint />}
		cadModel={{
			...CAD_MODELS.shunt,
			pcbRotationOffset: 0,
			modelOriginPosition: { x: 0, y: 0.000012699999956566899, z: -0.01 },
		}}
		{...props}
	/>
);