shibosoftwaredev/f1c100s-linux-nema17-stepper-controller

A four-layer NEMA 17 motor-controller PCB combining an Allwinner F1C100S Linux computer, USB‑PD/buck power system, W5500 Ethernet, STM32 real-time motion control, DRV8825 stepper driver, protection/temperature/current telemetry, USB interfaces, and local LED/buzzer diagnostics.

Version
0.4.56
License
unset
Stars
0

imports/KLJ_4020.tsx

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

const pinLabels = {
  pin1: ["POS"],
  pin2: ["NEG"]
} as const

const pinAttributes = {
  pin1: { requiresPower: true },
  pin2: { isPassive: true },
} as const

export const KLJ_4020 = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      schPinArrangement={{ leftSide: [1], rightSide: [2] }}
      supplierPartNumbers={{
  "jlcpcb": [
    "C556936"
  ]
      }}
      manufacturerPartNumber="KLJ-4020"
      footprint={<footprint>
        {/* Bottom-side placement mirrors X; put pin 1 at +X in the native
            footprint so the assembled positive pad faces the local supply. */}
        <smtpad portHints={["pin1", "POS"]} pcbX="1.75005mm" pcbY="0mm"
          width="1mm" height="1.8mm" shape="rect" />
        <smtpad portHints={["pin2", "NEG"]} pcbX="-1.75005mm" pcbY="0mm"
          width="1mm" height="1.8mm" shape="rect" />
        <silkscreenrect pcbX={0} pcbY={0} width="4mm" height="4mm" strokeWidth="0.15mm" />
        <silkscreentext text="+" pcbX="-1.3mm" pcbY="-1.25mm" fontSize="0.7mm" />
        <courtyardoutline outline={[
          { x: -2.2, y: -2.2 }, { x: 2.2, y: -2.2 },
          { x: 2.2, y: 2.2 }, { x: -2.2, y: 2.2 },
        ]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C556936.obj?uuid=87c01f599c7149efa758bc4161bebe59",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C556936.step?uuid=87c01f599c7149efa758bc4161bebe59",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 0, z: 0 },
      }}
      {...props}
    />
  )
}