imrishabh18/pcbgolf

This code defines detailed PCB footprints for various electronic components (such as resistors, capacitors, connectors, ICs, LEDs, and via/hole patterns), as well as associated metadata (pin mappings, CAD models, labels) for a circuit design, enabling precise rendering and integration into a PCB layout in a React-based schematic editor.

Version
1.4.1
License
unset
Stars
0

imports/MCP2542FDT_H_MNY.tsx

// Imported with tsci import --jlcpcb --use-exact-footprint C623192
export const C623192CadModel = {
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C623192.obj?uuid=d86567993ca648f6902dc2d96b4bd951",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C623192.step?uuid=d86567993ca648f6902dc2d96b4bd951",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 0, z: 0 },
      }

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

const pinLabels = {
  pin1: ["TXD"],
  pin2: ["VSS"],
  pin3: ["VDD"],
  pin4: ["RXD"],
  pin5: ["VIO"],
  pin6: ["CANL"],
  pin7: ["CANH"],
  pin8: ["STBY"],
  pin9: ["EP"]
} as const

const pinAttributes = {
  pin2: {requiresGround: true},
  pin3: {requiresPower: true}
} as const

export const MCP2542FDT_H_MNY = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C623192"
  ]
}}
      manufacturerPartNumber="MCP2542FDT-H/MNY"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-1.417574mm" pcbY="0.750062mm" width="0.5849874mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-1.417574mm" pcbY="0.249936mm" width="0.5849874mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-1.417574mm" pcbY="-0.249936mm" width="0.5849874mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="-1.417574mm" pcbY="-0.750062mm" width="0.5849874mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="1.417574mm" pcbY="-0.750062mm" width="0.5849874mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="1.417574mm" pcbY="-0.249936mm" width="0.5849874mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="1.417574mm" pcbY="0.249936mm" width="0.5849874mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="1.417574mm" pcbY="0.750062mm" width="0.5849874mm" height="0.2800096mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="0mm" pcbY="0mm" width="1.499997mm" height="1.5500096mm" shape="rect" />
<silkscreenpath route={[{"x":-1.5761970000000929,"y":1.0761980000000904},{"x":1.5761969999998655,"y":1.0761980000000904}]} />
<silkscreenpath route={[{"x":-1.5761970000000929,"y":-1.0761979999999767},{"x":1.5761969999998655,"y":-1.0761979999999767}]} />
<silkscreencircle pcbX="-2.009902mm" pcbY="0.750062mm" radius="0.07493mm" />
<silkscreentext text="{NAME}" pcbX="0.0127mm" pcbY="1.889mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-1.9517999999999347,"y":1.1390000000001237},{"x":1.977200000000039,"y":1.1390000000001237},{"x":1.977200000000039,"y":-1.13900000000001},{"x":-1.9517999999999347,"y":-1.13900000000001},{"x":-1.9517999999999347,"y":1.1390000000001237}]} />
      </footprint>}
      cadModel={C623192CadModel}
      {...props}
    />
  )
}