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_0_5K_HX_24PWB.tsx

// HDGC 0.5K-HX-24PWB (JLCPCB C2919499): 24-way, 0.5 mm pitch, 1.0 mm high, front-insert back-flip,
// contacts on both sides, for 0.3 mm FPC. Datasheet land pattern: signal lands 0.3 x 0.8 mm, hold-down lands
// 0.4 x 0.8 mm on 13.5 mm centres, 2.5 mm from the signal row. The 24 signal lands are kept exactly as routed
// for the former Molex 5034802400 (0.3 x 0.7 mm, same pitch and span); only the two hold-down lands move.
// The 3D model is still the Molex body (same 1.0 mm height class) and is a stand-in.
import type { ChipProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["pin1"],
  pin2: ["pin2"],
  pin3: ["pin3"],
  pin4: ["pin4"],
  pin5: ["pin5"],
  pin6: ["pin6"],
  pin7: ["pin7"],
  pin8: ["pin8"],
  pin9: ["pin9"],
  pin10: ["pin10"],
  pin11: ["pin11"],
  pin12: ["pin12"],
  pin13: ["pin13"],
  pin14: ["pin14"],
  pin15: ["pin15"],
  pin16: ["pin16"],
  pin17: ["pin17"],
  pin18: ["pin18"],
  pin19: ["pin19"],
  pin20: ["pin20"],
  pin21: ["pin21"],
  pin22: ["pin22"],
  pin23: ["pin23"],
  pin24: ["pin24"],
  pin25: ["pin25"],
  pin26: ["pin26"]
} as const

export const A_0_5K_HX_24PWB = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C2919499"
  ]
}}
      manufacturerPartNumber="0.5K-HX-24PWB"
      footprint={<footprint>
        <smtpad portHints={["pin17"]} pcbX="2.250186mm" pcbY="1.4000607mm" width="0.299974mm" height="0.700024mm" shape="rect" />
<smtpad portHints={["pin16"]} pcbX="1.750568mm" pcbY="1.4000607mm" width="0.299974mm" height="0.700024mm" shape="rect" />
<smtpad portHints={["pin15"]} pcbX="1.250696mm" pcbY="1.4000607mm" width="0.299974mm" height="0.700024mm" shape="rect" />
<smtpad portHints={["pin14"]} pcbX="0.75057mm" pcbY="1.4000607mm" width="0.299974mm" height="0.700024mm" shape="rect" />
<smtpad portHints={["pin13"]} pcbX="0.250698mm" pcbY="1.4000607mm" width="0.299974mm" height="0.700024mm" shape="rect" />
<smtpad portHints={["pin12"]} pcbX="-0.249428mm" pcbY="1.4000607mm" width="0.299974mm" height="0.700024mm" shape="rect" />
<smtpad portHints={["pin11"]} pcbX="-0.7493mm" pcbY="1.4000607mm" width="0.299974mm" height="0.700024mm" shape="rect" />
<smtpad portHints={["pin10"]} pcbX="-1.249426mm" pcbY="1.4000607mm" width="0.299974mm" height="0.700024mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="-1.749298mm" pcbY="1.4000607mm" width="0.299974mm" height="0.700024mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="-2.249424mm" pcbY="1.4000607mm" width="0.299974mm" height="0.700024mm" shape="rect" />
<smtpad portHints={["pin26"]} pcbX="6.75mm" pcbY="-1.1mm" width="0.4mm" height="0.8mm" shape="rect" />
<smtpad portHints={["pin25"]} pcbX="-6.75mm" pcbY="-1.1mm" width="0.4mm" height="0.8mm" shape="rect" />
<smtpad portHints={["pin24"]} pcbX="5.750306mm" pcbY="1.4000607mm" width="0.299974mm" height="0.700024mm" shape="rect" />
<smtpad portHints={["pin23"]} pcbX="5.250434mm" pcbY="1.4000607mm" width="0.299974mm" height="0.700024mm" shape="rect" />
<smtpad portHints={["pin22"]} pcbX="4.750308mm" pcbY="1.4000607mm" width="0.299974mm" height="0.700024mm" shape="rect" />
<smtpad portHints={["pin21"]} pcbX="4.250436mm" pcbY="1.4000607mm" width="0.299974mm" height="0.700024mm" shape="rect" />
<smtpad portHints={["pin20"]} pcbX="3.75031mm" pcbY="1.4000607mm" width="0.299974mm" height="0.700024mm" shape="rect" />
<smtpad portHints={["pin19"]} pcbX="3.250438mm" pcbY="1.4000607mm" width="0.299974mm" height="0.700024mm" shape="rect" />
<smtpad portHints={["pin18"]} pcbX="2.750312mm" pcbY="1.4000607mm" width="0.299974mm" height="0.700024mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="-2.750058mm" pcbY="1.4000607mm" width="0.299974mm" height="0.700024mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="-3.249676mm" pcbY="1.4000607mm" width="0.299974mm" height="0.700024mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="-3.749548mm" pcbY="1.4000607mm" width="0.299974mm" height="0.700024mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="-4.249674mm" pcbY="1.4000607mm" width="0.299974mm" height="0.700024mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-4.749546mm" pcbY="1.4000607mm" width="0.299974mm" height="0.700024mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-5.249672mm" pcbY="1.4000607mm" width="0.299974mm" height="0.700024mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="-5.749544mm" pcbY="1.4000607mm" width="0.299974mm" height="0.700024mm" shape="rect" />
<silkscreenpath route={[{"x":-6.544106800000009,"y":1.695996099999988},{"x":-6.499987000000004,"y":1.695996099999988},{"x":-6.499987000000004,"y":0.2959988999999865},{"x":6.6130931999999945,"y":0.2959988999999865},{"x":6.6130931999999945,"y":1.695996099999988}]} />
<silkscreenpath route={[{"x":6.079363000000015,"y":1.1959970999999854},{"x":6.299987400000006,"y":1.1959970999999854},{"x":6.299987400000006,"y":1.695996099999988},{"x":6.899986200000001,"y":1.695996099999988},{"x":6.899986200000001,"y":-1.9039967000000075},{"x":-6.899986200000001,"y":-1.9039967000000075},{"x":-6.899986200000001,"y":1.695996099999988}]} />
<silkscreenpath route={[{"x":-6.899986200000001,"y":1.695996099999988},{"x":-6.199987600000014,"y":1.695996099999988},{"x":-6.199987600000014,"y":1.1959970999999854},{"x":-6.07885499999999,"y":1.1959970999999854}]} />
<silkscreentext text="{NAME}" pcbX="-0.0127mm" pcbY="3.0243927mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-7.099998999999997,"y":2.2699984999999856},{"x":7.099973599999998,"y":2.2699984999999856},{"x":7.099973599999998,"y":-2.2299935000000204},{"x":-7.099998999999997,"y":-2.2299935000000204},{"x":-7.099998999999997,"y":2.2699984999999856}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C122434.obj?uuid=5ba96e02c0694b2d84309e439f6e3cbb",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C122434.step?uuid=5ba96e02c0694b2d84309e439f6e3cbb",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 0, z: 0 },
      }}
      {...props}
    />
  )
}