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.
dist/oled-shutdown-release/assembly-tests.log
$ cd assembly && bun run test
$ bun run generate-adapter-assets.ts && bun test
bun test v1.3.14 (0d9b296a)
attachment-motion.test.tsx:
(pass) exported plugs stay seated when PCB sockets and the motor move and rotate [1519.88ms]
api-probe.test.tsx:
(pass) the documented motor-to-board cable resolves to real endpoints [90.83ms]
(pass) released explicit cable models support independent bullet diameters and genders [21.87ms]
(pass) the assembly motor schema still has no 2212 BLDC preset [0.14ms]
(pass) an imported motor model URL is rejected rather than silently rendering a NEMA [0.87ms]
geometry.test.tsx:
(pass) native motor plugs seat in rigid adapters on the real PCB socket axes [490.85ms]
(pass) motor envelope retains published dimensions [6.88ms]
(pass) only original motor leads are cables and adapters are rigid CAD owners [4.40ms]
full-assembly.test.tsx:
(pass) PD assembly contains both USB cables and original motor leads, without battery parts [0.55ms]
(pass) OLED uses the SMT connector and stock 36 mm flex with no old spacers [0.90ms]
(pass) Encoder magnet is coaxial with motor, within manufacturer's face-gap range [0.10ms]
(pass) Encoder harness uses live J20 nets and ends at labelled breakout contacts [52.03ms]
(pass) USB destinations correspond to compiled power and data nets [1.25ms]
13 pass
0 fail
251 expect() calls
Ran 13 tests across 4 files. [3.24s]