MustafaMulla29/rp2040-bldc-motor-controller
Hardware assembly metadata and PCB geometry for a controller board with a snap-off rotary-encoder section, plus four parallel 150 µF/50 V bulk electrolytic capacitors filtering the motor supply.
- Version
- 2.0.40
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone MustafaMulla29/rp2040-bldc-motor-controller # download the package files into ./rp2040-bldc-motor-controller
tsci add MustafaMulla29/rp2040-bldc-motor-controller # add it to your project as @tsci/MustafaMulla29.rp2040-bldc-motor-controllerIn 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.
system.circuit.tsx
import { assembly } from "tscircuit"
import Controller from "./index.circuit"
import connectedSystem from "./assets/connected-system.glb"
/** The routed PCB remains live; the mechanical asset contains no PCB.
* Exported from assembly/full-assembly.tsx, including its native cable models.
*/
export default function ConnectedSystem() {
return <assembly.device name="USB_PD_BLDC_SYSTEM">
<Controller />
<assembly.subassembly name="CONNECTED_EXTERNAL_ASSEMBLY"
displayName="OLED supports, motor, encoder mount study and harness, motor leads, adapters and USB cables"
cadModel={{ glbUrl: connectedSystem,
rotationOffset: { x: 90, y: 180, z: 0 } }} />
</assembly.device>
}