seveibar/f1c1990s-dev-board

This code manages the entire PCB assembly process for a computer hardware module, including component placement, schematic integration, automated routing, copper pouring, and design rule checks, focused on a four-layer carrier board with integrated support components and connectors.

Version
1.8.0
License
unset
Stars
0

modules/f1c100s/src/capacitor-specs.ts

/** Larger land patterns for rail reservoirs and the 10 uF reference filters. */
export const isLargeCapacitor = (name: string, value: string) =>
	name.startsWith("C_B_") || value === "10uF";
export function capacitorSpecs(name: string, value: string) {
	if (isLargeCapacitor(name, value))
		return {
			footprint: "0805",
			maxVoltageRating: 25,
			manufacturerPartNumber:
				value === "1uF" ? "GRM219R71E105KA88D" : "GRM21BR61E106KA73L",
		};
	return {
		footprint: "0402",
		maxVoltageRating: name.startsWith("C_OSC") ? 50 : 6.3,
		...(name.startsWith("C_OSC")
			? { manufacturerPartNumber: "GRM1555C1H180JA01D" }
			: {}),
	};
}