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.

imports/LM66100DCKR.tsx

import type { ChipProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["VIN"],
  pin2: ["GND"],
  pin3: ["N_CE"],
  pin4: ["NC"],
  pin5: ["ST"],
  pin6: ["VOUT"]
} as const

const pinAttributes = {
  pin1: {isInput: true, requiresPower: true, mustBeConnected: true},
  pin2: {isPassive: true, requiresGround: true, mustBeConnected: true},
  pin4: {isPassive: true},
  pin3: {isInput: true, mustBeConnected: true},
  pin5: {isOutput: true, canUseOpenDrain: true},
  pin6: {isOutput: true, providesPower: true}
} satisfies NonNullable<ChipProps["pinAttributes"]>

export const LM66100DCKR = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C2869734"
  ]
}}
      manufacturerPartNumber="LM66100DCKR"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-0.649986mm" pcbY="-1.100074mm" width="0.350012mm" height="0.850011mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="0mm" pcbY="-1.100074mm" width="0.350012mm" height="0.850011mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="0.649986mm" pcbY="-1.100074mm" width="0.350012mm" height="0.850011mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="0.649986mm" pcbY="1.100074mm" width="0.350012mm" height="0.850011mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="0mm" pcbY="1.100074mm" width="0.350012mm" height="0.850011mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="-0.649986mm" pcbY="1.100074mm" width="0.350012mm" height="0.850011mm" shape="rect" />
<silkscreenpath route={[{"x":-0.999998000000005,"y":0.4999990000000025},{"x":-0.999998000000005,"y":-0.48999140000000807},{"x":0.9999979999998914,"y":-0.48999140000000807},{"x":0.9999979999998914,"y":0.48999140000000807},{"x":0.9899903999998969,"y":0.4999990000000025},{"x":-0.999998000000005,"y":0.4999990000000025}]} />
<silkscreencircle pcbX="-1.070102mm" pcbY="-0.910082mm" radius="0.050038mm" />
<silkscreencircle pcbX="-0.780034mm" pcbY="-0.260096mm" radius="0.050038mm" />
<silkscreentext text="{NAME}" pcbX="-0.0635mm" pcbY="2.524mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-1.249998000000005,"y":1.7750795000000608},{"x":1.2499979999998914,"y":1.7750795000000608},{"x":1.2499979999998914,"y":-1.775079499999947},{"x":-1.249998000000005,"y":-1.775079499999947},{"x":-1.249998000000005,"y":1.7750795000000608}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2869734.obj?uuid=190ec793c4fb4dd685e7d8ea6d5a8fd2",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C2869734.step?uuid=190ec793c4fb4dd685e7d8ea6d5a8fd2",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: -0.000012700000070253736, z: -0.5 },
      }}
      {...props}
    />
  )
}