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-encoder

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.

package.json

{
  "name": "@tsci/aj0070.dual-motor-encoder",
  "version": "1.0.0",
  "description": "Dual DC motor controller: RP2040, 2x DRV8871, two encoder inputs, 7-12 V input with 5 V buck, I2C connector",
  "main": "index.circuit.tsx",
  "keywords": [
    "tscircuit",
    "circuit",
    "pcb",
    "electronics"
  ],
  "scripts": {
    "dev": "tsci dev",
    "build": "tsci build",
    "snapshot": "tsci snapshot",
    "snapshot:update": "tsci snapshot --update",
    "start": "tsci dev",
    "typecheck": "tsc --noEmit"
  },
  "devDependencies": {
    "@types/react": "^19.3.0",
    "tscircuit": "^0.0.3289",
    "typescript": "^5.0.0"
  },
  "author": "aj0070"
}