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/HNB09A03.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["_POS"],
pin2: ["_NEG"]
} as const
export const HNB09A03 = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
symbol={
<symbol>
<schematiccircle center={{x:0,y:0}} radius={0.4} strokeWidth={0.02} color="#880000" />
<schematicpath points={[{x:0,y:0.4},{x:0,y:0.6}]} strokeColor="#880000" />
<schematicpath points={[{x:0,y:-0.4},{x:0,y:-0.6}]} strokeColor="#880000" />
<port name="pin1" pinNumber={1} aliases={["_POS"]} direction="up" schX={0} schY={0.8} schStemLength={0.2} />
<port name="pin2" pinNumber={2} aliases={["_NEG"]} direction="down" schX={0} schY={-0.8} schStemLength={0.2} />
<schematictext schX={0.1} schY={0.2} text="+" fontSize={0.18} anchor="left" color="#880000" />
<schematictext schX={0.7} schY={0.5} text="{NAME}" fontSize={0.22} anchor="left" />
<schematictext schX={0.7} schY={0.15} text="Buzzer" fontSize={0.18} anchor="left" />
</symbol>
}
supplierPartNumbers={{
"jlcpcb": [
"C96102"
]
}}
manufacturerPartNumber="HNB09A03"
footprint={<footprint>
<platedhole portHints={["pin1"]} shape="circle" pcbX={-2.5} pcbY={0} holeDiameter={0.9} outerDiameter={1.8} />
<platedhole portHints={["pin2"]} shape="circle" pcbX={2.5} pcbY={0} holeDiameter={0.9} outerDiameter={1.8} />
<silkscreencircle pcbX={0} pcbY={0} radius={4.6} />
<courtyardcircle pcbX={0} pcbY={0} radius={5} />
<silkscreentext text="+" pcbX={-2.5} pcbY={2} fontSize={1} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C96102.obj?uuid=ebec7e12a60540929ad44f78bf29e6c9",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C96102.step?uuid=ebec7e12a60540929ad44f78bf29e6c9",
pcbRotationOffset: 90,
modelOriginPosition: { x: 0, y: -0.00012700000013410317, z: -0.000009000000000369823 },
}}
{...props}
/>
)
}