tscircuit/ti

ti tscircuit library

Version
1.0.85
License
unset
Stars
0

lib/chips/BQ27441DRZR_G1B.circuit.tsx

PCBPCB preview for lib/chips/BQ27441DRZR_G1B.circuit.tsx
SchematicSchematic preview for lib/chips/BQ27441DRZR_G1B.circuit.tsx
import type { ChipProps } from "@tscircuit/props";

const pinLabels = {
  pin1: ["I2C_SDA", "SDA"],
  pin2: ["I2C_SCL", "SCL"],
  pin3: ["VSS"],
  pin4: ["NC3"],
  pin5: ["VDD"],
  pin6: ["BAT"],
  pin7: ["SRN"],
  pin8: ["SRP"],
  pin9: ["NC2"],
  pin10: ["BIN"],
  pin11: ["NC1"],
  pin12: ["GPIO_GPOUT", "GPOUT"],
  pin13: ["EP"],
} as const;

export const BQ27441DRZR_G1B = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
        jlcpcb: ["C473374"],
      }}
      manufacturerPartNumber="BQ27441DRZR_G1B"
      footprint={
        <footprint>
          <smtpad
            portHints={["pin12"]}
            pcbX="-1.0001504mm"
            pcbY="1.974977mm"
            width="0.1999996mm"
            height="0.850011mm"
            shape="rect"
          />
          <smtpad
            portHints={["pin11"]}
            pcbX="-0.6001004mm"
            pcbY="1.974977mm"
            width="0.1999996mm"
            height="0.850011mm"
            shape="rect"
          />
          <smtpad
            portHints={["pin10"]}
            pcbX="-0.2000504mm"
            pcbY="1.974977mm"
            width="0.1999996mm"
            height="0.850011mm"
            shape="rect"
          />
          <smtpad
            portHints={["pin9"]}
            pcbX="0.1999996mm"
            pcbY="1.974977mm"
            width="0.1999996mm"
            height="0.850011mm"
            shape="rect"
          />
          <smtpad
            portHints={["pin8"]}
            pcbX="0.5997956mm"
            pcbY="1.974977mm"
            width="0.1999996mm"
            height="0.850011mm"
            shape="rect"
          />
          <smtpad
            portHints={["pin7"]}
            pcbX="0.9998456mm"
            pcbY="1.974977mm"
            width="0.1999996mm"
            height="0.850011mm"
            shape="rect"
          />
          <smtpad
            portHints={["pin6"]}
            pcbX="0.9998456mm"
            pcbY="-1.974977mm"
            width="0.1999996mm"
            height="0.850011mm"
            shape="rect"
          />
          <smtpad
            portHints={["pin5"]}
            pcbX="0.5997956mm"
            pcbY="-1.974977mm"
            width="0.1999996mm"
            height="0.850011mm"
            shape="rect"
          />
          <smtpad
            portHints={["pin4"]}
            pcbX="0.1997456mm"
            pcbY="-1.974977mm"
            width="0.1999996mm"
            height="0.850011mm"
            shape="rect"
          />
          <smtpad
            portHints={["pin3"]}
            pcbX="-0.2000504mm"
            pcbY="-1.974977mm"
            width="0.1999996mm"
            height="0.850011mm"
            shape="rect"
          />
          <smtpad
            portHints={["pin2"]}
            pcbX="-0.6001004mm"
            pcbY="-1.974977mm"
            width="0.1999996mm"
            height="0.850011mm"
            shape="rect"
          />
          <smtpad
            portHints={["pin1"]}
            pcbX="-1.0001504mm"
            pcbY="-1.974977mm"
            width="0.1999996mm"
            height="0.850011mm"
            shape="rect"
          />
          <smtpad
            portHints={["pin13"]}
            points={[
              { x: "-1.651mm", y: "1.2699492mm" },
              { x: "1.651mm", y: "1.2699492mm" },
              { x: "1.651mm", y: "1.0159492mm" },
              { x: "1.016mm", y: "1.0159492mm" },
              { x: "1.016mm", y: "-1.0160508mm" },
              { x: "1.651mm", y: "-1.0160508mm" },
              { x: "1.651mm", y: "-1.2700508mm" },
              { x: "-1.651mm", y: "-1.2700508mm" },
              { x: "-1.651mm", y: "-1.0160508mm" },
              { x: "-1.016mm", y: "-1.0160508mm" },
              { x: "-1.016mm", y: "1.0159492mm" },
              { x: "-1.651mm", y: "1.0159492mm" },
            ]}
            shape="polygon"
          />
          <silkscreenpath
            route={[
              { x: -1.279296400000021, y: 2.2855681999999433 },
              { x: -1.3974318000000494, y: 2.2855681999999433 },
            ]}
          />
          <silkscreenpath
            route={[
              { x: 1.6510000000000673, y: 1.4041120000000546 },
              { x: 1.6505935999998655, y: 2.2855681999999433 },
              { x: 1.2790170000000671, y: 2.2855681999999433 },
            ]}
          />
          <silkscreenpath
            route={[
              { x: 1.6505681999999524, y: -0.8208264000001009 },
              { x: 1.6505681999999524, y: 0.8208518000001277 },
            ]}
          />
          <silkscreenpath
            route={[
              { x: 1.2790423999999803, y: -2.2864318000000594 },
              { x: 1.5235681999999997, y: -2.2864318000000594 },
              { x: 1.6505681999999524, y: -2.2864318000000594 },
              { x: 1.6505681999999524, y: -1.404111999999941 },
            ]}
          />
          <silkscreenpath
            route={[
              { x: -1.6514318000000685, y: -1.404111999999941 },
              { x: -1.6514318000000685, y: -1.7784317999999075 },
              { x: -1.6514318000000685, y: -2.0324318000000403 },
              { x: -1.3974318000000494, y: -2.2864318000000594 },
              { x: -1.279296400000021, y: -2.2864318000000594 },
            ]}
          />
          <silkscreenpath
            route={[
              { x: -1.6514318000000685, y: 0.8208518000001277 },
              { x: -1.6514318000000685, y: -0.8208264000001009 },
            ]}
          />
          <silkscreenpath
            route={[
              { x: -1.279296400000021, y: 2.2855681999999433 },
              { x: -1.6514318000000685, y: 2.2855681999999433 },
              { x: -1.6514318000000685, y: 1.4041374000000815 },
            ]}
          />
          <silkscreenpath
            route={[
              { x: -0.9109964000000446, y: -2.6899869999999737 },
              { x: -0.9136880552781577, y: -2.7104321516487744 },
              { x: -0.921579589253497, y: -2.729483999999843 },
              { x: -0.9341332069269583, y: -2.745844193073026 },
              { x: -0.9504934000001413, y: -2.7583978107464873 },
              { x: -0.9695452483512099, y: -2.7662893447218266 },
              { x: -0.9899904000000106, y: -2.7689809999999397 },
              { x: -1.010435551648925, y: -2.7662893447218266 },
              { x: -1.0294873999999936, y: -2.7583978107464873 },
              { x: -1.0458475930730629, y: -2.745844193073026 },
              { x: -1.0584012107465242, y: -2.729483999999843 },
              { x: -1.0662927447219772, y: -2.7104321516487744 },
              { x: -1.0689844000000903, y: -2.6899869999999737 },
              { x: -1.0662927447219772, y: -2.669541848351173 },
              { x: -1.0584012107465242, y: -2.6504899999999907 },
              { x: -1.0458475930730629, y: -2.6341298069269214 },
              { x: -1.0294873999999936, y: -2.6215761892533465 },
              { x: -1.010435551648925, y: -2.6136846552781208 },
              { x: -0.9899904000000106, y: -2.6109930000000077 },
              { x: -0.9695452483512099, y: -2.6136846552781208 },
              { x: -0.9504934000001413, y: -2.6215761892533465 },
              { x: -0.9341332069269583, y: -2.6341298069269214 },
              { x: -0.921579589253497, y: -2.6504899999999907 },
              { x: -0.9136880552781577, y: -2.669541848351173 },
              { x: -0.9109964000000446, y: -2.6899869999999737 },
            ]}
          />
          <silkscreentext
            text="{NAME}"
            pcbX="-0.0004064mm"
            pcbY="3.412619mm"
            anchorAlignment="center"
            fontSize="1mm"
          />
          <courtyardoutline
            outline={[
              { x: -1.9014064000000417, y: 2.6626189999999497 },
              { x: 1.9005935999998655, y: 2.6626189999999497 },
              { x: 1.9005935999998655, y: -3.0189809999999397 },
              { x: -1.9014064000000417, y: -3.0189809999999397 },
              { x: -1.9014064000000417, y: 2.6626189999999497 },
            ]}
          />
        </footprint>
      }
      cadModel={{
        objUrl:
          "https://modelcdn.tscircuit.com/easyeda_models/assets/C473374.obj?uuid=00d7095106f5425cb6f89a9dc86f2a31",
        stepUrl:
          "https://modelcdn.tscircuit.com/easyeda_models/assets/C473374.step?uuid=00d7095106f5425cb6f89a9dc86f2a31",
        pcbRotationOffset: 0,
        modelOriginPosition: {
          x: -0.000012700000070253736,
          y: 0.00006349999989652133,
          z: 0,
        },
      }}
      {...props}
    />
  );
};