ShiboSoftwareDev/f1c100s-linux-stepper-controller

A four-layer Linux motor-control carrier built around an Allwinner F1C100S SoC, USB‑C, SPI flash, multi-rail power regulation, DRV8825 stepper-driver stage with protection/current sensing, temperature monitoring, and external I/O connectors.

Version
0.1.1
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" }
			: {}),
	};
}