MustafaMulla29/rp2040-bldc-motor-controller

Hardware assembly metadata and PCB geometry for a controller board with a snap-off rotary-encoder section, plus four parallel 150 µF/50 V bulk electrolytic capacitors filtering the motor supply.

Version
2.0.40
License
unset
Stars
0

Use with the tscircuit CLI

tsci is the tscircuit CLI. Install it with npm install -g tscircuit.

tsci clone MustafaMulla29/rp2040-bldc-motor-controller  # download the package files into ./rp2040-bldc-motor-controller
tsci add MustafaMulla29/rp2040-bldc-motor-controller    # add it to your project as @tsci/MustafaMulla29.rp2040-bldc-motor-controller

In a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.

imports/TPS3808G01DRVR.tsx

// TI TPS3808G01 in the DRV (WSON-6, 2 x 2 mm) package, JLCPCB C477447. Same device as the former DBV part.
import type { ChipProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["VDD"],
  pin2: ["SENSE"],
  pin3: ["CT"],
  pin4: ["MR"],
  pin5: ["GND"],
  pin6: ["RESET"],
  pin7: ["EP"]
} as const

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

const footprinterPinLabels = {
  ...pinLabels,
  "pin7": [...pinLabels["pin7"], "thermalpad"],
} as const

export const TPS3808G01DRVR = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={footprinterPinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C477447"
  ]
}}
      manufacturerPartNumber="TPS3808G01DRVR"
      footprint="dfn6_thermalpad1mmx1.6mm_p0.65mm_w2.4mm_pw0.4mm_pl0.45mm_pin1location(leftside,bottom)"
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C477447.obj?uuid=c909123e4a7a4da5a0270979fee6c02c",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C477447.step?uuid=c909123e4a7a4da5a0270979fee6c02c",
        pcbRotationOffset: 90,
        modelOriginPosition: { x: -0.000012700000013410317, y: 0, z: 0 },
      }}
      {...props}
    />
  )
}