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/layout-quality.json
{
"sha256": "9504bda72bf457008229edd38ef1878ca89522d19c5dba67e180b4cbfcc813de",
"scope": "Main supply/motor runs >=0.8 mm on outer copper; buck switch node on top; top-side assembly; component/screw clearance; local flash and PD regulator bypass. Does not certify electrical or thermal performance.",
"uniqueVias": 888,
"viaCountsByNet": {
"GND": 219,
"V3V3": 93,
"QSPI_SD3": 2,
"PD_ALERT_N": 4,
"SWCLK": 16,
"LOGIC_IN": 3,
"MOTOR_SPEED": 11,
"QSPI_SD2": 2,
"QSPI_SS": 2,
"QSPI_SCLK": 2,
"QSPI_SD1": 2,
"QSPI_SD0": 2,
"SWDIO": 12,
"RUN": 20,
"V1V1": 6,
"ARM_REQUEST_N": 9,
"MCF_DRVOFF": 12,
"ADC_AVDD": 2,
"PROG_CC1": 1,
"MCF_BRAKE": 2,
"ADC_THROTTLE": 2,
"MOTOR_ARM": 14,
"PD_SCL": 3,
"PD_SDA": 6,
"PD_RESET": 9,
"MOTOR_FG": 6,
"THROTTLE_IN": 7,
"PD_OK2_N": 11,
"PD_INHIBIT_B": 3,
"PROG_CC2": 3,
"BOOTSEL": 4,
"VBUS_RAW": 12,
"VMOTOR": 13,
"PHASE_U": 11,
"PHASE_V": 8,
"PHASE_W": 6,
"GHA": 2,
"MCF_BSTB": 2,
"GHB": 2,
"GHC": 2,
"PD9": 10,
"PROG_VBUS": 9,
"PD_SNK_EN": 2,
"IIN_RAW": 2,
"ADC_IIN": 4,
"MOTOR_FAULT_N": 5,
"MCF_EXTCLK": 4,
"ADC_VBUS": 7,
"PD_VS": 2,
"ADC_VMOTOR": 4,
"MCF_GVDD": 2,
"PD_DISCH": 2,
"PD_ATTACH_N": 5,
"MCF_SCL": 8,
"KEY_OK_N": 5,
"KEY_BACK_N": 8,
"BUZZER_EN": 11,
"PROG_PRESENT": 3,
"MCF_SDA": 18,
"PD_COMMON_S": 8,
"CC1": 4,
"PD_GATE": 3,
"ARM_BASE": 11,
"IDEAL_GATE": 2,
"GHC_GATE": 2,
"ENC_Z_EXT": 5,
"REARM_INHIBIT_B": 4,
"ENC_A": 7,
"ENC_B": 7,
"ENC_Z": 7,
"TEMP_ALERT_N": 10,
"GLA": 3,
"GLB": 2,
"LS_RETURN": 9,
"GLC": 2,
"UI_SCL": 14,
"UI_SDA": 16,
"ENC_B_FILTER": 6,
"ENC_A_EXT": 4,
"ENC_A_FILTER": 2,
"ENC_3V3": 4,
"KEY_DOWN_N": 4,
"STATUS_BLUE": 6,
"POWER_ON_LEVEL": 1,
"REARM_RESET_N": 3,
"PD_LOAD": 5,
"PD_SWITCHED": 4,
"KEY_UP_N": 6,
"STATUS_LED": 5,
"ENC_B_EXT": 5,
"ENC_PULLUP": 2,
"ENC_Z_FILTER": 6,
"STATUS_RED": 10,
"LED_R_A": 3,
"GHA_GATE": 3,
"POWER_SWITCH_EN": 2,
"OLED_ENABLE_BASE": 2,
"OLED_HOLD_OK_N": 2,
"OLED_POWER_EN": 5,
"OLED_RESET_N": 4,
"OLED_SCL": 4,
"OLED_SDA": 5,
"OLED_IREF": 2,
"OLED_POWER_REQUEST_N": 2,
"LED_B_A": 2,
"OLED_VCC": 2,
"OLED_VDD_RAW": 2
},
"explicitGroundAndThermalVias": 22,
"pcbComponentRecords": 290,
"courtyardsChecked": 268,
"testPadProbeCourtyardsChecked": 16,
"screwHeadEnvelopeDiameterMm": 6.4,
"componentSpacingFindings": [],
"criticalBypassPlacement": [
{
"from": "U11.8",
"to": "C140.1",
"padCenterDistanceMm": 1.4399810006125076
},
{
"from": "U5.45",
"to": "C48.1",
"padCenterDistanceMm": 3.5205527574949094
},
{
"from": "U5.50",
"to": "C47.1",
"padCenterDistanceMm": 5.364212601777914
},
{
"from": "U5.23",
"to": "C46.1",
"padCenterDistanceMm": 2.4929766739127346
},
{
"from": "U5.44",
"to": "C49.1",
"padCenterDistanceMm": 2.4454108090881155
},
{
"from": "U6.8",
"to": "C53.1",
"padCenterDistanceMm": 1.6801243193478301
},
{
"from": "U7.2",
"to": "C80.1",
"padCenterDistanceMm": 1.53308
},
{
"from": "U7.5",
"to": "C70.1",
"padCenterDistanceMm": 1.6098740114493428
},
{
"from": "U7.36",
"to": "C78.1",
"padCenterDistanceMm": 1.8668254283987022
},
{
"from": "U7.26",
"to": "C77.1",
"padCenterDistanceMm": 1.762080000001136
},
{
"from": "U2.5",
"to": "C5.1",
"padCenterDistanceMm": 1.804233524630612
},
{
"from": "U3.3",
"to": "C10.1",
"padCenterDistanceMm": 3.4401518661849795
}
],
"flashBypass": {
"flash_bypass_vcc": {
"lengthMm": 1.6801243193478301,
"maximumLengthMm": 2.0,
"topLayerWidthPass": true
},
"flash_bypass_ground": {
"lengthMm": 0.889999999999997,
"maximumLengthMm": 1.1,
"topLayerWidthPass": true
}
},
"pdRegulatorBypass": {
"PD_1V2": {
"from": "U1.21",
"to": "C3.1",
"lengthMm": 2.127377212464212,
"maximumLengthMm": 2.2,
"topLayerWidthPass": true,
"padAnchorsPass": true
},
"PD_2V7": {
"from": "U1.23",
"to": "C2.1",
"lengthMm": 2.0126273633884644,
"maximumLengthMm": 2.2,
"topLayerWidthPass": true,
"padAnchorsPass": true
}
},
"powerSwitchBypass": {
"layout_PD_LOAD_1": {
"lengthMm": 1.4400000000000013,
"maximumLengthMm": 3.15,
"minimumWidthMm": 0.3,
"pass": true
},
"ground_join_C140_2": {
"lengthMm": 0.6999999999999993,
"maximumLengthMm": 1.65,
"minimumWidthMm": 0.2,
"pass": true
}
},
"bridgeBypass": {
"bridge_bypass_0": {
"lengthMm": 4.718776513981801,
"maximumLengthMm": 5.35,
"minimumWidthMm": 0.6,
"pass": true
},
"local_ground_C90_2": {
"lengthMm": 1.25,
"maximumLengthMm": 1.5,
"minimumWidthMm": 0.6,
"pass": true
}
},
"widePowerLengthMmByLayer": {
"top": 412.0351924335718,
"bottom": 342.6288182564281
},
"violations": []
}