MustafaMulla29/rp2040-bldc-motor-controller-new
A 9V USB‑PD RP2040 controller board with MCT8329A sensorless BLDC driver, three MOSFET half-bridges, protected power switching, USB data/programming, and onboard speed/arm controls for a three-phase motor.
- Version
- 0.3.81
- License
- unset
- Stars
- 0
imports/USBLC6_2SC6.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin4: ["pin4"],
pin5: ["pin5"],
pin6: ["pin6"]
} as const
// ST USBLC6-2 functional diagram: passive data clamps referenced to GND and the VBUS clamp rail.
const pinAttributes = {
pin1: { isPassive: true },
pin3: { isPassive: true },
pin4: { isPassive: true },
pin6: { isPassive: true },
pin2: { requiresGround: true },
pin5: { requiresPower: true },
} as const
export const USBLC6_2SC6 = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
pinAttributes={pinAttributes}
// ST USBLC6-2 functional diagram: 1/6 are I/O1 and 3/4 are I/O2.
// Flow-through pins read from connector (left) toward the MCU (right);
// all six package pins, connections and PCB lands remain distinct.
symbol={
<symbol>
<schematictext text="{NAME}" schX={0.5} schY={-1.7} fontSize={0.18} anchor="left" />
<schematictext text="USBLC6-2SC6" schX={0.5} schY={-2.05} fontSize={0.18} anchor="left" />
<schematicpath points={[{x:-1.1,y:0.8},{x:1.1,y:0.8},{x:1.1,y:-0.8},{x:-1.1,y:-0.8},{x:-1.1,y:0.8}]}
strokeWidth={0.02} strokeColor="#880000" isFilled fillColor="#FFFFC2" />
<port name="pin1" pinNumber={1} aliases={["1"]} direction="left" schX={-1.5} schY={0.3} schStemLength={0.4} />
<port name="pin2" pinNumber={2} aliases={["2"]} direction="down" schX={0} schY={-1.2} schStemLength={0.4} />
<port name="pin3" pinNumber={3} aliases={["3"]} direction="left" schX={-1.5} schY={-0.3} schStemLength={0.4} />
<port name="pin4" pinNumber={4} aliases={["4"]} direction="right" schX={1.5} schY={-0.3} schStemLength={0.4} />
<port name="pin5" pinNumber={5} aliases={["5"]} direction="up" schX={0} schY={1.2} schStemLength={0.4} />
<port name="pin6" pinNumber={6} aliases={["6"]} direction="right" schX={1.5} schY={0.3} schStemLength={0.4} />
<schematictext text="I/O1" schX={-0.95} schY={0.3} fontSize={0.18} anchor="left" color="#880000" />
<schematictext text="I/O2" schX={-0.95} schY={-0.3} fontSize={0.18} anchor="left" color="#880000" />
<schematictext text="1" schX={-1.5} schY={0.48} fontSize={0.16} anchor="left" color="#880000" />
<schematictext text="3" schX={-1.5} schY={-0.12} fontSize={0.16} anchor="left" color="#880000" />
<schematictext text="6" schX={1.2} schY={0.48} fontSize={0.16} anchor="left" color="#880000" />
<schematictext text="4" schX={1.2} schY={-0.12} fontSize={0.16} anchor="left" color="#880000" />
<schematictext text="VBUS" schX={0} schY={0.58} fontSize={0.18} anchor="center" color="#880000" />
<schematictext text="GND" schX={0} schY={-0.6} fontSize={0.18} anchor="center" color="#880000" />
<schematictext text="5" schX={0.12} schY={1.03} fontSize={0.16} anchor="left" color="#880000" />
<schematictext text="2" schX={0.12} schY={-1.04} fontSize={0.16} anchor="left" color="#880000" />
</symbol>
}
supplierPartNumbers={{
"jlcpcb": [
"C7519"
]
}}
manufacturerPartNumber="USBLC6-2SC6"
footprint={<footprint>
<smtpad portHints={["pin1"]} pcbX="-0.94996mm" pcbY="-1.149096mm" width="0.532003mm" height="1.072007mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="0mm" pcbY="-1.149096mm" width="0.532003mm" height="1.072007mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="0.94996mm" pcbY="-1.149096mm" width="0.532003mm" height="1.072007mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="0.94996mm" pcbY="1.149096mm" width="0.532003mm" height="1.072007mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="0mm" pcbY="1.149096mm" width="0.532003mm" height="1.072007mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="-0.94996mm" pcbY="1.149096mm" width="0.532003mm" height="1.072007mm" shape="rect" />
<silkscreenpath route={[{"x":1.5391891999998961,"y":-0.8892031999998835},{"x":1.5391891999998961,"y":0.8892031999999972}]} />
<silkscreenpath route={[{"x":-1.5391892000000098,"y":-0.8892031999998835},{"x":-1.5391892000000098,"y":0.8892031999999972}]} />
<silkscreencircle pcbX="-1.668272mm" pcbY="-1.301496mm" radius="0.150114mm" />
<silkscreentext text="{NAME}" pcbX="-0.1524mm" pcbY="2.2mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-2.078800000000001,"y":1.9264000000000578},{"x":1.7739999999998872,"y":1.9264000000000578},{"x":1.7739999999998872,"y":-2.0279999999999063},{"x":-2.078800000000001,"y":-2.0279999999999063},{"x":-2.078800000000001,"y":1.9264000000000578}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C7519.obj?uuid=229b69761e2c45dba6a83d8866dec72d",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C7519.step?uuid=229b69761e2c45dba6a83d8866dec72d",
pcbRotationOffset: 90,
modelOriginPosition: { x: -0.000012700000070253736, y: 0.000012700000070253736, z: -0.048939 },
}}
{...props}
/>
)
}