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

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

const pinLabels = {
  pin1: ["1A"],
  pin2: ["3Y"],
  pin3: ["2A"],
  pin4: ["GND"],
  pin5: ["2Y"],
  pin6: ["3A"],
  pin7: ["1Y"],
  pin8: ["VCC"]
} as const

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

export const SN74LVC3G17DCUR = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      pinAttributes={pinAttributes}
      supplierPartNumbers={{
  "jlcpcb": [
    "C68245"
  ]
}}
      manufacturerPartNumber="SN74LVC3G17DCUR"
      footprint={<footprint>
        <smtpad portHints={["pin8"]} pcbX="-1.549908mm" pcbY="-0.750062mm" width="0.7500112mm" height="0.2500122mm" radius="0.1250061mm" shape="pill" />
<smtpad portHints={["pin7"]} pcbX="-1.549908mm" pcbY="-0.249936mm" width="0.7500112mm" height="0.2500122mm" radius="0.1250061mm" shape="pill" />
<smtpad portHints={["pin6"]} pcbX="-1.549908mm" pcbY="0.249936mm" width="0.7500112mm" height="0.2500122mm" radius="0.1250061mm" shape="pill" />
<smtpad portHints={["pin5"]} pcbX="-1.549908mm" pcbY="0.750062mm" width="0.7500112mm" height="0.2500122mm" radius="0.1250061mm" shape="pill" />
<smtpad portHints={["pin4"]} pcbX="1.549908mm" pcbY="0.750062mm" width="0.7500112mm" height="0.2500122mm" radius="0.1250061mm" shape="pill" />
<smtpad portHints={["pin3"]} pcbX="1.549908mm" pcbY="0.249936mm" width="0.7500112mm" height="0.2500122mm" radius="0.1250061mm" shape="pill" />
<smtpad portHints={["pin2"]} pcbX="1.549908mm" pcbY="-0.249936mm" width="0.7500112mm" height="0.2500122mm" radius="0.1250061mm" shape="pill" />
<smtpad portHints={["pin1"]} pcbX="1.549908mm" pcbY="-0.750062mm" width="0.7500112mm" height="0.2500122mm" radius="0.1250061mm" shape="pill" />
<silkscreenpath route={[{"x":0.8998712000001206,"y":-1.000048799999945},{"x":0.8998712000001206,"y":0.9998964000001251},{"x":-0.9001506000000745,"y":0.9998964000001251},{"x":-0.9001506000000745,"y":-1.000048799999945}]} />
<silkscreenpath route={[{"x":-0.2541016000000127,"y":-1.0161015999998426},{"x":-0.9001506000000745,"y":-1.0161015999998426}]} />
<silkscreenpath route={[{"x":0.2538984000000255,"y":-1.0161015999998426},{"x":0.8998712000001206,"y":-1.0161015999998426}]} />
<silkscreenpath route={[{"x":0.2538729999999987,"y":-1.0160761999998158},{"x":0.1794781224214148,"y":-0.8364710775784943},{"x":-0.00012700000002041634,"y":-0.7620761999997967},{"x":-0.17973212242145564,"y":-0.8364710775784943},{"x":-0.25412699999992583,"y":-1.0160761999998158}]} />
<silkscreentext text="{NAME}" pcbX="0.248412mm" pcbY="2.00838mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-2.1749135999998543,"y":1.2499218000000383},{"x":2.174913599999968,"y":1.2499218000000383},{"x":2.174913599999968,"y":-1.2500741999998581},{"x":-2.1749135999998543,"y":-1.2500741999998581},{"x":-2.1749135999998543,"y":1.2499218000000383}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C68245.obj?uuid=714a6271b466408e99a25b85bfe66811",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C68245.step?uuid=714a6271b466408e99a25b85bfe66811",
        pcbRotationOffset: 180,
        modelOriginPosition: { x: -0.0001142999999501626, y: -0.00007619999996677507, z: -0.149083 },
      }}
      {...props}
    />
  )
}