krishnax12/tps2553-usb-power-switch
USB‑C 5V input board with CC pull-downs feeding a TPS2553 current-limited power switch, filtered 5V output connector, external enable control, and red overcurrent/fault LED indicator.
- Version
- 1.0.0
- License
- unset
- Stars
- 0
imports/TPS2553DBVR.tsx
// C55266 catalog footprint; IC function and DBV pin mapping follow TI SLVS841F.
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["IN"],
pin2: ["GND"],
pin3: ["EN"],
pin4: ["N_FAULT"],
pin5: ["ILIM"],
pin6: ["OUT"],
} as const
export const TPS2553DBVR = (props: ChipProps<typeof pinLabels>) => {
const { name = "U1", ...restProps } = props
return (
<chip
name={name}
pinLabels={pinLabels}
schPinArrangement={{
leftSide: ["IN", "EN"],
rightSide: ["OUT", "N_FAULT"],
bottomSide: ["GND", "ILIM"],
}}
schPinStyle={{ pin5: { marginLeft: 0.5 } }}
pinAttributes={{
IN: { requiresPower: true },
GND: { requiresGround: true },
EN: { isInput: true },
OUT: { providesPower: true },
N_FAULT: { isOutput: true },
ILIM: { isPassive: true },
}}
supplierPartNumbers={{
jlcpcb: ["C55266"],
}}
manufacturerPartNumber="TPS2553DBVR"
footprint={
<footprint>
<fabricationnoterect width={1.7} height={2.8} strokeWidth={0.1} />
<smtpad
portHints={["pin3"]}
pcbX="1.35001mm"
pcbY="0.94996mm"
width="1.0999978mm"
height="0.5999988mm"
shape="rect"
/>
<smtpad
portHints={["pin2"]}
pcbX="1.35001mm"
pcbY="-0mm"
width="1.0999978mm"
height="0.5999988mm"
shape="rect"
/>
<smtpad
portHints={["pin1"]}
pcbX="1.35001mm"
pcbY="-0.94996mm"
width="1.0999978mm"
height="0.5999988mm"
shape="rect"
/>
<smtpad
portHints={["pin6"]}
pcbX="-1.35001mm"
pcbY="-0.94996mm"
width="1.0999978mm"
height="0.5999988mm"
shape="rect"
/>
<smtpad
portHints={["pin5"]}
pcbX="-1.35001mm"
pcbY="-0mm"
width="1.0999978mm"
height="0.5999988mm"
shape="rect"
/>
<smtpad
portHints={["pin4"]}
pcbX="-1.35001mm"
pcbY="0.94996mm"
width="1.0999978mm"
height="0.5999988mm"
shape="rect"
/>
<silkscreenpath
route={[
{ x: -0.899998200000141, y: 1.5499080000000731 },
{ x: 0.9000236000000541, y: 1.5499080000000731 },
]}
/>
<silkscreenpath
route={[
{ x: -0.899998200000141, y: -1.5501111999999466 },
{ x: 0.9000236000000541, y: -1.5501111999999466 },
]}
/>
<silkscreencircle pcbX="1.397mm" pcbY="-1.651mm" radius="0.127mm" />
<silkscreentext
text="{NAME}"
pcbX="0.012446mm"
pcbY="2.562354mm"
anchorAlignment="center"
fontSize="1mm"
/>
<courtyardoutline
outline={[
{ x: -2.1425540000000183, y: 1.8123540000000276 },
{ x: 2.167445999999927, y: 1.8123540000000276 },
{ x: 2.167445999999927, y: -2.015045999999984 },
{ x: -2.1425540000000183, y: -2.015045999999984 },
{ x: -2.1425540000000183, y: 1.8123540000000276 },
]}
/>
</footprint>
}
cadModel={{
objUrl:
"https://modelcdn.tscircuit.com/easyeda_models/assets/C55266.obj?uuid=229b69761e2c45dba6a83d8866dec72d",
stepUrl:
"https://modelcdn.tscircuit.com/easyeda_models/assets/C55266.step?uuid=229b69761e2c45dba6a83d8866dec72d",
pcbRotationOffset: 180,
modelOriginPosition: {
x: 0.000025399999913133797,
y: -0.0000889000000370288,
z: -0.048939,
},
}}
{...restProps}
/>
)
}