imrishabh18/STM32F746G-DISCO

This code defines the hardware layout of a USB audio vu-meter circuit, including key components such as voltage regulators, microcontroller (STM32F303CCT6), audio codec (PCM2902), USB-Ethernet isolator, power regulation, reset switches, and associated passive components, with their physical footprints, pin configurations, and routing for PCB design.

Version
1.0.2
License
unset
Stars
0

imports/PZ254V_11_06P.tsx

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

const pinLabels = {
	pin1: ["pin1"],
	pin2: ["pin2"],
	pin3: ["pin3"],
	pin4: ["pin4"],
	pin5: ["pin5"],
	pin6: ["pin6"],
} as const;

export const PZ254V_11_06P = (props: ChipProps<typeof pinLabels>) => {
	return (
		<chip
			pinLabels={pinLabels}
			supplierPartNumbers={{
				jlcpcb: ["C492405"],
			}}
			manufacturerPartNumber="PZ254V_11_06P"
			footprint={
				<footprint>
					<platedhole
						portHints={["pin1"]}
						pcbX="-6.35mm"
						pcbY="0mm"
						outerDiameter="1.6999966mm"
						holeDiameter="1.1000232mm"
						shape="circle"
					/>
					<platedhole
						portHints={["pin2"]}
						pcbX="-3.81mm"
						pcbY="0mm"
						outerDiameter="1.6999966mm"
						holeDiameter="1.1000232mm"
						shape="circle"
					/>
					<platedhole
						portHints={["pin3"]}
						pcbX="-1.27mm"
						pcbY="0mm"
						outerDiameter="1.6999966mm"
						holeDiameter="1.1000232mm"
						shape="circle"
					/>
					<platedhole
						portHints={["pin4"]}
						pcbX="1.27mm"
						pcbY="0mm"
						outerDiameter="1.6999966mm"
						holeDiameter="1.1000232mm"
						shape="circle"
					/>
					<platedhole
						portHints={["pin5"]}
						pcbX="3.81mm"
						pcbY="0mm"
						outerDiameter="1.6999966mm"
						holeDiameter="1.1000232mm"
						shape="circle"
					/>
					<platedhole
						portHints={["pin6"]}
						pcbX="6.35mm"
						pcbY="0mm"
						outerDiameter="1.6999966mm"
						holeDiameter="1.1000232mm"
						shape="circle"
					/>
					<silkscreenpath
						route={[
							{ x: -7.599984800000129, y: 1.2999974000001657 },
							{ x: 7.649997400000075, y: 1.2999974000001657 },
							{ x: 7.649997400000075, y: -1.299997400000052 },
							{ x: -7.599984800000129, y: -1.299997400000052 },
							{ x: -7.599984800000129, y: 1.2999974000001657 },
						]}
					/>
					<silkscreenpath
						route={[
							{ x: -5.056479600000102, y: 1.2700000000000955 },
							{ x: -5.056479600000102, y: -1.2699999999999818 },
						]}
					/>
					<silkscreentext
						text="{NAME}"
						pcbX="0mm"
						pcbY="2.2954mm"
						anchorAlignment="center"
						fontSize="1mm"
					/>
					<courtyardoutline
						outline={[
							{ x: -7.895399999999995, y: 1.5453999999999724 },
							{ x: 7.895399999999881, y: 1.5453999999999724 },
							{ x: 7.895399999999881, y: -1.5453999999999724 },
							{ x: -7.895399999999995, y: -1.5453999999999724 },
							{ x: -7.895399999999995, y: 1.5453999999999724 },
						]}
					/>
				</footprint>
			}
			cadModel={{
				objUrl:
					"https://modelcdn.tscircuit.com/easyeda_models/assets/C492405.obj?uuid=4634afcefac14db98da79703b27fd9c2",
				stepUrl:
					"https://modelcdn.tscircuit.com/easyeda_models/assets/C492405.step?uuid=4634afcefac14db98da79703b27fd9c2",
				pcbRotationOffset: 0,
				modelOriginPosition: { x: 0, y: 0, z: -0.000005999999999950489 },
			}}
			{...props}
		/>
	);
};