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.
docs/v2-compact-layout.md
# Compact V2 layout — historical 12 November 2026 baseline
Later changes, including the replacement plug-in screen, are recorded in [plug-in OLED revision](plug-in-oled.md). Counts and module dimensions below describe this older artifact.
The board remains **91 × 90 mm**, with four copper layers and 1.6 mm thickness.
All **202 components are assembled on top**. This local revision has not been pushed.
## Corrected controls and mounting
- Four 3.2 mm host mounting holes now occupy the four corners, each 3.5 mm from
its two adjacent edges. Their centers are (-54.5, -23), (29.5, -23),
(-54.5, 60) and (29.5, 60) mm.
- The speed dial is at the left edge, below the upper-left mounting hole and
beside the display. The upward-actuated POWER switch and ARM button are below it.
- UP, DOWN, OK and BACK form one horizontal row below the OLED, in that order.
Their centers are 9.2 mm apart. Functional labels remain on top; the duplicate
SW5–SW8 reference text is hidden. RV1 and SW3 references are repositioned on top.
- The three motor sockets move left to clear the upper-right screw head, while
retaining their top-edge mating direction. Nearby UI passives and affected
copper are repositioned and rerouted.
The proposed 85 × 85 mm arrangement was not adopted: it did not preserve the
requested corner mounting holes and this control layout with the current parts.
The 91 × 90 mm result is not a claim that no smaller redesign is possible.
Relative to the earlier 95 × 90 mm board, it retains the 4.21% area reduction.
All component specifications and all **618 component-pin connections** match the
preceding validated V2 build. The 1.3-inch OLED, upward POWER switch, four
150 µF / 50 V capacitors, sensor, buzzer and motor-control parts are unchanged.
The power-stage, MOSFET, current-shunt and reservoir-bank positions are retained.
No knob cover is added. The V1 enclosure/assembly sources remain retained and
unlinked from `index.tsx`; they are not represented as compatible with V2.
## Validation
Compiled circuit SHA-256:
`b8b2ee5d59cfd5e5416d20ba96bfe2709867a389ff15d9294ca188d33173791c`
- TypeScript and the full PCB build pass; 1,433 traces and 684 vias.
- Native netlist: zero errors or warnings. Schematic wire-interior check passes.
- Native routed DRC: zero errors; 77 nonfatal warnings, including 67 trace-style warnings.
- Physical copper: zero disconnected nets and zero floating groups.
- Copper/pad/drill/edge preflight: no findings under the encoded rules.
- Power widths: 104/104 paths pass, including parallel power-via requirements.
- Current-sense Kelvin isolation, USB geometry/reference plane, route cleanup,
618 pad anchors, 202 courtyards and screw-head clearances pass.
- Saved-routing guard and 94 hardware pin expectations pass. Corner-hole
positions, button order, dial position and top-side assembly are checked.
- Component specifications and pin connectivity match the baseline exactly.
Native placement reports zero DRC errors/warnings but exits 1 for eight
orientation heuristics: R152, R153, C153–C157 and R140. Those same suggestions
occur on the preceding V2 artifact. Actual routed connections and physical
spacing pass the independent audits. The previous J12 edge-direction advisory
is gone. No rules or thresholds were relaxed. OFF/ON retain their existing
0.9 mm small-text advisories; the navigation labels are 1 mm.
Evidence is in `.tscircuit/corner-layout-20261112`; the older compact-layout
results are historical. See [V2 validation](v2-validation.md) for remaining
firmware, thermal, current and supplier assembly validation work.