hrithik18k/Chatting-Device

This code defines React components representing surface-mount voltage regulator and resistor chips with specified pin layouts, footprints, and 3D CAD models for electronic hardware design.

Version
1.0.0
License
unset
Stars
0

imports/TSC2046IPWR.tsx

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

const pinLabels = {
  pin1: ["+VCC"],
  pin2: ["X_POS"],
  pin3: ["Y_POS"],
  pin4: ["X_NEG"],
  pin5: ["Y_NEG"],
  pin6: ["GND"],
  pin7: ["VBAT"],
  pin8: ["AUX"],
  pin9: ["VREF"],
  pin10: ["IOVDD"],
  pin11: ["PENIRQ"],
  pin12: ["DOUT"],
  pin13: ["BUSY"],
  pin14: ["DIN"],
  pin15: ["CS"],
  pin16: ["DCLK"]
} as const

export const TSC2046IPWR = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C8954"
  ]
}}
      manufacturerPartNumber="TSC2046IPWR"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-2.275078mm" pcbY="-2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin2"]} pcbX="-1.625092mm" pcbY="-2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin3"]} pcbX="-0.975106mm" pcbY="-2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin4"]} pcbX="-0.324866mm" pcbY="-2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin5"]} pcbX="0.32512mm" pcbY="-2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin6"]} pcbX="0.975106mm" pcbY="-2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin7"]} pcbX="1.625092mm" pcbY="-2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin8"]} pcbX="2.275078mm" pcbY="-2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin16"]} pcbX="-2.275078mm" pcbY="2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin15"]} pcbX="-1.625092mm" pcbY="2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin14"]} pcbX="-0.975106mm" pcbY="2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin13"]} pcbX="-0.324866mm" pcbY="2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin12"]} pcbX="0.32512mm" pcbY="2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin11"]} pcbX="0.975106mm" pcbY="2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin10"]} pcbX="1.625092mm" pcbY="2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<smtpad portHints={["pin9"]} pcbX="2.275078mm" pcbY="2.865755mm" width="0.3430016mm" height="1.7314926mm" radius="0.1715008mm" shape="pill" />
<silkscreenpath route={[{"x":-2.5761949999999842,"y":-1.7712690000000748},{"x":-2.5761949999999842,"y":1.771523000000002},{"x":2.5761949999999842,"y":1.771523000000002},{"x":2.5761949999999842,"y":-1.7712690000000748},{"x":-2.5761949999999842,"y":-1.7712690000000748}]} />
<silkscreenpath route={[{"x":-1.8818860000001223,"y":-1.2699999999999818},{"x":-1.887001010512563,"y":-1.3088523621365766},{"x":-1.9019974625363147,"y":-1.345056999999997},{"x":-1.9258533726489304,"y":-1.3761466273510905},{"x":-1.9569430000000239,"y":-1.4000025374637062},{"x":-1.993147637863558,"y":-1.414998989487458},{"x":-2.032000000000039,"y":-1.4201140000000123},{"x":-2.070852362136634,"y":-1.414998989487458},{"x":-2.107057000000168,"y":-1.4000025374637062},{"x":-2.138146627351034,"y":-1.3761466273510905},{"x":-2.16200253746365,"y":-1.345056999999997},{"x":-2.176998989487629,"y":-1.3088523621365766},{"x":-2.1821140000000696,"y":-1.2699999999999818},{"x":-2.176998989487629,"y":-1.2311476378635007},{"x":-2.16200253746365,"y":-1.1949429999999666},{"x":-2.138146627351034,"y":-1.1638533726488731},{"x":-2.107057000000168,"y":-1.1399974625362574},{"x":-2.070852362136634,"y":-1.1250010105125057},{"x":-2.032000000000039,"y":-1.119886000000065},{"x":-1.993147637863558,"y":-1.1250010105125057},{"x":-1.9569430000000239,"y":-1.1399974625362574},{"x":-1.9258533726489304,"y":-1.1638533726488731},{"x":-1.9019974625363147,"y":-1.1949429999999666},{"x":-1.887001010512563,"y":-1.2311476378635007},{"x":-1.8818860000001223,"y":-1.2699999999999818}]} />
<silkscreenpath route={[{"x":-2.7487879999999905,"y":-2.8657550000000356},{"x":-2.753903010512545,"y":-2.904607362136403},{"x":-2.7688994625364103,"y":-2.940811999999937},{"x":-2.792755372649026,"y":-2.9719016273510306},{"x":-2.8238450000000057,"y":-2.9957575374636463},{"x":-2.860049637863426,"y":-3.010753989487398},{"x":-2.8989020000001346,"y":-3.0158689999998387},{"x":-2.937754362136502,"y":-3.010753989487398},{"x":-2.973959000000036,"y":-2.9957575374636463},{"x":-3.0050486273511297,"y":-2.9719016273510306},{"x":-3.0289045374637453,"y":-2.940811999999937},{"x":-3.043900989487497,"y":-2.904607362136403},{"x":-3.0490159999999378,"y":-2.8657550000000356},{"x":-3.043900989487497,"y":-2.826902637863327},{"x":-3.0289045374637453,"y":-2.7906979999999066},{"x":-3.0050486273511297,"y":-2.759608372648927},{"x":-2.973959000000036,"y":-2.735752462536311},{"x":-2.937754362136502,"y":-2.7207560105124458},{"x":-2.8989020000001346,"y":-2.7156409999998914},{"x":-2.860049637863426,"y":-2.7207560105124458},{"x":-2.8238450000000057,"y":-2.735752462536311},{"x":-2.792755372649026,"y":-2.759608372648927},{"x":-2.7688994625364103,"y":-2.7906979999999066},{"x":-2.753903010512545,"y":-2.826902637863327},{"x":-2.7487879999999905,"y":-2.8657550000000356}]} />
<silkscreentext text="{NAME}" pcbX="-0.2413mm" pcbY="4.556127mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-3.298000000000002,"y":3.8061270000000604},{"x":2.815399999999954,"y":3.8061270000000604},{"x":2.815399999999954,"y":-4.009072999999944},{"x":-3.298000000000002,"y":-4.009072999999944},{"x":-3.298000000000002,"y":3.8061270000000604}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C8954.obj?uuid=534f03d8fe164fbab551f91e5a792e30",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C8954.step?uuid=534f03d8fe164fbab551f91e5a792e30",
        pcbRotationOffset: 90,
        modelOriginPosition: { x: -0.00012700000002041634, y: 0, z: -0.019205 },
      }}
      {...props}
    />
  )
}