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/DRV8847PWPR.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["nSLEEP"],
pin2: ["OUT1"],
pin3: ["ISEN12"],
pin4: ["OUT2"],
pin5: ["OUT4"],
pin6: ["ISEN34"],
pin7: ["OUT3"],
pin8: ["nFAULT"],
pin9: ["IN3"],
pin10: ["IN4"],
pin11: ["TRQ"],
pin12: ["VM"],
pin13: ["GND"],
pin14: ["MODE"],
pin15: ["IN2"],
pin16: ["IN1"],
pin17: ["EP"]
} as const
const pinAttributes = {
pin13: {requiresGround: true}
} as const
const footprinterPinLabels = {
...pinLabels,
"pin17": [...pinLabels["pin17"], "thermalpad"],
} as const
export const DRV8847PWPR = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={footprinterPinLabels}
pinAttributes={pinAttributes}
supplierPartNumbers={{
"jlcpcb": [
"C544361"
]
}}
manufacturerPartNumber="DRV8847PWPR"
footprint="dfn16_thermalpad2.1mmx2.03mm_pillpads_p0.65mm_w7.5mm_pw0.34mm_pl1.75mm"
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C544361.obj?uuid=92b9b56033084f819c4263ef71865976",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C544361.step?uuid=92b9b56033084f819c4263ef71865976",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0.00005080000005364127, z: 0 },
}}
{...props}
/>
)
}