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/DRV8876PWPR.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["nSLEEP"],
pin4: ["nFAULT"],
pin5: ["VREF"],
pin6: ["IPROPI"],
pin7: ["IMODE"],
pin8: ["OUT1"],
pin9: ["PGND"],
pin10: ["OUT2"],
pin11: ["VM"],
pin12: ["VCP"],
pin13: ["CPH"],
pin14: ["CPL"],
pin15: ["GND"],
pin16: ["PMODE"],
pin17: ["EP"]
} as const
const pinAttributes = {
pin9: {requiresGround: true},
pin15: {requiresGround: true}
} as const
const footprinterPinLabels = {
...pinLabels,
"pin17": [...pinLabels["pin17"], "thermalpad"],
} as const
export const DRV8876PWPR = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={footprinterPinLabels}
pinAttributes={pinAttributes}
supplierPartNumbers={{
"jlcpcb": [
"C575551"
]
}}
manufacturerPartNumber="DRV8876PWPR"
footprint="dfn16_thermalpad2.46mmx3.55mm_pillpads_p0.65mm_w7.5mm_pw0.34mm_pl1.75mm_pin1location(leftside,bottom)"
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C575551.obj?uuid=89f85af05c9045c798a6d7a53851085c",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C575551.step?uuid=89f85af05c9045c798a6d7a53851085c",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0, z: 0 },
}}
{...props}
/>
)
}