jettos/powercore16-revc-complete-board-model
This code defines the hardware layout for a power distribution and control circuit featuring high-current power inputs, multiple output switches with programmable fuses, MCU-based control, input connectors, and communication interfaces, all represented with specific component footprints and connectivity zones.
- Version
- 0.4.8
- License
- unset
- Stars
- 0
src/components/SmartHighSideOutput.tsx
export function SmartHighSideOutput({ n, x, y }: { n: number, x: number, y: number }) {
const highCurrent = n <= 4
return <>
<chip name={`U_OUT${n}`} manufacturerPartNumber={highCurrent ? "BTS50015-1TAD class" : "BTS7004-1EPP class"} footprint="soic8_p1.27mm" pcbX={x} pcbY={y} />
<capacitor name={`C_OUT${n}_DEC`} capacitance="100nF" footprint="0603" pcbX={x - 4} pcbY={y + 7} />
<resistor name={`R_OUT${n}_IS`} resistance="1k" footprint="0603" pcbX={x + 5} pcbY={y + 7} />
<capacitor name={`C_OUT${n}_IS_FILT`} capacitance="4.7nF" footprint="0603" pcbX={x + 10} pcbY={y + 7} />
<testpoint name={`TP_OUT${n}_IS`} pcbX={x + 14} pcbY={y + 7} />
<testpoint name={`TP_OUT${n}_HS`} pcbX={x} pcbY={y + 12} />
<chip name={`COPPER_OUT${n}_THERMAL_REGION`} footprint="soic8_p1.27mm" pcbX={x} pcbY={y - 8} />
<silkscreentext text={`U_OUT${n} ${highCurrent ? "25A class" : "10A/13A class"}`} pcbX={x} pcbY={y - 13} fontSize="0.65mm" />
<silkscreentext text={`VBAT_PROTECTED -> OUT${n}_HS`} pcbX={x} pcbY={y + 16} fontSize="0.65mm" />
<silkscreentext text={`OUT${n}_EN OUT${n}_IS OUT${n}_DIAG`} pcbX={x} pcbY={y + 3} fontSize="0.6mm" />
</>
}