seveibar/nema17-rp2040-stepper-controller

A tscircuit package created by seveibar.

Version
0.3.1
License
unset
Stars
0

imports/EL357N_C__TA__G.tsx

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

const pinLabels = {
  pin1: ["AN"],
  pin2: ["CAT"],
  pin3: ["EM"],
  pin4: ["COL"]
} as const

export const EL357N_C__TA__G = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      symbol={
        <symbol>
          <schematicrect schX={0} schY={0} width={1} height={0.68} strokeWidth={0.02} color="#880000" />
          <port name="pin1" pinNumber={1} aliases={["AN"]} direction="left" schX={-0.9} schY={0.2} schStemLength={0.4} />
          <port name="pin2" pinNumber={2} aliases={["CAT"]} direction="left" schX={-0.9} schY={-0.2} schStemLength={0.4} />
          <port name="pin3" pinNumber={3} aliases={["EM"]} direction="right" schX={0.9} schY={-0.2} schStemLength={0.4} />
          <port name="pin4" pinNumber={4} aliases={["COL"]} direction="right" schX={0.9} schY={0.2} schStemLength={0.4} />
          <schematicpath points={[{"x":0.5,"y":0.2},{"x":0.3,"y":0.06}]} strokeColor="#880000" />
          <schematicpath points={[{"x":0.3,"y":-0.06},{"x":0.5,"y":-0.2}]} strokeColor="#880000" />
          <schematicpath points={[{"x":0.3,"y":0.18},{"x":0.3,"y":-0.18}]} strokeColor="#880000" />
          <schematicpath points={[{"x":0.5,"y":-0.2},{"x":0.44,"y":-0.1},{"x":0.38,"y":-0.18},{"x":0.5,"y":-0.2}]} strokeColor="#880000" isFilled fillColor="#880000" />
          <schematicpath svgPath="M 0.06 -0.16 L 0.02 -0.08 L -0.02 -0.12 Z" strokeColor="#880000" isFilled fillColor="#880000" />
          <schematicpath svgPath="M 0.12 -0.08 L 0.08 0 L 0.04 -0.04 Z" strokeColor="#880000" isFilled fillColor="#880000" />
          <schematicpath points={[{"x":-0.08,"y":-0.02},{"x":0.06,"y":-0.16}]} strokeColor="#880000" />
          <schematicpath points={[{"x":-0.02,"y":0.06},{"x":0.12,"y":-0.08}]} strokeColor="#880000" />
          <schematicpath points={[{"x":-0.08,"y":-0.1},{"x":-0.4,"y":-0.1}]} strokeColor="#880000" />
          <schematicpath svgPath="M -0.36 0.1 L -0.24 -0.1 L -0.1 0.1 Z" strokeColor="#880000" isFilled fillColor="#880000" />
          <schematicpath points={[{"x":-0.5,"y":0.2},{"x":-0.24,"y":0.2},{"x":-0.24,"y":-0.2},{"x":-0.5,"y":-0.2}]} strokeColor="#880000" />
          <schematictext schX={0} schY={0.568} text="{NAME}" fontSize={0.2} anchor="bottom_center" />
        </symbol>
      }
      supplierPartNumbers={{
  "jlcpcb": [
    "C29981"
  ]
}}
      manufacturerPartNumber="EL357N(C)(TA)-G"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-3.299968mm" pcbY="1.269873mm" width="1.6999966mm" height="0.9500108mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-3.299968mm" pcbY="-1.270127mm" width="1.6999966mm" height="0.9500108mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="3.299968mm" pcbY="-1.270127mm" width="1.6999966mm" height="0.9500108mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="3.299968mm" pcbY="1.269873mm" width="1.6999966mm" height="0.9500108mm" shape="rect" />
<silkscreenpath route={[{"x":-1.6510000000000673,"y":1.523873000000009},{"x":-1.840175014216186,"y":1.3849555508058558},{"x":-1.7670812288967,"y":1.161925189101538},{"x":-1.5323787711033106,"y":1.1619251891015807},{"x":-1.4592849857839383,"y":1.3849555508059126},{"x":-1.6484600000001137,"y":1.523873000000009}]} />
<silkscreenrect pcbX="0.000127mm" pcbY="0mm" width="4.400042mm" height="4.19989mm" strokeWidth="0.254mm" />
<silkscreentext text="{NAME}" pcbX="0.01016mm" pcbY="3.158873mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-4.399966300000017,"y":2.2998816000000204},{"x":4.39996629999996,"y":2.2998816000000204},{"x":4.39996629999996,"y":-2.300110200000006},{"x":-4.399966300000017,"y":-2.300110200000006},{"x":-4.399966300000017,"y":2.2998816000000204}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C29981.obj?uuid=c4a706bf43454f48bfde2d8029e8561c",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C29981.step?uuid=c4a706bf43454f48bfde2d8029e8561c",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 0.00011429999999279516, z: 0.115963 },
      }}
      {...props}
    />
  )
}