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/BQ24650RVAR.tsx

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

const pinLabels = {
  pin1: ["VCC"],
  pin2: ["MPPSET"],
  pin3: ["STAT1"],
  pin4: ["TS"],
  pin5: ["STAT2"],
  pin6: ["VREF"],
  pin7: ["TERM_EN"],
  pin8: ["VFB"],
  pin9: ["SRN"],
  pin10: ["SRP"],
  pin11: ["GND"],
  pin12: ["REGN"],
  pin13: ["LODRV"],
  pin14: ["PH"],
  pin15: ["HIDRV"],
  pin16: ["BTST"],
  pin17: ["EP"]
} as const

export const BQ24650RVAR = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C53712"
  ]
}}
      manufacturerPartNumber="BQ24650RVAR"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-0.750062mm" pcbY="-1.657604mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-0.249936mm" pcbY="-1.657604mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="0.249936mm" pcbY="-1.657604mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="0.750062mm" pcbY="-1.657604mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="1.657604mm" pcbY="-0.750062mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="1.657604mm" pcbY="-0.249936mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="1.657604mm" pcbY="0.249936mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="1.657604mm" pcbY="0.750062mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="0.750062mm" pcbY="1.657604mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin10"]} pcbX="0.249936mm" pcbY="1.657604mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin11"]} pcbX="-0.249936mm" pcbY="1.657604mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin12"]} pcbX="-0.750062mm" pcbY="1.657604mm" width="0.2800096mm" height="0.6649974mm" shape="rect" />
<smtpad portHints={["pin13"]} pcbX="-1.657604mm" pcbY="0.750062mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin14"]} pcbX="-1.657604mm" pcbY="0.249936mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin15"]} pcbX="-1.657604mm" pcbY="-0.249936mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin16"]} pcbX="-1.657604mm" pcbY="-0.750062mm" width="0.6649974mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin17"]} pcbX="0mm" pcbY="0mm" width="2.1400008mm" height="2.1400008mm" shape="rect" />
<silkscreenpath route={[{"x":-1.8262092000001076,"y":1.0804906000000756},{"x":-1.8262092000001076,"y":1.8262091999999939},{"x":-1.0804906000000756,"y":1.8262091999999939}]} />
<silkscreenpath route={[{"x":1.8262091999999939,"y":1.0804906000000756},{"x":1.8262091999999939,"y":1.8262091999999939},{"x":1.0804905999999619,"y":1.8262091999999939}]} />
<silkscreenpath route={[{"x":-1.8262092000001076,"y":-1.0804906000000756},{"x":-1.8262092000001076,"y":-1.8262091999999939},{"x":-1.0804906000000756,"y":-1.8262091999999939}]} />
<silkscreenpath route={[{"x":1.8262091999999939,"y":-1.0804906000000756},{"x":1.8262091999999939,"y":-1.8262091999999939},{"x":1.0804905999999619,"y":-1.8262091999999939}]} />
<silkscreentext text="{NAME}" pcbX="0.0127mm" pcbY="2.9812mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-2.231200000000058,"y":2.2312000000001717},{"x":2.256599999999935,"y":2.2312000000001717},{"x":2.256599999999935,"y":-2.612199999999916},{"x":-2.231200000000058,"y":-2.612199999999916},{"x":-2.231200000000058,"y":2.2312000000001717}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C53712.obj?uuid=0248695823ff4ca7a70eb2f6fde20dd2",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C53712.step?uuid=0248695823ff4ca7a70eb2f6fde20dd2",
        pcbRotationOffset: 90,
        modelOriginPosition: { x: 0, y: 0, z: -0.02 },
      }}
      {...props}
    />
  )
}