MustafaMulla29/rp2040-bldc-motor-controller-new
A USB‑C PD–powered RP2040 BLDC motor controller PCB with 3.3 V logic, MCT8329A sensorless commutation, three MOSFET half-bridges, protected power switching, USB data, controls, and motor connectors.
- Version
- 0.3.82
- License
- unset
- Stars
- 0
circuit/assembly-parts.ts
import selections from "./assembly-parts.json"
// Exact orderable choices. Native source-component metadata feeds the BOM and
// parts-engine orientation analysis; this does not replace the authored lands.
export const assemblyProps = (name: string) => {
const p = (selections as Record<string, { manufacturerPartNumber: string; supplierPartNumbers: { jlcpcb: string[] }; maxVoltageRating?: number }>)[name]
if (!p) return {}
return { ...(/^[RC]\d+$/.test(name) && name !== "C93" ? {
pcbStyle: { silkscreenTextVisibility: "hidden" as const }
} : {}), manufacturerPartNumber: p.manufacturerPartNumber,
supplierPartNumbers: p.supplierPartNumbers,
...(p.maxVoltageRating === undefined ? {} : {maxVoltageRating: p.maxVoltageRating}) }
}