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/KF128_5_08_2P_AA.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"]
} as const
const pinAttributes = {
pin1: {isPassive: true},
pin2: {isPassive: true}
} satisfies NonNullable<ChipProps["pinAttributes"]>
export const KF128_5_08_2P_AA = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
pinAttributes={pinAttributes}
supplierPartNumbers={{
"jlcpcb": [
"C474952"
]
}}
manufacturerPartNumber="KF128-5.08-2P-AA"
footprint="pinrow2_nosquareplating_p5.08mm_od2.4mm_id1.6mm"
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C474952.obj?uuid=be36e72b75ac4dee8d6e181eb7e8d784",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C474952.step?uuid=be36e72b75ac4dee8d6e181eb7e8d784",
pcbRotationOffset: 180,
modelOriginPosition: { x: 0.0000621000000036176, y: -0.01501149999994622, z: -0.000006999999999646178 },
}}
{...props}
/>
)
}