ShiboSoftwareDev/usb-pd-quad-dc-motor-controller

USB‑C USB‑PD–powered ESP32‑C3 controller with protected data, 3.3‑V regulation, and dual DRV8847 H‑bridges driving four current-limited brushed DC motors with status indication and protection.

Version
1.0.0
License
unset
Stars
0

imports/SK6812MINI_E.tsx

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

const pinLabels = {
  pin1: ["GND"],
  pin2: ["DIN"],
  pin3: ["VDD"],
  pin4: ["DOUT"]
} as const

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

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

export const SK6812MINI_E = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={footprinterPinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C5149201"
  ]
}}
      manufacturerPartNumber="SK6812MINI-E"
      footprint="dfn4_p1.4501mm_w7.0998mm_pw0.8mm_pl1.7mm"
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5149201.obj?uuid=1fdd18f600ee4914bff270f177ea42a0",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C5149201.step?uuid=1fdd18f600ee4914bff270f177ea42a0",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 0, z: 0.000003399999999986747 },
      }}
      {...props}
    />
  )
}