ShiboSoftwareDev/solar-battery-charger

This code defines various surface-mount and through-hole electronic components (like diodes, voltage regulators, and ICs) with detailed footprints, 3D models, and pin configurations for PCB design.

Version
1.0.2
License
unset
Stars
0

imports/STC3117IJT.tsx

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

const pinLabels = {
  pin1: ["A1"],
  pin2: ["B1"],
  pin3: ["C1"],
  pin4: ["A2"],
  pin5: ["B2"],
  pin6: ["C2"],
  pin7: ["A3"],
  pin8: ["B3"],
  pin9: ["C3"]
} as const

export const STC3117IJT = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C2971699"
  ]
}}
      manufacturerPartNumber="STC3117IJT"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-0.40005mm" pcbY="0.40005mm" width="0.2080006mm" height="0.2080006mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-0.40005mm" pcbY="-0mm" width="0.2080006mm" height="0.2080006mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-0.40005mm" pcbY="-0.40005mm" width="0.2080006mm" height="0.2080006mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="0mm" pcbY="0.40005mm" width="0.2080006mm" height="0.2080006mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="0mm" pcbY="-0mm" width="0.2080006mm" height="0.2080006mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="0mm" pcbY="-0.40005mm" width="0.2080006mm" height="0.2080006mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="0.40005mm" pcbY="0.40005mm" width="0.2080006mm" height="0.2080006mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="0.40005mm" pcbY="-0mm" width="0.2080006mm" height="0.2080006mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="0.40005mm" pcbY="-0.40005mm" width="0.2080006mm" height="0.2080006mm" shape="rect" />
<silkscreenpath route={[{"x":-0.8061959999999999,"y":0.8732011999999827},{"x":0.8061959999999999,"y":0.8732011999999827},{"x":0.8061959999999999,"y":-0.8431783999999993},{"x":-0.8061959999999999,"y":-0.8431783999999993},{"x":-0.8061959999999999,"y":0.8732011999999827}]} />
<silkscreenpath route={[{"x":-1.0000488000000018,"y":0.4150613999999848},{"x":-1.0000488000000018,"y":1.0650473999999974},{"x":-0.40004999999999313,"y":1.0650473999999974}]} />
<silkscreentext text="{NAME}" pcbX="-0.0889mm" pcbY="2.0668mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-1.2405999999999864,"y":1.3167999999999864},{"x":1.0628000000000242,"y":1.3167999999999864},{"x":1.0628000000000242,"y":-1.0882000000000147},{"x":-1.2405999999999864,"y":-1.0882000000000147},{"x":-1.2405999999999864,"y":1.3167999999999864}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2971699.obj?uuid=660cf36f217f445398043cbd4315f47c",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2971699.step?uuid=660cf36f217f445398043cbd4315f47c",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 0, z: -0.6 },
      }}
      {...props}
    />
  )
}