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

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/MustafaMulla29.rp2040-bldc-motor-controller",
  "version": "2.0.40",
  "description": "RP2040 USB-PD BLDC controller with MCF8329A sensorless FOC, OLED controls, PCB temperature sensing and buzzer; engineering prototype",
  "main": "dist/index.js",
  "keywords": [
    "tscircuit",
    "circuit",
    "pcb",
    "electronics"
  ],
  "scripts": {
    "dev": "tsci dev index.tsx",
    "build": "bun run build:pcb && bun run build:package",
    "check": "bun scripts/validate.mjs",
    "check:routing": "bun scripts/check-routed.mjs",
    "check:review-hardware": "bun scripts/check-review-hardware.mjs",
    "export:hardware-review": "bun scripts/export-hardware-review.mjs",
    "check:schematic-wires": "bun scripts/check-schematic-wires.mjs",
    "schematic": "bun scripts/render-schematic.mjs",
    "diagram": "bun scripts/render-system-diagram.tsx",
    "test": "python3 -B -m unittest discover -s firmware -p 'test_*.py' -v",
    "typecheck": "tsc --noEmit",
    "refresh:routing": "bun scripts/refresh-routing.mjs",
    "prepare:assembly": "bun scripts/prepare-assembly.mjs",
    "export:factory-review": "bun scripts/export-factory-review.mjs",
    "check:assembly-pcb": "bun scripts/check-assembly-pcb.mjs",
    "assembly:build": "bun run check:assembly-pcb && cd assembly && bun run build",
    "assembly:test": "cd assembly && bun run test",
    "assembly:preview": "cd assembly && bun run preview",
    "preview:placement": "bun scripts/render-placement-preview.mjs",
    "build:pcb": "tsci build pcb.circuit.tsx --disable-parts-engine --pcb-png --schematic-png --svgs --autorouter-timeout 120m && bun scripts/check-jlc-sourcing.mjs dist/pcb/circuit.json",
    "build:system": "tsci build system.circuit.tsx --disable-parts-engine --autorouter-timeout 120m && bun run check:integration",
    "check:integration": "bun scripts/check-integration.mjs",
    "build:all": "bun run build:pcb && bun run assembly:build && bun run enclosure:build && bun run enclosure:export && bun run build:package && bun run enclosure:drawings",
    "check:pd-config": "bun scripts/check-pd-config.mjs",
    "check:rgb-status": "bun scripts/check-rgb-status.mjs",
    "check:current-budget": "python3 -B scripts/check-current-budget.py",
    "push:package": "bun scripts/large-files.mjs pack && bunx tsci push --compress --include-dist",
    "dev:connected": "tsci dev system.circuit.tsx",
    "build:enclosed": "tsci build enclosed-system.circuit.tsx --disable-parts-engine --autorouter-timeout 120m && bun run check:enclosed",
    "check:enclosed": "bun scripts/check-integration.mjs --enclosed",
    "enclosure:build": "cd enclosure && bun run build",
    "enclosure:verify": "cd enclosure && bun run verify",
    "enclosure:preview": "cd enclosure && bun run preview",
    "snapshot": "tsci snapshot",
    "snapshot:update": "tsci snapshot --update",
    "start": "tsci dev index.tsx",
    "build:package": "tsci build index.tsx --disable-parts-engine --autorouter-timeout 120m && bun scripts/check-integration.mjs --main",
    "enclosure:export": "bun run enclosure:verify && cd enclosure && .venv/bin/python export-3mf.py && bun export-sticker.ts && bun export-print-files.ts",
    "enclosure:drawings": "tsci build enclosure/drawings.circuit.tsx --disable-parts-engine --drawings && bun scripts/check-drawings.mjs",
    "enclosure:uv": "bun enclosure/export-uv-labels.ts",
    "check:jlc-sourcing": "bun scripts/check-jlc-sourcing.mjs",
    "build:encoder": "tsci build encoder-board.circuit.tsx --disable-parts-engine --pcb-png --schematic-png --3d-png --ignore-config",
    "build:fabrication": "bun run build:encoder && bun scripts/build-fabrication-with-encoder.mjs && bun run check:fabrication",
    "check:fabrication": "bun scripts/check-fabrication-with-encoder.mjs",
    "pack:large": "bun scripts/large-files.mjs pack",
    "restore:large": "bun scripts/large-files.mjs restore"
  },
  "devDependencies": {
    "tscircuit": "latest",
    "typescript": "^5.0.0",
    "@types/react": "latest"
  },
  "author": "MustafaMulla29",
  "private": true
}