shibosoftwaredev/f1c100s-linux-nema8-stepper-controller

Restores component part numbers and CAD models, removes test-point 3D bodies, and validates that solder paste exists only on top-side SMT pads without altering copper or DRC.

Version
0.3.5
License
unset
Stars
0

imports/W5500.tsx

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

const pinLabels = {
  pin1: ["TXN"],
  pin2: ["TXP"],
  pin3: ["AGND1"],
  pin4: ["AVDD1"],
  pin5: ["RXN"],
  pin6: ["RXP"],
  pin7: ["DNC"],
  pin8: ["AVDD2"],
  pin9: ["AGND2"],
  pin10: ["EXRES1"],
  pin11: ["AVDD3"],
  pin12: ["NC1"],
  pin13: ["NC2"],
  pin14: ["AGND3"],
  pin15: ["AVDD4"],
  pin16: ["AGND4"],
  pin17: ["AVDD5"],
  pin18: ["VBG"],
  pin19: ["AGND5"],
  pin20: ["TOCAP"],
  pin21: ["AVDD6"],
  pin22: ["1V2O"],
  pin23: ["RSVD1"],
  pin24: ["SPDLED"],
  pin25: ["LINKLED"],
  pin26: ["DUPLED"],
  pin27: ["ACTLED"],
  pin28: ["VDD"],
  pin29: ["GND"],
  pin30: ["pin30"],
  pin31: ["XO"],
  pin32: ["SCSn"],
  pin33: ["SCLK"],
  pin34: ["MISO"],
  pin35: ["MOSI"],
  pin36: ["INTn"],
  pin37: ["RSTn"],
  pin38: ["RSVD2"],
  pin39: ["RSVD3"],
  pin40: ["RSVD4"],
  pin41: ["RSVD5"],
  pin42: ["RSVD6"],
  pin43: ["PMODE2"],
  pin44: ["PMODE1"],
  pin45: ["PMODE0"],
  pin46: ["NC3"],
  pin47: ["NC4"],
  pin48: ["AGND6"]
} as const

const pinAttributes = {
  pin3: {requiresGround: true},
  pin9: {requiresGround: true},
  pin12: {doNotConnect: true},
  pin13: {doNotConnect: true},
  pin14: {requiresGround: true},
  pin16: {requiresGround: true},
  pin19: {requiresGround: true},
  pin28: {requiresPower: true},
  pin29: {requiresGround: true},
  pin46: {doNotConnect: true},
  pin47: {doNotConnect: true},
  pin48: {requiresGround: true}
} as const

export const W5500 = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C32843"
  ]
}}
      manufacturerPartNumber="W5500"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-2.750058mm" pcbY="-4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin2"]} pcbX="-2.249932mm" pcbY="-4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin3"]} pcbX="-1.75006mm" pcbY="-4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin4"]} pcbX="-1.249934mm" pcbY="-4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin5"]} pcbX="-0.750062mm" pcbY="-4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin6"]} pcbX="-0.249936mm" pcbY="-4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin7"]} pcbX="0.249936mm" pcbY="-4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin8"]} pcbX="0.750062mm" pcbY="-4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin9"]} pcbX="1.249934mm" pcbY="-4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin10"]} pcbX="1.75006mm" pcbY="-4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin11"]} pcbX="2.249932mm" pcbY="-4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin12"]} pcbX="2.750058mm" pcbY="-4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin13"]} pcbX="4.249928mm" pcbY="-2.750058mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin14"]} pcbX="4.249928mm" pcbY="-2.249932mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin15"]} pcbX="4.249928mm" pcbY="-1.75006mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin16"]} pcbX="4.249928mm" pcbY="-1.249934mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin17"]} pcbX="4.249928mm" pcbY="-0.750062mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin18"]} pcbX="4.249928mm" pcbY="-0.249936mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin19"]} pcbX="4.249928mm" pcbY="0.249936mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin20"]} pcbX="4.249928mm" pcbY="0.750062mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin21"]} pcbX="4.249928mm" pcbY="1.249934mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin22"]} pcbX="4.249928mm" pcbY="1.75006mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin23"]} pcbX="4.249928mm" pcbY="2.249932mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin24"]} pcbX="4.249928mm" pcbY="2.750058mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin25"]} pcbX="2.750058mm" pcbY="4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin26"]} pcbX="2.249932mm" pcbY="4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin27"]} pcbX="1.75006mm" pcbY="4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin28"]} pcbX="1.249934mm" pcbY="4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin29"]} pcbX="0.750062mm" pcbY="4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin30"]} pcbX="0.249936mm" pcbY="4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin31"]} pcbX="-0.249936mm" pcbY="4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin32"]} pcbX="-0.750062mm" pcbY="4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin33"]} pcbX="-1.249934mm" pcbY="4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin34"]} pcbX="-1.75006mm" pcbY="4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin35"]} pcbX="-2.249932mm" pcbY="4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin36"]} pcbX="-2.750058mm" pcbY="4.249928mm" width="0.270002mm" height="1.499997mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin37"]} pcbX="-4.249928mm" pcbY="2.750058mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin38"]} pcbX="-4.249928mm" pcbY="2.249932mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin39"]} pcbX="-4.249928mm" pcbY="1.75006mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin40"]} pcbX="-4.249928mm" pcbY="1.249934mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin41"]} pcbX="-4.249928mm" pcbY="0.750062mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin42"]} pcbX="-4.249928mm" pcbY="0.249936mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin43"]} pcbX="-4.249928mm" pcbY="-0.249936mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin44"]} pcbX="-4.249928mm" pcbY="-0.750062mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin45"]} pcbX="-4.249928mm" pcbY="-1.249934mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin46"]} pcbX="-4.249928mm" pcbY="-1.75006mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin47"]} pcbX="-4.249928mm" pcbY="-2.249932mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<smtpad portHints={["pin48"]} pcbX="-4.249928mm" pcbY="-2.750058mm" width="1.499997mm" height="0.270002mm" radius="0.135001mm" shape="pill" />
<silkscreenpath route={[{"x":-2.8955999999999733,"y":3.3400999999999925},{"x":3.302000000000021,"y":3.3400999999999925},{"x":3.302000000000021,"y":-3.314700000000002},{"x":-3.327399999999983,"y":-3.314700000000002},{"x":-3.327399999999983,"y":3.3400999999999925},{"x":-2.5653999999999826,"y":3.3400999999999925}]} />
<silkscreenpath route={[{"x":-3.3899855999999886,"y":-4.059986800000004},{"x":-3.5791606142161356,"y":-4.198904249194129},{"x":-3.506066828896735,"y":-4.421934610898454},{"x":-3.2713643711032603,"y":-4.421934610898454},{"x":-3.1982705857838596,"y":-4.198904249194129},{"x":-3.3874456000000066,"y":-4.059986800000004}]} />
<silkscreencircle pcbX="-2.62001mm" pcbY="-2.830068mm" radius="0.170434mm" />
<silkscreentext text="{NAME}" pcbX="-0.0127mm" pcbY="5.8641mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-5.1267999999999745,"y":5.114099999999993},{"x":5.101400000000012,"y":5.114099999999993},{"x":5.101400000000012,"y":-5.139500000000005},{"x":-5.1267999999999745,"y":-5.139500000000005},{"x":-5.1267999999999745,"y":5.114099999999993}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C32843.obj?uuid=a4b96ad857dc48c08dab3d0efdf20aec",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C32843.step?uuid=a4b96ad857dc48c08dab3d0efdf20aec",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 0, z: 0.000795 },
      }}
      {...props}
    />
  )
}