MustafaMulla29/rp2040-bldc-motor-controller-new

A USB‑C PD–powered RP2040 controller board with MCT8329A sensorless BLDC driver, three MOSFET half-bridges, protected power switching, USB data, and onboard speed/arm controls.

Version
0.3.83
License
unset
Stars
0

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="Motor, original leads, rigid adapters, USB power and data cables"
      cadModel={{ glbUrl: connectedSystem,
        rotationOffset: { x: 90, y: 180, z: 0 } }} />
  </assembly.device>
}