ShiboSoftwareDev/nema8-20mm-usbc-pd-controller

A compact four-layer USB‑C PD–powered NEMA8 stepper controller combining a CH32X035 MCU, TMC2209 driver, 3.3 V regulation, USB data/ESD protection, current-sense resistors, protection diodes, and motor connector.

Version
1.0.11
License
unset
Stars
0

imports/BM04B_SRSS_TB_LF__SN_.tsx

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

const pinLabels = {
  pin1: ["pin1"],
  pin2: ["pin2"],
  pin3: ["pin3"],
  pin4: ["pin4"],
  pin5: ["pin5"]
} as const

export const BM04B_SRSS_TB_LF__SN_ = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C160390"
  ]
}}
      manufacturerPartNumber="BM04B-SRSS-TB(LF)(SN)"
      footprint={<footprint insertionDirection="from_bottom">
        <smtpad portHints={["pin1"]} pcbX="-1.499997mm" pcbY="-1.3250037mm" width="0.5999988mm" height="1.5500096mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-0.499999mm" pcbY="-1.3250037mm" width="0.5999988mm" height="1.5500096mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="0.499999mm" pcbY="-1.3250037mm" width="0.5999988mm" height="1.5500096mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="1.499997mm" pcbY="-1.3250037mm" width="0.5999988mm" height="1.5500096mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="-2.799969mm" pcbY="1.2000103mm" width="1.1999976mm" height="1.7999964mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="2.799969mm" pcbY="1.2000103mm" width="1.1999976mm" height="1.7999964mm" shape="rect" />
<silkscreenpath route={[{"x":-1.8987769999999955,"y":1.900796299999996},{"x":1.9010629999999935,"y":1.900796299999996}]} />
<silkscreenpath route={[{"x":-3.001137,"y":0.0008763000000158172},{"x":-3.001137,"y":-0.999883699999998},{"x":-2.0994369999999947,"y":-0.999883699999998}]} />
<silkscreenpath route={[{"x":-2.500756999999993,"y":-0.999883699999998},{"x":-2.500756999999993,"y":0.0008763000000158172},{"x":-2.500756999999993,"y":-0.999883699999998}]} />
<silkscreenpath route={[{"x":-2.500756999999993,"y":-0.40044369999999674},{"x":-3.001137,"y":-0.40044369999999674},{"x":-2.500756999999993,"y":-0.40044369999999674}]} />
<silkscreenpath route={[{"x":3.0008830000000017,"y":0.0008763000000158172},{"x":3.0008830000000017,"y":-0.999883699999998},{"x":2.0991830000000107,"y":-0.999883699999998}]} />
<silkscreenpath route={[{"x":2.500502999999995,"y":-0.999883699999998},{"x":2.500502999999995,"y":0.0008763000000158172},{"x":2.500502999999995,"y":-0.999883699999998}]} />
<silkscreenpath route={[{"x":2.500502999999995,"y":-0.40044369999999674},{"x":3.0008830000000017,"y":-0.40044369999999674},{"x":2.500502999999995,"y":-0.40044369999999674}]} />
<silkscreenpath route={[{"x":-1.8987769999999955,"y":0.9990962999999908},{"x":-1.8987769999999955,"y":1.4994762999999978},{"x":1.9010629999999935,"y":1.4994762999999978},{"x":1.9010629999999935,"y":0.9990962999999908}]} />
<silkscreenpath route={[{"x":-1.8987769999999955,"y":0.39965630000001795},{"x":-1.8987769999999955,"y":-0.25058369999999286},{"x":1.9010629999999935,"y":-0.25058369999999286},{"x":1.9010629999999935,"y":0.39965630000001795}]} />
<silkscreenpath route={[{"x":-1.4999969999999934,"y":0.9990962999999908},{"x":-1.4999969999999934,"y":0.8009763000000021}]} />
<silkscreenpath route={[{"x":-0.4992369999999937,"y":0.9990962999999908},{"x":-0.4992369999999937,"y":0.8009763000000021}]} />
<silkscreenpath route={[{"x":0.4989830000000097,"y":0.9990962999999908},{"x":0.4989830000000097,"y":0.8009763000000021}]} />
<silkscreenpath route={[{"x":1.4997429999999952,"y":0.9990962999999908},{"x":1.4997429999999952,"y":0.8009763000000021}]} />
<silkscreenpath route={[{"x":-2.249982800000012,"y":-1.6499967000000026},{"x":-2.342729725363057,"y":-1.4554478696548045},{"x":-2.5523478589418005,"y":-1.4053332248097234},{"x":-2.7230600507568,"y":-1.536895328466926},{"x":-2.7280019964004794,"y":-1.7523641585241592},{"x":-2.5635011023114913,"y":-1.8916146357114911},{"x":-2.351805763763423,"y":-1.8511631438971818},{"x":-2.2502368000000246,"y":-1.661071100000001}]} />
<silkscreentext text="{NAME}" pcbX="-0.001397mm" pcbY="3.1039963mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-3.6549969999999945,"y":2.3539963000000057},{"x":3.652203,"y":2.3539963000000057},{"x":3.652203,"y":-2.337003699999997},{"x":-3.6549969999999945,"y":-2.337003699999997},{"x":-3.6549969999999945,"y":2.3539963000000057}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C160390.obj?uuid=9af647057cdd4d60966c8713812af180",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C160390.step?uuid=9af647057cdd4d60966c8713812af180",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 1.5, y: -0.4325029999999981, z: -0.01 },
      }}
      {...props}
    />
  )
}