imrishabh18/pedometer

This code defines and assembles a simple radio receiver hardware circuit using specific imported capacitors, inductors, RF connectors, and oscillator components with precise footprints and schematic attributes.

Version
1.1.3
License
unset
Stars
0

imports/BQ25150YFPR.tsx

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

// Circular lands verified against EasyEDA 0.0.348; diameters follow TI
// YFP0020 (0.23 mm) / YZF0009 (0.245 mm). Manufacturing export defines
// the 0.25 mm rounded-square stencil and via-in-pad mask openings.

const pinLabels = {
  pin1: ["IN", "A1"],
  pin2: ["PMID_A", "A2"],
  pin3: ["BAT_A", "A3"],
  pin4: ["GND", "A4"],
  pin5: ["PG_N", "B1"],
  pin6: ["PMID_B", "B2"],
  pin7: ["BAT_B", "B3"],
  pin8: ["TS", "B4"],
  pin9: ["MR_N", "C1"],
  pin10: ["CE_N", "C2"],
  pin11: ["IMAX", "C3"],
  pin12: ["ADCIN", "C4"],
  pin13: ["VDD", "D1"],
  pin14: ["INT_N", "D2"],
  pin15: ["LP_N", "D3"],
  pin16: ["LSLDO", "D4"],
  pin17: ["VIO", "E1"],
  pin18: ["SDA", "E2"],
  pin19: ["SCL", "E3"],
  pin20: ["VINLS", "E4"]
} as const

export const BQ25150YFPR = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C2868498"
  ]
}}
      manufacturerPartNumber="BQ25150YFPR"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-0.8001mm" pcbY="-0.599948mm" radius={0.115} shape="circle" solderMaskMargin={0.05} solderPasteMargin={0.01} />
<smtpad portHints={["pin2"]} pcbX="-0.8001mm" pcbY="-0.199898mm" radius={0.115} shape="circle" solderMaskMargin={0.05} solderPasteMargin={0.01} />
<smtpad portHints={["pin3"]} pcbX="-0.8001mm" pcbY="0.199898mm" radius={0.115} shape="circle" solderMaskMargin={0.05} solderPasteMargin={0.01} />
<smtpad portHints={["pin4"]} pcbX="-0.8001mm" pcbY="0.599948mm" radius={0.115} shape="circle" solderMaskMargin={0.05} solderPasteMargin={0.01} />
<smtpad portHints={["pin5"]} pcbX="-0.40005mm" pcbY="-0.599948mm" radius={0.115} shape="circle" solderMaskMargin={0.05} solderPasteMargin={0.01} />
<smtpad portHints={["pin6"]} pcbX="-0.40005mm" pcbY="-0.199898mm" radius={0.115} shape="circle" solderMaskMargin={0.05} solderPasteMargin={0.01} />
<smtpad portHints={["pin7"]} pcbX="-0.40005mm" pcbY="0.199898mm" radius={0.115} shape="circle" solderMaskMargin={0.05} solderPasteMargin={0.01} />
<smtpad portHints={["pin8"]} pcbX="-0.40005mm" pcbY="0.599948mm" radius={0.115} shape="circle" solderMaskMargin={0.05} solderPasteMargin={0.01} />
<smtpad portHints={["pin9"]} pcbX="0mm" pcbY="-0.599948mm" radius={0.115} shape="circle" solderMaskMargin={0.05} solderPasteMargin={0.01} />
<smtpad portHints={["pin10"]} pcbX="0mm" pcbY="-0.199898mm" radius={0.115} shape="circle" solderMaskMargin={0.05} solderPasteMargin={0.01} />
<smtpad portHints={["pin11"]} pcbX="0mm" pcbY="0.199898mm" radius={0.115} shape="circle" solderMaskMargin={0.05} solderPasteMargin={0.01} />
<smtpad portHints={["pin12"]} pcbX="0mm" pcbY="0.599948mm" radius={0.115} shape="circle" solderMaskMargin={0.05} solderPasteMargin={0.01} />
<smtpad portHints={["pin13"]} pcbX="0.40005mm" pcbY="-0.599948mm" radius={0.115} shape="circle" solderMaskMargin={0.05} solderPasteMargin={0.01} />
<smtpad portHints={["pin14"]} pcbX="0.40005mm" pcbY="-0.199898mm" radius={0.115} shape="circle" solderMaskMargin={0.05} solderPasteMargin={0.01} />
<smtpad portHints={["pin15"]} pcbX="0.40005mm" pcbY="0.199898mm" radius={0.115} shape="circle" solderMaskMargin={0.05} solderPasteMargin={0.01} />
<smtpad portHints={["pin16"]} pcbX="0.40005mm" pcbY="0.599948mm" radius={0.115} shape="circle" solderMaskMargin={0.05} solderPasteMargin={0.01} />
<smtpad portHints={["pin17"]} pcbX="0.8001mm" pcbY="-0.599948mm" radius={0.115} shape="circle" solderMaskMargin={0.05} solderPasteMargin={0.01} />
<smtpad portHints={["pin18"]} pcbX="0.8001mm" pcbY="-0.199898mm" radius={0.115} shape="circle" solderMaskMargin={0.05} solderPasteMargin={0.01} />
<smtpad portHints={["pin19"]} pcbX="0.8001mm" pcbY="0.199898mm" radius={0.115} shape="circle" solderMaskMargin={0.05} solderPasteMargin={0.01} />
<smtpad portHints={["pin20"]} pcbX="0.8001mm" pcbY="0.599948mm" radius={0.115} shape="circle" solderMaskMargin={0.05} solderPasteMargin={0.01} />
<silkscreenpath route={[{"x":-1.076198000000005,"y":0.8761983999999785},{"x":1.076198000000005,"y":0.8761983999999785},{"x":1.076198000000005,"y":-0.8761983999999927},{"x":-1.076198000000005,"y":-0.8761983999999927},{"x":-1.076198000000005,"y":0.8761983999999785}]} />
<silkscreenpath route={[{"x":-0.9160001999999849,"y":-1.2700000000000102},{"x":-0.919407610556263,"y":-1.2958818527464473},{"x":-0.9293976328266353,"y":-1.3199998999999991},{"x":-0.9452894633027142,"y":-1.3407105366973155},{"x":-0.9660001000000022,"y":-1.356602367173366},{"x":-0.9901181472535541,"y":-1.3665923894437526},{"x":-1.0160000000000053,"y":-1.3699998000000164},{"x":-1.0418818527464282,"y":-1.3665923894437526},{"x":-1.06599989999998,"y":-1.356602367173366},{"x":-1.0867105366972964,"y":-1.3407105366973155},{"x":-1.102602367173347,"y":-1.3199998999999991},{"x":-1.1125923894437335,"y":-1.2958818527464473},{"x":-1.1159997999999973,"y":-1.2700000000000102},{"x":-1.1125923894437335,"y":-1.244118147253559},{"x":-1.102602367173347,"y":-1.2200001000000071},{"x":-1.0867105366972964,"y":-1.199289463302705},{"x":-1.06599989999998,"y":-1.1833976328266544},{"x":-1.0418818527464282,"y":-1.1734076105562679},{"x":-1.0160000000000053,"y":-1.170000200000004},{"x":-0.9901181472535541,"y":-1.1734076105562679},{"x":-0.9660001000000022,"y":-1.1833976328266544},{"x":-0.9452894633027142,"y":-1.199289463302705},{"x":-0.9293976328266353,"y":-1.2200001000000071},{"x":-0.919407610556263,"y":-1.244118147253559},{"x":-0.9160001999999849,"y":-1.2700000000000102}]} />
<silkscreentext text="{NAME}" pcbX="-0.0254mm" pcbY="1.8636mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-1.367599999999996,"y":1.113599999999991},{"x":1.3168000000000148,"y":1.113599999999991},{"x":1.3168000000000148,"y":-1.621600000000015},{"x":-1.367599999999996,"y":-1.621600000000015},{"x":-1.367599999999996,"y":1.113599999999991}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2868498.obj?uuid=8f5bf60570c946a0add15337ad8d14e8",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2868498.step?uuid=8f5bf60570c946a0add15337ad8d14e8",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 0, z: -0.599999 },
      }}
      {...props}
    />
  )
}