mohan-bee/freezer-alarm

This code defines representations of various electronic hardware components—such as voltage regulators, temperature sensors, and microcontroller modules—detailing their physical pins, footprints, and 3D models for PCB design and visualization.

Version
1.0.0
License
unset
Stars
0

imports/MP1584EN_LF_Z.tsx

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

const pinLabels = {
  pin1: ["SW"],
  pin2: ["EN"],
  pin3: ["COMP"],
  pin4: ["FB"],
  pin5: ["GND"],
  pin6: ["FREQ"],
  pin7: ["VIN"],
  pin8: ["BST"],
  pin9: ["EP"]
} as const

export const MP1584EN_LF_Z = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C15051"
  ]
}}
      manufacturerPartNumber="MP1584EN_LF_Z"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-1.905mm" pcbY="-2.769108mm" width="0.5739892mm" height="2.0379944mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin2"]} pcbX="-0.635mm" pcbY="-2.769108mm" width="0.5739892mm" height="2.0379944mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin3"]} pcbX="0.635mm" pcbY="-2.769108mm" width="0.5739892mm" height="2.0379944mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin4"]} pcbX="1.905mm" pcbY="-2.769108mm" width="0.5739892mm" height="2.0379944mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin8"]} pcbX="-1.905mm" pcbY="2.769108mm" width="0.5739892mm" height="2.0379944mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin7"]} pcbX="-0.635mm" pcbY="2.769108mm" width="0.5739892mm" height="2.0379944mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin6"]} pcbX="0.635mm" pcbY="2.769108mm" width="0.5739892mm" height="2.0379944mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin5"]} pcbX="1.905mm" pcbY="2.769108mm" width="0.5739892mm" height="2.0379944mm" radius="0.2869946mm" shape="pill" />
<smtpad portHints={["pin9"]} pcbX="0mm" pcbY="0mm" width="1.999996mm" height="1.999996mm" shape="rect" />
<via pcbX="0.500126mm" pcbY="0.499872mm" outerDiameter="0.6096mm" holeDiameter="0.3048mm" layers={["top","bottom"]} />
<via pcbX="-0.499872mm" pcbY="0.499872mm" outerDiameter="0.6096mm" holeDiameter="0.3048mm" layers={["top","bottom"]} />
<via pcbX="-0.499872mm" pcbY="-0.500126mm" outerDiameter="0.6096mm" holeDiameter="0.3048mm" layers={["top","bottom"]} />
<via pcbX="0.500126mm" pcbY="-0.500126mm" outerDiameter="0.6096mm" holeDiameter="0.3048mm" layers={["top","bottom"]} />
<silkscreenpath route={[{"x":-2.5262078000000656,"y":-1.5214091999999937},{"x":-2.5262078000000656,"y":1.5214092000001074},{"x":2.526207799999952,"y":1.5214092000001074},{"x":2.526207799999952,"y":-1.5214091999999937},{"x":-2.5262078000000656,"y":-1.5214091999999937}]} />
<silkscreenpath route={[{"x":-1.7548859999999422,"y":-0.7691119999998364},{"x":-1.7600010105124966,"y":-0.8079643621365449},{"x":-1.774997462536362,"y":-0.8441689999999653},{"x":-1.7988533726489777,"y":-0.8752586273509451},{"x":-1.8299429999999575,"y":-0.8991145374635607},{"x":-1.866147637863378,"y":-0.9141109894874262},{"x":-1.9050000000000864,"y":-0.9192259999999806},{"x":-1.9438523621365675,"y":-0.9141109894874262},{"x":-1.980056999999988,"y":-0.8991145374635607},{"x":-2.0111466273510814,"y":-0.8752586273509451},{"x":-2.035002537463697,"y":-0.8441689999999653},{"x":-2.049998989487449,"y":-0.8079643621365449},{"x":-2.055114000000003,"y":-0.7691119999998364},{"x":-2.049998989487449,"y":-0.7302596378633552},{"x":-2.035002537463697,"y":-0.6940549999999348},{"x":-2.0111466273510814,"y":-0.6629653726488414},{"x":-1.980056999999988,"y":-0.6391094625362257},{"x":-1.9438523621365675,"y":-0.6241130105124739},{"x":-1.9050000000000864,"y":-0.6189979999999196},{"x":-1.866147637863378,"y":-0.6241130105124739},{"x":-1.8299429999999575,"y":-0.6391094625362257},{"x":-1.7988533726489777,"y":-0.6629653726488414},{"x":-1.774997462536362,"y":-0.6940549999999348},{"x":-1.7600010105124966,"y":-0.7302596378633552},{"x":-1.7548859999999422,"y":-0.7691119999998364}]} />
<silkscreenpath route={[{"x":-2.494280000000117,"y":-2.76910799999996},{"x":-2.499395010512444,"y":-2.8079603621364413},{"x":-2.514391462536423,"y":-2.844165000000089},{"x":-2.538247372649039,"y":-2.875254627351069},{"x":-2.569336999999905,"y":-2.8991105374636845},{"x":-2.605541637863439,"y":-2.91410698948755},{"x":-2.644394000000034,"y":-2.919221999999877},{"x":-2.683246362136515,"y":-2.91410698948755},{"x":-2.719451000000163,"y":-2.8991105374636845},{"x":-2.7505406273511426,"y":-2.875254627351069},{"x":-2.7743965374637582,"y":-2.844165000000089},{"x":-2.7893929894876237,"y":-2.8079603621364413},{"x":-2.7945079999999507,"y":-2.76910799999996},{"x":-2.7893929894876237,"y":-2.7302556378633653},{"x":-2.7743965374637582,"y":-2.694050999999945},{"x":-2.7505406273511426,"y":-2.6629613726488515},{"x":-2.719451000000163,"y":-2.639105462536236},{"x":-2.683246362136515,"y":-2.624109010512484},{"x":-2.644394000000034,"y":-2.6189940000000433},{"x":-2.605541637863439,"y":-2.624109010512484},{"x":-2.569336999999905,"y":-2.639105462536236},{"x":-2.538247372649039,"y":-2.6629613726488515},{"x":-2.514391462536423,"y":-2.694050999999945},{"x":-2.499395010512444,"y":-2.7302556378633653},{"x":-2.494280000000117,"y":-2.76910799999996}]} />
<silkscreentext text="{NAME}" pcbX="-0.1397mm" pcbY="4.5052mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-3.0439999999999827,"y":3.7552000000001726},{"x":2.764599999999973,"y":3.7552000000001726},{"x":2.764599999999973,"y":-3.80600000000004},{"x":-3.0439999999999827,"y":-3.80600000000004},{"x":-3.0439999999999827,"y":3.7552000000001726}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C15051.obj?uuid=d3dfb165ce8644e793b750cd6f375e75",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C15051.step?uuid=d3dfb165ce8644e793b750cd6f375e75",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0.000012700000070253736, y: 0, z: 0 },
      }}
      {...props}
    />
  )
}