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

import type { CapacitorProps } from '@tscircuit/props'

// Honor GVL series, C52711639: 3300 uF / 6.3 V, 12.5 x 13.5 mm.
// Manufacturer PDF page 6, diameter 12.5 row: X=3.0, Y=5.7, a=4.0 mm.
// These are manufacturer lands, not the different EasyEDA library pads.
// Pin 1 is positive. The negative stripe is on the +X / pin 2 side.
export function GVL0J332M1213(props: Omit<CapacitorProps, 'capacitance'>) {
  return <capacitor
    capacitance="3300uF" polarized maxVoltageRating={6.3}
    manufacturerPartNumber="GVL0J332M1213"
    supplierPartNumbers={{ jlcpcb: ['C52711639'] }}
    footprint={<footprint>
      <smtpad portHints={['pin1']} pcbX={-4.85} pcbY={0} width={5.7} height={3} shape="rect" />
      <smtpad portHints={['pin2']} pcbX={4.85} pcbY={0} width={5.7} height={3} shape="rect" />
      <courtyardoutline outline={[
        [-7.15,-7.15],[7.15,-7.15],[7.15,-1.75],[7.95,-1.75],
        [7.95,1.75],[7.15,1.75],[7.15,7.15],[-7.15,7.15],
        [-7.15,1.75],[-7.95,1.75],[-7.95,-1.75],[-7.15,-1.75],
      ].map(([x,y]) => ({x,y}))} />
      <silkscreentext text="+" pcbX={-8} pcbY={2.3} fontSize={1.2} />
    </footprint>}
    cadModel={{
      objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C52711639.obj?uuid=f21799c860924c898ce8cb0bb8a907db",
      stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C52711639.step?uuid=f21799c860924c898ce8cb0bb8a907db",
      pcbRotationOffset: 90,
      modelOriginPosition: { x: 0, y: 0.0745363000000907, z: -0.01 },
    }} {...props} />
}