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-controllerIn 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/B5B_PH_SM4_TB_LF__SN_.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"],
pin5: ["pin5"],
pin6: ["pin6"],
pin7: ["pin7"]
} as const
export const B5B_PH_SM4_TB_LF__SN_ = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
supplierPartNumbers={{
"jlcpcb": [
"C265085"
]
}}
manufacturerPartNumber="B5B-PH-SM4-TB(LF)(SN)"
footprint={<footprint insertionDirection="from_above">
<smtpad portHints={["pin1"]} pcbX="3.999992mm" pcbY="0.54996715mm" width="0.999998mm" height="5.499989mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="1.999996mm" pcbY="0.54996715mm" width="0.999998mm" height="5.499989mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="0mm" pcbY="0.54996715mm" width="0.999998mm" height="5.499989mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="-1.999996mm" pcbY="0.54996715mm" width="0.999998mm" height="5.499989mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="-3.999992mm" pcbY="0.54996715mm" width="0.999998mm" height="5.499989mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="6.400038mm" pcbY="-1.69996485mm" width="1.7999964mm" height="3.1999936mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="-6.400038mm" pcbY="-1.69996485mm" width="1.7999964mm" height="3.1999936mm" shape="rect" />
<silkscreenpath route={[{"x":-7.0000113999999485,"y":-4.275042249999956},{"x":7.000011400000176,"y":-4.250023249999913}]} />
<silkscreenpath route={[{"x":-7.0000113999999485,"y":-4.25004864999994},{"x":-7.0000113999999485,"y":-3.4311780499998576}]} />
<silkscreenpath route={[{"x":-7.0000113999999485,"y":0.03112135000003491},{"x":-7.0000113999999485,"y":0.9499409500000411}]} />
<silkscreenpath route={[{"x":-7.0000113999999485,"y":0.9499409500000411},{"x":-4.7311309999997775,"y":0.9499409500000411}]} />
<silkscreenpath route={[{"x":7.000011400000176,"y":-4.250023249999913},{"x":7.000011400000176,"y":-3.4311780499998576}]} />
<silkscreenpath route={[{"x":7.000011400000176,"y":0.03112135000003491},{"x":7.000011400000176,"y":0.9499663499999542}]} />
<silkscreenpath route={[{"x":-5.268848999999932,"y":0.9499663499999542},{"x":-4.7311309999997775,"y":0.9499663499999542}]} />
<silkscreenpath route={[{"x":-3.268852999999808,"y":0.9499663499999542},{"x":-2.731134999999881,"y":0.9499663499999542}]} />
<silkscreenpath route={[{"x":-1.268856999999798,"y":0.9499663499999542},{"x":-0.7311389999997573,"y":0.9499663499999542}]} />
<silkscreenpath route={[{"x":0.731139000000212,"y":0.9499663499999542},{"x":1.2688570000001391,"y":0.9499663499999542}]} />
<silkscreenpath route={[{"x":2.731135000000222,"y":0.9499663499999542},{"x":3.268853000000263,"y":0.9499663499999542}]} />
<silkscreenpath route={[{"x":4.731131000000232,"y":0.9499663499999542},{"x":7.000011400000176,"y":0.9499663499999542}]} />
{/* Reference is above the pin labels, clear of A/B/Z. Copper is unmodified. */}
<silkscreentext text="{NAME}" pcbX="4.7mm" pcbY="5.8mm" anchorAlignment="center" fontSize="1mm" />
<fabricationnotepath route={[{"x":3.499993000000245,"y":-3.975042849999909},{"x":4.700016000000119,"y":-3.975042849999909},{"x":4.1000172000001385,"y":-2.575045649999879},{"x":3.499993000000245,"y":-3.975042849999909}]} strokeWidth="0mm" isFilled hasStroke={false} />
<courtyardoutline outline={[{"x":-7.550036200000022,"y":3.54996165},{"x":7.550036200000022,"y":3.54996165},{"x":7.550036200000022,"y":-4.487983649999819},{"x":-7.550036200000022,"y":-4.487983649999819},{"x":-7.550036200000022,"y":3.54996165}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C265085.obj?uuid=69a9195e164a4e87a1484ab17d78c4dd",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C265085.step?uuid=69a9195e164a4e87a1484ab17d78c4dd",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0.48799114999997073, z: -0.1 },
}}
{...props}
/>
)
}