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

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

const pinLabels = {
	pin1: ["GND"],
	pin2: ["VOUT1"],
	pin3: ["VIN"],
	pin4: ["VOUT2"],
} as const;

export const AMS1117_3_3 = (props: ChipProps<typeof pinLabels>) => {
	return (
		<chip
			pinLabels={pinLabels}
			supplierPartNumbers={{
				jlcpcb: ["C6186"],
			}}
			manufacturerPartNumber="AMS1117_3_3"
			footprint={
				<footprint>
					<smtpad
						portHints={["pin1"]}
						pcbX="2.92995985mm"
						pcbY="-2.29997mm"
						width="2.499995mm"
						height="1.0999978mm"
						shape="rect"
					/>
					<smtpad
						portHints={["pin2"]}
						pcbX="2.92995985mm"
						pcbY="0mm"
						width="2.499995mm"
						height="1.0999978mm"
						shape="rect"
					/>
					<smtpad
						portHints={["pin3"]}
						pcbX="2.92995985mm"
						pcbY="2.29997mm"
						width="2.499995mm"
						height="1.0999978mm"
						shape="rect"
					/>
					<smtpad
						portHints={["pin4"]}
						pcbX="-3.00995715mm"
						pcbY="0mm"
						width="2.3400004mm"
						height="3.5999928mm"
						shape="rect"
					/>
					<silkscreenpath
						route={[
							{ x: -1.6114077499998984, y: -3.3262061999998878 },
							{ x: -1.6114077499998984, y: 3.3262062000000014 },
							{ x: 1.3313854499999707, y: 3.3262062000000014 },
							{ x: 1.3313854499999707, y: -3.3262061999998878 },
							{ x: -1.6114077499998984, y: -3.3262061999998878 },
						]}
					/>
					<courtyardoutline
						outline={[
							{ x: -4.428611149999938, y: 3.5774000000000115 },
							{ x: 5.012188849999916, y: 3.5774000000000115 },
							{ x: 5.012188849999916, y: -3.5773999999998978 },
							{ x: -4.428611149999938, y: -3.5773999999998978 },
							{ x: -4.428611149999938, y: 3.5774000000000115 },
						]}
					/>
				</footprint>
			}
			cadModel={{
				objUrl:
					"https://modelcdn.tscircuit.com/easyeda_models/assets/C6186.obj?uuid=e80246a9471445bfb635be848806a22e",
				stepUrl:
					"https://modelcdn.tscircuit.com/easyeda_models/assets/C6186.step?uuid=e80246a9471445bfb635be848806a22e",
				pcbRotationOffset: 180,
				modelOriginPosition: { x: 0, y: 0, z: -0.049394 },
			}}
			{...props}
		/>
	);
};