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.

assets/encoder-mount/report.json

{
  "status": "FIT STUDY: flat base taken from the seller's drawing; shaft end, its retainer and lead exit not checked on a motor",
  "parameters": {
    "motor": {
      "bodyDiameter": 28.0,
      "bodyHeight": 24.0,
      "screwX": 8.0,
      "screwY": 9.5,
      "screwClearance": 3.4,
      "headDiameter": 5.5,
      "headHeight": 2.5
    },
    "shaft": {
      "stickOut": 0.0,
      "source": "seller drawing: flat base, nothing proud",
      "measured": false
    },
    "magnet": {
      "diameter": 6.0,
      "height": 2.5
    },
    "sensor": {
      "gap": 1.5,
      "chipHeight": 1.1
    },
    "board": {
      "width": 24.0,
      "length": 38.0,
      "originToPadEnd": 12.5,
      "thickness": 1.6,
      "holes": [
        [
          -8.5,
          -8.5
        ],
        [
          8.5,
          -8.5
        ],
        [
          -8.5,
          8.5
        ],
        [
          8.5,
          8.5
        ]
      ],
      "holeDiameter": 2.7,
      "plug": {
        "near": 14.96,
        "far": 25.04,
        "halfWidth": 7.5,
        "height": 5.5
      },
      "chip": {
        "along": 6.4,
        "across": 5.0
      }
    },
    "holder": {
      "plate": 2.5,
      "wall": 3.0,
      "sideClearance": 2.0,
      "post": 6.0,
      "pilot": 2.2,
      "pilotDepth": 4.0,
      "shaftHole": 10.0,
      "plugSideX": -14.5,
      "farSideX": 17.0,
      "underBoard": 4.3
    },
    "cap": {
      "diameter": 8.0,
      "topClearance": 0.6,
      "neck": 3.0,
      "pocketClearance": 0.1,
      "floor": 1.0
    }
  },
  "heights": {
    "shaftEnd": -0.0,
    "capTop": -0.6,
    "magnetTop": -1.6,
    "magnetFace": -4.1,
    "chipTop": -5.6,
    "boardTop": -6.7,
    "boardBottom": -8.3,
    "standBottom": -12.6,
    "plateBottom": -2.5
  },
  "holderBounds": [
    [
      -14.5,
      -17.0,
      -12.6
    ],
    [
      17.0,
      17.0,
      0.0
    ]
  ],
  "capBounds": [
    [
      -4.0,
      -4.0,
      -4.1
    ],
    [
      4.0,
      4.0,
      0.0
    ]
  ],
  "checks": [
    {
      "check": "holder is one watertight solid",
      "pass": true,
      "detail": "4713 mm3"
    },
    {
      "check": "magnet cap is one watertight solid",
      "pass": true,
      "detail": "107 mm3"
    },
    {
      "check": "holder does not cut into motor",
      "pass": true,
      "detail": "0.0000 mm3"
    },
    {
      "check": "holder does not cut into magnet",
      "pass": true,
      "detail": "0.0000 mm3"
    },
    {
      "check": "holder does not cut into board",
      "pass": true,
      "detail": "-0.0000 mm3"
    },
    {
      "check": "holder does not cut into chip",
      "pass": true,
      "detail": "0.0000 mm3"
    },
    {
      "check": "holder does not cut into plug",
      "pass": true,
      "detail": "0.0000 mm3"
    },
    {
      "check": "holder does not cut into motorScrewHeads",
      "pass": true,
      "detail": "-0.0000 mm3"
    },
    {
      "check": "holder does not cut into boardScrews",
      "pass": true,
      "detail": "0.0000 mm3"
    },
    {
      "check": "magnet cap does not touch the holder",
      "pass": true,
      "detail": "radial gap 1.00 mm"
    },
    {
      "check": "magnet cap does not touch motor",
      "pass": true,
      "detail": ""
    },
    {
      "check": "magnet cap does not touch chip",
      "pass": true,
      "detail": ""
    },
    {
      "check": "magnet cap does not touch board",
      "pass": true,
      "detail": ""
    },
    {
      "check": "magnet cap does not touch motorScrewHeads",
      "pass": true,
      "detail": ""
    },
    {
      "check": "magnet fits its pocket",
      "pass": true,
      "detail": ""
    },
    {
      "check": "magnet face to chip is 0.5-3 mm",
      "pass": true,
      "detail": "1.50 mm"
    },
    {
      "check": "motor screw heads clear the board parts",
      "pass": true,
      "detail": "0.60 mm above the chip"
    },
    {
      "check": "plug clears the holder plate in plan",
      "pass": true,
      "detail": "0.46 mm"
    },
    {
      "check": "cable leaves on a different side from the motor leads",
      "pass": true,
      "detail": "cable toward -X, motor leads toward +Y"
    },
    {
      "check": "stand lifts the board screws off the table",
      "pass": true,
      "detail": "2.30 mm"
    },
    {
      "check": "posts reach the holder plate",
      "pass": true,
      "detail": "post 4.20 mm"
    },
    {
      "check": "cap reaches the shaft end with a glue face",
      "pass": true,
      "detail": "3.0 mm neck, 0.60 mm tall"
    },
    {
      "check": "magnet is kept off the steel shaft",
      "pass": true,
      "detail": "1.60 mm of plastic"
    }
  ],
  "allChecksPass": true,
  "hardware": [
    "4 x M3 screws into the motor base (length to suit the motor's thread depth plus 2.5 mm plate)",
    "4 x M2.5 x 5 plastic or brass screws into the posts",
    "1 x 6 x 2.5 mm diametric magnet, glued into the cap",
    "glue for the cap's neck on the shaft end"
  ]
}