krishnax12/ip2312-fast-charging-module

A USB‑C–powered IP2312 single-cell Li‑ion fast-charger board with input/output filtering, selectable charge current jumpers, status LEDs, and VCC/VBAT/GND terminal pads.

Version
0.1.8
License
GPL-3.0
Stars
1

imports/UsbCInputFootprint.tsx

export const UsbCInputFootprint = () => (
  <footprint>
    <hole pcbX="-2.889885mm" pcbY="0.9122474mm" diameter="0.7500112mm" />
    <hole pcbX="2.890139mm" pcbY="0.9122474mm" diameter="0.7500112mm" />
    <platedhole
      portHints={["pin13"]}
      pcbX="-4.319905mm"
      pcbY="-2.7377326mm"
      holeWidth="0.7999984mm"
      holeHeight="1.5999968mm"
      outerWidth="1.1999976mm"
      outerHeight="1.999996mm"
      shape="pill"
    />
    <platedhole
      portHints={["pin14"]}
      pcbX="4.319905mm"
      pcbY="-2.7377326mm"
      holeWidth="0.7999984mm"
      holeHeight="1.5999968mm"
      outerWidth="1.1999976mm"
      outerHeight="1.999996mm"
      shape="pill"
    />
    <platedhole
      portHints={["pin15"]}
      pcbX="4.319905mm"
      pcbY="1.4121194mm"
      holeWidth="0.700024mm"
      holeHeight="1.8000218mm"
      outerWidth="1.1999976mm"
      outerHeight="2.2999954mm"
      shape="pill"
    />
    <platedhole
      portHints={["pin16"]}
      pcbX="-4.319905mm"
      pcbY="1.4121194mm"
      holeWidth="0.700024mm"
      holeHeight="1.8000218mm"
      outerWidth="1.1999976mm"
      outerHeight="2.2999954mm"
      shape="pill"
    />
    <smtpad
      portHints={["pin1"]}
      pcbX="-1.749933mm"
      pcbY="2.2122194mm"
      width="0.2999994mm"
      height="1.1500104mm"
      shape="rect"
    />
    <smtpad
      portHints={["pin2"]}
      pcbX="-1.250061mm"
      pcbY="2.2127274mm"
      width="0.2999994mm"
      height="1.1500104mm"
      shape="rect"
    />
    <smtpad
      portHints={["pin3"]}
      pcbX="-0.749935mm"
      pcbY="2.2104414mm"
      width="0.2999994mm"
      height="1.1500104mm"
      shape="rect"
    />
    <smtpad
      portHints={["pin4"]}
      pcbX="-0.250063mm"
      pcbY="2.2122194mm"
      width="0.2999994mm"
      height="1.1500104mm"
      shape="rect"
    />
    <smtpad
      portHints={["pin5"]}
      pcbX="0.250063mm"
      pcbY="2.2106954mm"
      width="0.2999994mm"
      height="1.1500104mm"
      shape="rect"
    />
    <smtpad
      portHints={["pin6"]}
      pcbX="0.749935mm"
      pcbY="2.2122194mm"
      width="0.2999994mm"
      height="1.1500104mm"
      shape="rect"
    />
    <smtpad
      portHints={["pin7"]}
      pcbX="1.250061mm"
      pcbY="2.2122194mm"
      width="0.2999994mm"
      height="1.1500104mm"
      shape="rect"
    />
    <smtpad
      portHints={["pin8"]}
      pcbX="1.749933mm"
      pcbY="2.2122194mm"
      width="0.2999994mm"
      height="1.1500104mm"
      shape="rect"
    />
    <smtpad
      portHints={["pin9"]}
      pcbX="-3.200019mm"
      pcbY="2.2081554mm"
      width="0.5999988mm"
      height="1.1500104mm"
      shape="rect"
    />
    <smtpad
      portHints={["pin10"]}
      pcbX="-2.399919mm"
      pcbY="2.2081554mm"
      width="0.5999988mm"
      height="1.1500104mm"
      shape="rect"
    />
    <smtpad
      portHints={["pin11"]}
      pcbX="2.400173mm"
      pcbY="2.2122194mm"
      width="0.5999988mm"
      height="1.1500104mm"
      shape="rect"
    />
    <smtpad
      portHints={["pin12"]}
      pcbX="3.200019mm"
      pcbY="2.2122194mm"
      width="0.5999988mm"
      height="1.1500104mm"
      shape="rect"
    />
    <silkscreenpath
      route={[
        { x: -4.499991000000136, y: -5.3377782000000025 },
        { x: -4.499991000000136, y: -3.9604886000001898 },
      ]}
    />
    <silkscreenpath
      route={[
        { x: 4.5574965999998085, y: -5.3377782000000025 },
        { x: -4.499991000000136, y: -5.3377782000000025 },
      ]}
    />
    <silkscreenpath
      route={[
        { x: -4.499991000000136, y: -1.5149766000001819 },
        { x: -4.499991000000136, y: 0.03935100000001057 },
      ]}
    />
    <silkscreenpath
      route={[
        { x: 4.5574965999998085, y: -5.3377782000000025 },
        { x: 4.5574965999998085, y: -3.966864000000214 },
      ]}
    />
    <silkscreenpath
      route={[
        { x: 4.5574965999998085, y: -1.5086012000001574 },
        { x: 4.5574965999998085, y: 0.032975599999986116 },
      ]}
    />
    <silkscreentext
      text="{NAME}"
      pcbX="-0.001397mm"
      pcbY="3.7964194mm"
      anchorAlignment="center"
      fontSize="1mm"
    />
    <courtyardoutline
      outline={[
        { x: -5.166296999999986, y: 3.0464193999999907 },
        { x: 5.1635029999999915, y: 3.0464193999999907 },
        { x: 5.1635029999999915, y: -5.581580600000052 },
        { x: -5.166296999999986, y: -5.581580600000052 },
        { x: -5.166296999999986, y: 3.0464193999999907 },
      ]}
    />
  </footprint>
)