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

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

const pinLabels = {
  pin1: ["32kHz"],
  pin2: ["VCC"],
  pin3: ["pin3"],
  pin4: ["RST"],
  pin5: ["GND"],
  pin6: ["VBAT"],
  pin7: ["SDA"],
  pin8: ["SCL"]
} as const

export const DS3231MZ_TRL = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C107410"
  ]
}}
      manufacturerPartNumber="DS3231MZ_TRL"
      footprint={<footprint>
        <smtpad portHints={["pin5"]} pcbX="1.905mm" pcbY="2.599944mm" width="0.58801mm" height="1.7999964mm" radius="0.294005mm" shape="pill" />
<smtpad portHints={["pin6"]} pcbX="0.635mm" pcbY="2.599944mm" width="0.58801mm" height="1.7999964mm" radius="0.294005mm" shape="pill" />
<smtpad portHints={["pin7"]} pcbX="-0.635mm" pcbY="2.599944mm" width="0.58801mm" height="1.7999964mm" radius="0.294005mm" shape="pill" />
<smtpad portHints={["pin8"]} pcbX="-1.905mm" pcbY="2.599944mm" width="0.58801mm" height="1.7999964mm" radius="0.294005mm" shape="pill" />
<smtpad portHints={["pin4"]} pcbX="1.905mm" pcbY="-2.599944mm" width="0.58801mm" height="1.7999964mm" radius="0.294005mm" shape="pill" />
<smtpad portHints={["pin3"]} pcbX="0.635mm" pcbY="-2.599944mm" width="0.58801mm" height="1.7999964mm" radius="0.294005mm" shape="pill" />
<smtpad portHints={["pin2"]} pcbX="-0.635mm" pcbY="-2.599944mm" width="0.58801mm" height="1.7999964mm" radius="0.294005mm" shape="pill" />
<smtpad portHints={["pin1"]} pcbX="-1.905mm" pcbY="-2.599944mm" width="0.58801mm" height="1.7999964mm" radius="0.294005mm" shape="pill" />
<silkscreenpath route={[{"x":-2.5262078000000656,"y":-1.5214091999999937},{"x":2.526207799999952,"y":-1.5214091999999937}]} />
<silkscreenpath route={[{"x":-2.5262078000000656,"y":1.5214092000001074},{"x":2.526207799999952,"y":1.5214092000001074}]} />
<silkscreenpath route={[{"x":-2.5262078000000656,"y":-0.43538139999998293},{"x":-2.5262078000000656,"y":-1.5214091999999937}]} />
<silkscreenpath route={[{"x":-2.5262078000000656,"y":0.44889420000004066},{"x":-2.5262078000000656,"y":1.5214092000001074}]} />
<silkscreenpath route={[{"x":-2.0675600000000713,"y":-1.5214091999999937},{"x":-2.5262078000000656,"y":-1.5214091999999937}]} />
<silkscreenpath route={[{"x":-0.7975599999999758,"y":-1.5214091999999937},{"x":-1.7424400000001015,"y":-1.5214091999999937}]} />
<silkscreenpath route={[{"x":0.47244000000000597,"y":-1.5214091999999937},{"x":-0.47244000000011965,"y":-1.5214091999999937}]} />
<silkscreenpath route={[{"x":1.7424399999999878,"y":-1.5214091999999937},{"x":0.7975599999999758,"y":-1.5214091999999937}]} />
<silkscreenpath route={[{"x":2.526207799999952,"y":-1.5214091999999937},{"x":2.0675599999999577,"y":-1.5214091999999937}]} />
<silkscreenpath route={[{"x":2.526207799999952,"y":1.5214092000001074},{"x":2.526207799999952,"y":-1.5214091999999937}]} />
<silkscreenpath route={[{"x":-2.0675600000000713,"y":1.5214092000001074},{"x":-2.5262078000000656,"y":1.5214092000001074}]} />
<silkscreenpath route={[{"x":-0.7975599999999758,"y":1.5214092000001074},{"x":-1.7424400000001015,"y":1.5214092000001074}]} />
<silkscreenpath route={[{"x":0.47244000000000597,"y":1.5214092000001074},{"x":-0.47244000000011965,"y":1.5214092000001074}]} />
<silkscreenpath route={[{"x":1.7424399999999878,"y":1.5214092000001074},{"x":0.7975599999999758,"y":1.5214092000001074}]} />
<silkscreenpath route={[{"x":2.526207799999952,"y":1.5214092000001074},{"x":2.0675599999999577,"y":1.5214092000001074}]} />
<silkscreenpath route={[{"x":-1.7548859999999422,"y":-1.0159999999999627},{"x":-1.7600010105124966,"y":-1.0548523621365575},{"x":-1.774997462536362,"y":-1.0910570000000916},{"x":-1.7988533726489777,"y":-1.1221466273509577},{"x":-1.8299429999999575,"y":-1.1460025374635734},{"x":-1.866147637863378,"y":-1.1609989894875525},{"x":-1.9050000000000864,"y":-1.1661139999999932},{"x":-1.9438523621365675,"y":-1.1609989894875525},{"x":-1.980056999999988,"y":-1.1460025374635734},{"x":-2.0111466273510814,"y":-1.1221466273509577},{"x":-2.035002537463697,"y":-1.0910570000000916},{"x":-2.049998989487449,"y":-1.0548523621365575},{"x":-2.055114000000003,"y":-1.0159999999999627},{"x":-2.049998989487449,"y":-0.9771476378634816},{"x":-2.035002537463697,"y":-0.9409429999999475},{"x":-2.0111466273510814,"y":-0.909853372648854},{"x":-1.980056999999988,"y":-0.8859974625362383},{"x":-1.9438523621365675,"y":-0.8710010105124866},{"x":-1.9050000000000864,"y":-0.8658860000000459},{"x":-1.866147637863378,"y":-0.8710010105124866},{"x":-1.8299429999999575,"y":-0.8859974625362383},{"x":-1.7988533726489777,"y":-0.909853372648854},{"x":-1.774997462536362,"y":-0.9409429999999475},{"x":-1.7600010105124966,"y":-0.9771476378634816},{"x":-1.7548859999999422,"y":-1.0159999999999627}]} />
<silkscreenpath route={[{"x":-2.5262078000000656,"y":-0.43538139999998293},{"x":-2.5262078000000656,"y":0.44889420000004066}]} />
<silkscreentext text="{NAME}" pcbX="0.0127mm" pcbY="4.2004mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-2.764599999999973,"y":3.4504000000000588},{"x":2.7899999999999636,"y":3.4504000000000588},{"x":2.7899999999999636,"y":-3.80600000000004},{"x":-2.764599999999973,"y":-3.80600000000004},{"x":-2.764599999999973,"y":3.4504000000000588}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C107410.obj?uuid=ec3b9f9b31a74655be3e55848dbee9c1",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C107410.step?uuid=ec3b9f9b31a74655be3e55848dbee9c1",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: -0.000012700000070253736, y: 0, z: 0 },
      }}
      {...props}
    />
  )
}