seveibar/usbc-pd-charger

This code defines and assembles a hardware schematic of an 18W USB-C PD wall charger with mains input, protection, high-voltage isolation, a DC buck converter with switching regulator, filtering, and USB-C output with ESD protection.

Version
1.0.2
License
unset
Stars
0

imports/SI4925DDY_T1_GE3.tsx

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

const pinLabels = {
  pin1: ["S1"],
  pin2: ["G1"],
  pin3: ["S2"],
  pin4: ["G2"],
  pin5: ["D21"],
  pin6: ["D22"],
  pin7: ["D11"],
  pin8: ["D12"]
} as const

export const SI4925DDY_T1_GE3 = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C469464"
  ]
}}
      manufacturerPartNumber="SI4925DDY-T1-GE3"
      footprint={<footprint>
        <smtpad portHints={["pin3"]} pcbX="0.635mm" pcbY="-2.450084mm" width="0.5999988mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="1.905mm" pcbY="-2.450084mm" width="0.5999988mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-0.635mm" pcbY="-2.450084mm" width="0.5999988mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="-1.905mm" pcbY="-2.450084mm" width="0.5999988mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="1.905mm" pcbY="2.450084mm" width="0.5999988mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="0.635mm" pcbY="2.450084mm" width="0.5999988mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="-0.635mm" pcbY="2.450084mm" width="0.5999988mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="-1.905mm" pcbY="2.450084mm" width="0.5999988mm" height="1.7999964mm" shape="rect" />
<silkscreenpath route={[{"x":-2.5400000000000773,"y":1.9049999999999727},{"x":-2.5400000000000773,"y":-1.9049999999999727}]} />
<silkscreenpath route={[{"x":2.5399999999999636,"y":1.9049999999999727},{"x":2.5399999999999636,"y":-1.9049999999999727}]} />
<silkscreenpath route={[{"x":-2.8910280000000057,"y":-1.7779999999999063},{"x":-2.9007041112571414,"y":-1.8514973618758859},{"x":-2.9290730340366053,"y":-1.919986000000108},{"x":-2.9742014731330073,"y":-1.9787985268669672},{"x":-3.03301399999998,"y":-2.023926965963483},{"x":-3.1015026381242023,"y":-2.0522958887429468},{"x":-3.1749999999999545,"y":-2.061971999999969},{"x":-3.248497361875934,"y":-2.0522958887429468},{"x":-3.3169860000001563,"y":-2.023926965963483},{"x":-3.375798526867129,"y":-1.9787985268669672},{"x":-3.4209269659636448,"y":-1.919986000000108},{"x":-3.449295888742995,"y":-1.8514973618758859},{"x":-3.458972000000017,"y":-1.7779999999999063},{"x":-3.449295888742995,"y":-1.7045026381241541},{"x":-3.4209269659636448,"y":-1.636013999999932},{"x":-3.375798526867129,"y":-1.5772014731328454},{"x":-3.3169860000001563,"y":-1.5320730340365571},{"x":-3.248497361875934,"y":-1.5037041112570932},{"x":-3.1749999999999545,"y":-1.4940279999999575},{"x":-3.1015026381242023,"y":-1.5037041112570932},{"x":-3.03301399999998,"y":-1.5320730340365571},{"x":-2.9742014731330073,"y":-1.5772014731328454},{"x":-2.9290730340366053,"y":-1.636013999999932},{"x":-2.9007041112571414,"y":-1.7045026381241541},{"x":-2.8910280000000057,"y":-1.7779999999999063}]} />
<silkscreentext text="{NAME}" pcbX="-0.4572mm" pcbY="4.3528mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-3.704400000000078,"y":3.6027999999998883},{"x":2.7899999999999636,"y":3.6027999999998883},{"x":2.7899999999999636,"y":-3.704399999999964},{"x":-3.704400000000078,"y":-3.704399999999964},{"x":-3.704400000000078,"y":3.6027999999998883}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C469464.obj?uuid=e3b253c99fe6456e9f120c6035859cd8",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C469464.step?uuid=e3b253c99fe6456e9f120c6035859cd8",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: -0.000012700000070253736, y: 0, z: -0.85 },
      }}
      {...props}
    />
  )
}