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/A_74LVC1G74DP_125.tsx

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

const pinLabels = {
  pin1: ["CP"],
  pin2: ["D"],
  pin3: ["N_Q"],
  pin4: ["GND"],
  pin5: ["Q"],
  pin6: ["R_D"],
  pin7: ["S_D"],
  pin8: ["VCC"]
} as const

const pinAttributes = {
  pin4: {requiresGround: true},
  pin8: {requiresPower: true}
} as const

export const A_74LVC1G74DP_125 = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C458768"
  ]
}}
      manufacturerPartNumber="74LVC1G74DP,125"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-0.975106mm" pcbY="-1.900047mm" width="0.4064mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-0.324866mm" pcbY="-1.900047mm" width="0.4064mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="0.32512mm" pcbY="-1.900047mm" width="0.4064mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="0.975106mm" pcbY="-1.900047mm" width="0.4064mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="0.975106mm" pcbY="1.900047mm" width="0.4064mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="0.32512mm" pcbY="1.900047mm" width="0.4064mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="-0.324866mm" pcbY="1.900047mm" width="0.4064mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="-0.975106mm" pcbY="1.900047mm" width="0.4064mm" height="0.999998mm" shape="rect" />
<silkscreenpath route={[{"x":1.5011400000000066,"y":1.1992609999999928},{"x":1.5011400000000066,"y":-1.1759946000000099}]} />
<silkscreenpath route={[{"x":-1.5113000000000056,"y":-0.5843270000000018},{"x":-1.5113000000000056,"y":-1.1759946000000099}]} />
<silkscreenpath route={[{"x":-1.4859000000000009,"y":1.1992609999999928},{"x":-1.4859000000000009,"y":0.5586729999999989}]} />
<silkscreenpath route={[{"x":-1.5113000000000056,"y":-1.1759946000000099},{"x":1.5011400000000066,"y":-1.1759946000000099}]} />
<silkscreenpath route={[{"x":-1.4859000000000009,"y":1.1992609999999928},{"x":1.5011400000000066,"y":1.1992609999999928}]} />
<silkscreenpath route={[{"x":-1.4859000000000009,"y":0.5586729999999989},{"x":-1.2432950597353312,"y":0.4931850948629801},{"x":-1.0522000446552369,"y":0.3300026265289233},{"x":-0.9495276333516927,"y":0.10064657424956636},{"x":-0.9551104400722181,"y":-0.1505797281735255},{"x":-1.0678700675073287,"y":-0.37514840181422926},{"x":-1.2660254143346492,"y":-0.5296808621059057},{"x":-1.5113000000000056,"y":-0.5843270000000018}]} />
<silkscreencircle pcbX="-0.762mm" pcbY="-0.762mm" radius="0.1016mm" />
<silkscreentext text="{NAME}" pcbX="-0.01778mm" pcbY="3.395093mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-1.7499970000000076,"y":2.6500460000000032},{"x":1.7499970000000076,"y":2.6500460000000032},{"x":1.7499970000000076,"y":-2.6500460000000032},{"x":-1.7499970000000076,"y":-2.6500460000000032},{"x":-1.7499970000000076,"y":2.6500460000000032}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C458768.obj?uuid=6ea22c8c81864639acb278665376373b",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C458768.step?uuid=6ea22c8c81864639acb278665376373b",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 0, z: -0.175 },
      }}
      {...props}
    />
  )
}