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

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

const pinLabels = {
	pin1: ["Q1"],
	pin2: ["Q2"],
	pin3: ["Q3"],
	pin4: ["Q4"],
	pin5: ["Q5"],
	pin6: ["Q6"],
	pin7: ["Q7"],
	pin8: ["GND"],
	pin9: ["Q7S"],
	pin10: ["MR"],
	pin11: ["SHCP"],
	pin12: ["STCP"],
	pin13: ["OE"],
	pin14: ["DS"],
	pin15: ["Q0"],
	pin16: ["VCC"],
} as const;

export const A_74HC595D_118 = (props: ChipProps<typeof pinLabels>) => {
	return (
		<chip
			pinLabels={pinLabels}
			supplierPartNumbers={{
				jlcpcb: ["C5947"],
			}}
			manufacturerPartNumber="A_74HC595D_118"
			footprint={
				<footprint>
					<smtpad
						portHints={["pin1"]}
						pcbX="-4.445mm"
						pcbY="-2.73558mm"
						width="0.6020054mm"
						height="1.9709892mm"
						shape="rect"
					/>
					<smtpad
						portHints={["pin2"]}
						pcbX="-3.175mm"
						pcbY="-2.73558mm"
						width="0.6020054mm"
						height="1.9709892mm"
						shape="rect"
					/>
					<smtpad
						portHints={["pin3"]}
						pcbX="-1.905mm"
						pcbY="-2.73558mm"
						width="0.6020054mm"
						height="1.9709892mm"
						shape="rect"
					/>
					<smtpad
						portHints={["pin4"]}
						pcbX="-0.635mm"
						pcbY="-2.73558mm"
						width="0.6020054mm"
						height="1.9709892mm"
						shape="rect"
					/>
					<smtpad
						portHints={["pin5"]}
						pcbX="0.635mm"
						pcbY="-2.73558mm"
						width="0.6020054mm"
						height="1.9709892mm"
						shape="rect"
					/>
					<smtpad
						portHints={["pin6"]}
						pcbX="1.905mm"
						pcbY="-2.73558mm"
						width="0.6020054mm"
						height="1.9709892mm"
						shape="rect"
					/>
					<smtpad
						portHints={["pin7"]}
						pcbX="3.175mm"
						pcbY="-2.73558mm"
						width="0.6020054mm"
						height="1.9709892mm"
						shape="rect"
					/>
					<smtpad
						portHints={["pin8"]}
						pcbX="4.445mm"
						pcbY="-2.73558mm"
						width="0.6020054mm"
						height="1.9709892mm"
						shape="rect"
					/>
					<smtpad
						portHints={["pin16"]}
						pcbX="-4.445mm"
						pcbY="2.73558mm"
						width="0.6020054mm"
						height="1.9709892mm"
						shape="rect"
					/>
					<smtpad
						portHints={["pin15"]}
						pcbX="-3.175mm"
						pcbY="2.73558mm"
						width="0.6020054mm"
						height="1.9709892mm"
						shape="rect"
					/>
					<smtpad
						portHints={["pin14"]}
						pcbX="-1.905mm"
						pcbY="2.73558mm"
						width="0.6020054mm"
						height="1.9709892mm"
						shape="rect"
					/>
					<smtpad
						portHints={["pin13"]}
						pcbX="-0.635mm"
						pcbY="2.73558mm"
						width="0.6020054mm"
						height="1.9709892mm"
						shape="rect"
					/>
					<smtpad
						portHints={["pin12"]}
						pcbX="0.635mm"
						pcbY="2.73558mm"
						width="0.6020054mm"
						height="1.9709892mm"
						shape="rect"
					/>
					<smtpad
						portHints={["pin11"]}
						pcbX="1.905mm"
						pcbY="2.73558mm"
						width="0.6020054mm"
						height="1.9709892mm"
						shape="rect"
					/>
					<smtpad
						portHints={["pin10"]}
						pcbX="3.175mm"
						pcbY="2.73558mm"
						width="0.6020054mm"
						height="1.9709892mm"
						shape="rect"
					/>
					<smtpad
						portHints={["pin9"]}
						pcbX="4.445mm"
						pcbY="2.73558mm"
						width="0.6020054mm"
						height="1.9709892mm"
						shape="rect"
					/>
					<silkscreenpath
						route={[
							{ x: -5.026202800000078, y: -1.5214091999999937 },
							{ x: -5.026202800000078, y: 1.5214092000001074 },
							{ x: 5.0262027999999646, y: 1.5214092000001074 },
							{ x: 5.0262027999999646, y: -1.5214091999999937 },
							{ x: -5.026202800000078, y: -1.5214091999999937 },
						]}
					/>
					<courtyardoutline
						outline={[
							{ x: -5.609400000000051, y: 3.6789999999999736 },
							{ x: 5.279199999999946, y: 3.6789999999999736 },
							{ x: 5.279199999999946, y: -3.8822000000000116 },
							{ x: -5.609400000000051, y: -3.8822000000000116 },
							{ x: -5.609400000000051, y: 3.6789999999999736 },
						]}
					/>
				</footprint>
			}
			cadModel={{
				objUrl:
					"https://modelcdn.tscircuit.com/easyeda_models/assets/C5947.obj?uuid=9adfdf34b7774b23880141fd3e8b4dbb",
				stepUrl:
					"https://modelcdn.tscircuit.com/easyeda_models/assets/C5947.step?uuid=9adfdf34b7774b23880141fd3e8b4dbb",
				pcbRotationOffset: 0,
				modelOriginPosition: { x: 0, y: 0, z: 0.000575 },
			}}
			{...props}
		/>
	);
};