aj0070/dual-motor-encoder
A 60×45 mm dual-motor controller board built around an RP2040 MCU with QSPI flash, USB‑C, encoder inputs, dual DRV8871 H‑bridge drivers, protected power input, 5 V buck and 3.3 V LDO rails, connectors, filtering, and status LEDs.
- Version
- 1.0.0
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone aj0070/dual-motor-encoder # download the package files into ./dual-motor-encoder
tsci add aj0070/dual-motor-encoder # add it to your project as @tsci/aj0070.dual-motor-encoderIn 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/TPS5430DDAR.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["BOOT"],
pin2: ["NC1"],
pin3: ["NC2"],
pin4: ["VSENSE"],
pin5: ["ENA"],
pin6: ["GND"],
pin7: ["VIN"],
pin8: ["PH"],
pin9: ["PowerPAD"]
} as const
const pinAttributes = {
pin2: {doNotConnect: true},
pin3: {doNotConnect: true},
pin6: {requiresGround: true},
pin7: {requiresPower: true}
} as const
const footprinterPinLabels = {
...pinLabels,
"pin9": [...pinLabels["pin9"], "thermalpad"],
} as const
export const TPS5430DDAR = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={footprinterPinLabels}
pinAttributes={pinAttributes}
supplierPartNumbers={{
"jlcpcb": [
"C9864"
]
}}
manufacturerPartNumber="TPS5430DDAR"
footprint="dfn8_thermalpad2.5mmx3.5mm_w6.7mm_pl1.3mm"
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C9864.obj?uuid=f5377fc2ccbb41ff8aa998b5ab8a4f05",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C9864.step?uuid=f5377fc2ccbb41ff8aa998b5ab8a4f05",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0.000012700000013410317, z: -0.825 },
}}
{...props}
/>
)
}