AnasSarkiz/ble-pedometer

This code defines and configures various electronic hardware components such as surface-mount resistors, crystals, diodes, transistors, connectors, and switches with their physical footprints, schematic symbols, and 3D CAD models for PCB assembly.

Version
1.0.7
License
unset
Stars
0

imports/BQ25186DLHR.tsx

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

const pinLabels = {
  pin1: ["SYS"],
  pin2: ["BAT"],
  pin3: ["PG_GPO"],
  pin4: ["N_CE"],
  pin5: ["GND"],
  pin6: ["TS_MR"],
  pin7: ["SDA"],
  pin8: ["SCL"],
  pin9: ["N_INT"],
  pin10: ["IN"],
  pin11: ["THERMAL"]
} as const

const pinAttributes = {
  pin1: { providesPower: true },
  pin5: { requiresGround: true },
  pin10: { requiresPower: true },
  pin11: { requiresGround: true },
} as const

export const BQ25186DLHR = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C44639442"
  ]
}}
      manufacturerPartNumber="BQ25186DLHR"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-0.799973mm" pcbY="-1.050036mm" width="0.1999996mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-0.399923mm" pcbY="-1.049782mm" width="0.1999996mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-0.000127mm" pcbY="-1.049782mm" width="0.1999996mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="0.399923mm" pcbY="-1.049782mm" width="0.1999996mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="0.799973mm" pcbY="-1.049782mm" width="0.1999996mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="0.799973mm" pcbY="1.050036mm" width="0.1999996mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="0.399923mm" pcbY="1.050036mm" width="0.1999996mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="-0.000127mm" pcbY="1.050036mm" width="0.1999996mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="-0.399923mm" pcbY="1.050036mm" width="0.1999996mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin10"]} pcbX="-0.799973mm" pcbY="1.050036mm" width="0.1999996mm" height="0.499999mm" shape="rect" />
<smtpad portHints={["pin11"]} pcbX="-0.000127mm" pcbY="0mm" width="1.499997mm" height="0.8999982mm" shape="rect" />
<silkscreenpath route={[{"x":-1.1311890000001767,"y":1.143101599999909},{"x":-1.1430254000001696,"y":1.143101599999909},{"x":-1.1430254000001696,"y":0.0001015999999935957}]} />
<silkscreenpath route={[{"x":1.131061999999929,"y":-1.1428984000000355},{"x":1.1429745999998886,"y":-1.1428984000000355},{"x":1.1429745999998886,"y":1.143101599999909},{"x":1.131061999999929,"y":1.143101599999909}]} />
<silkscreenpath route={[{"x":-1.1430254000001696,"y":0.0001015999999935957},{"x":-1.1430254000001696,"y":-1.1428984000000355},{"x":-1.1311890000001767,"y":-1.1428984000000355}]} />
<silkscreentext text="{NAME}" pcbX="-0.157861mm" pcbY="2.295908mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-1.703261000000225,"y":1.5459079999999403},{"x":1.3875389999998333,"y":1.5459079999999403},{"x":1.3875389999998333,"y":-2.332292000000052},{"x":-1.703261000000225,"y":-2.332292000000052},{"x":-1.703261000000225,"y":1.5459079999999403}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C44639442.obj?uuid=84b6971711e948be84ed2f33439ec745",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C44639442.step?uuid=84b6971711e948be84ed2f33439ec745",
        pcbRotationOffset: 90,
        modelOriginPosition: { x: -0.00007619999996677507, y: -0.005038100000210766, z: -0.02 },
      }}
      {...props}
    />
  )
}