MustafaMulla29/rp2040-bldc-motor-controller-new
A USB‑C PD–powered RP2040 BLDC motor controller PCB with 3.3 V logic, MCT8329A sensorless commutation, three MOSFET half-bridges, protected power switching, USB data, controls, and motor connectors.
- Version
- 0.3.82
- License
- unset
- Stars
- 0
imports/JS202011JCQN.tsx
// Pin pitch corrected to C&K JS series drawing I-56: 2.50 mm.
import type { SwitchProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["pin1"],
pin2: ["pin2"],
pin3: ["pin3"],
pin5: ["pin5"],
pin6: ["pin6"],
pin7: ["pin7"]
} as const
export const JS202011JCQN = (props: SwitchProps) => {
const { name = "SW1", ...restProps } = props
return (
<switch
name={name}
type="dpdt"
pinLabels={pinLabels}
symbol={<symbol>
{/* C&K contact numbering: common 2/6; OFF closes 1-2 and 5-6. */}
<port name="pin1" pinNumber={1} direction="left" schX={-0.8} schY={0.7} schStemLength={0.2} />
<port name="pin2" pinNumber={2} direction="right" schX={0.8} schY={0.4} schStemLength={0.2} />
<port name="pin3" pinNumber={3} direction="left" schX={-0.8} schY={0.1} schStemLength={0.2} />
<port name="pin5" pinNumber={5} direction="left" schX={-0.8} schY={-0.5} schStemLength={0.2} />
<port name="pin6" pinNumber={6} direction="right" schX={0.8} schY={-0.8} schStemLength={0.2} />
<port name="pin7" pinNumber={7} direction="left" schX={-0.8} schY={-1.1} schStemLength={0.2} />
<schematicpath points={[{x:-0.6,y:0.7},{x:-0.4,y:0.7},{x:0.4,y:0.4},{x:0.6,y:0.4}]} />
<schematicpath points={[{x:-0.6,y:0.1},{x:-0.4,y:0.1}]} />
<schematicpath points={[{x:-0.6,y:-0.5},{x:-0.4,y:-0.5},{x:0.4,y:-0.8},{x:0.6,y:-0.8}]} />
<schematicpath points={[{x:-0.6,y:-1.1},{x:-0.4,y:-1.1}]} />
<schematicpath points={[{x:0,y:0.5},{x:0,y:0.25}]} />
<schematicpath points={[{x:0,y:0.05},{x:0,y:-0.2}]} />
<schematicpath points={[{x:0,y:-0.4},{x:0,y:-0.65}]} />
<schematictext text="{NAME}" schX={0} schY={1.15} fontSize={0.2} />
<schematictext text="DPDT • shown OFF" schX={0} schY={-1.5} fontSize={0.16} />
</symbol>}
supplierPartNumbers={{
"jlcpcb": [
"C221665"
]
}}
manufacturerPartNumber="JS202011JCQN"
footprint={<footprint>
<smtpad portHints={["pin1"]} pcbX="-2.5mm" pcbY="1.199896mm" width="0.999998mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="0mm" pcbY="1.199896mm" width="0.999998mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="2.5mm" pcbY="1.199896mm" width="0.999998mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="-2.5mm" pcbY="-1.199896mm" width="0.999998mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="0mm" pcbY="-1.199896mm" width="0.999998mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="2.5mm" pcbY="-1.199896mm" width="0.999998mm" height="1.5999968mm" shape="rect" />
<silkscreenpath route={[{"x":-4.5000164000000495,"y":-1.750034600000049},{"x":-4.5000164000000495,"y":1.7499837999999954}]} />
<silkscreenpath route={[{"x":4.5000164000000495,"y":1.7499584000000823},{"x":4.5000164000000495,"y":-1.7500091999999086}]} />
<silkscreenpath route={[{"x":-4.5000164000000495,"y":1.7499837999999954},{"x":-3.271139000000062,"y":1.7499837999999954}]} />
<silkscreenpath route={[{"x":-1.8088610000002063,"y":1.7499837999999954},{"x":-0.7311389999999847,"y":1.7499837999999954}]} />
<silkscreenpath route={[{"x":0.731138999999871,"y":1.7499837999999954},{"x":1.808860999999979,"y":1.7499837999999954}]} />
<silkscreenpath route={[{"x":3.2711389999999483,"y":1.7499837999999954},{"x":4.5000164000000495,"y":1.7499837999999954}]} />
<silkscreenpath route={[{"x":-4.5000164000000495,"y":-1.750034600000049},{"x":-3.271139000000062,"y":-1.750034600000049}]} />
<silkscreenpath route={[{"x":-1.8088610000002063,"y":-1.750034600000049},{"x":-0.7311389999999847,"y":-1.750034600000049}]} />
<silkscreenpath route={[{"x":0.731138999999871,"y":-1.750034600000049},{"x":1.808860999999979,"y":-1.750034600000049}]} />
<silkscreenpath route={[{"x":3.2711389999999483,"y":-1.750034600000049},{"x":4.5000164000000495,"y":-1.750034600000049}]} />
<silkscreenpath route={[{"x":-1.7780000000001337,"y":-0.7620000000000573},{"x":-0.7311389999999847,"y":-0.7620000000000573}]} />
<silkscreenpath route={[{"x":0.731138999999871,"y":-0.7620000000000573},{"x":1.77800000000002,"y":-0.7620000000000573}]} />
<silkscreenpath route={[{"x":-1.7780000000001337,"y":0.7619999999999436},{"x":-0.7311389999999847,"y":0.7619999999999436}]} />
<silkscreenpath route={[{"x":0.731138999999871,"y":0.7619999999999436},{"x":1.77800000000002,"y":0.7619999999999436}]} />
<silkscreenpath route={[{"x":-1.7780000000001337,"y":0.7619999999999436},{"x":-1.7780000000001337,"y":-0.7620000000000573}]} />
<silkscreenpath route={[{"x":1.77800000000002,"y":0.7619999999999436},{"x":1.77800000000002,"y":-0.7620000000000573}]} />
<silkscreenpath route={[{"x":0.5079999999999245,"y":0.16885920000004262},{"x":0.5079999999999245,"y":-0.16901159999997617}]} />
<silkscreenpath route={[{"x":-0.5080000000000382,"y":0.16901159999997617},{"x":-0.5080000000000382,"y":-0.16885919999992893}]} />
<silkscreenpath route={[{"x":-1.5240000000001146,"y":-0.5080000000000382},{"x":-0.7311389999999847,"y":-0.5080000000000382}]} />
<silkscreenpath route={[{"x":-1.5240000000001146,"y":-0.5080000000000382},{"x":-1.5240000000001146,"y":0.5080000000000382}]} />
<silkscreenpath route={[{"x":-1.5240000000001146,"y":0.5080000000000382},{"x":-0.7311389999999847,"y":0.5080000000000382}]} />
<silkscreenpath route={[{"x":1.0159999999999627,"y":0.5080000000000382},{"x":0.731138999999871,"y":0.5080000000000382}]} />
<silkscreenpath route={[{"x":1.0159999999999627,"y":0.5080000000000382},{"x":1.0159999999999627,"y":-0.5080000000000382}]} />
<silkscreenpath route={[{"x":1.0159999999999627,"y":-0.5080000000000382},{"x":0.731138999999871,"y":-0.5080000000000382}]} />
<silkscreentext text="{NAME}" pcbX="0mm" pcbY="3.0066mm" anchorAlignment="center" fontSize="1mm" />
<fabricationnotepath route={[{"x":-1.77800000000002,"y":0.7620000000000573},{"x":1.7779999999999063,"y":0.7620000000000573},{"x":1.7779999999999063,"y":-0.7619999999999436},{"x":-1.77800000000002,"y":-0.7619999999999436},{"x":-1.77800000000002,"y":-0.5079999999999245},{"x":1.524000000000001,"y":-0.5079999999999245},{"x":1.524000000000001,"y":0.5080000000000382},{"x":-1.77800000000002,"y":0.5080000000000382},{"x":-1.77800000000002,"y":0.7620000000000573}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-1.77800000000002,"y":0.7620000000000573},{"x":-1.524000000000001,"y":0.7620000000000573},{"x":-1.524000000000001,"y":-0.7619999999999436},{"x":-1.77800000000002,"y":-0.7619999999999436},{"x":-1.77800000000002,"y":0.7620000000000573}]} strokeWidth="0.254mm" />
<fabricationnotepath route={[{"x":-1.524000000000001,"y":0.7620000000000573},{"x":-0.5080000000000382,"y":0.7620000000000573},{"x":-0.5080000000000382,"y":-0.5079999999999245},{"x":-1.524000000000001,"y":-0.5079999999999245},{"x":-1.524000000000001,"y":0.7620000000000573}]} strokeWidth="0.254mm" />
<courtyardoutline outline={[{"x":-4.771200000000135,"y":2.2566000000001623},{"x":4.771199999999908,"y":2.2566000000001623},{"x":4.771199999999908,"y":-2.2311999999999443},{"x":-4.771200000000135,"y":-2.2311999999999443},{"x":-4.771200000000135,"y":2.2566000000001623}]} />
</footprint>}
cadModel={{
objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C221665.obj?uuid=89efc79143a14e36aa2d34a0fd627ce1",
stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C221665.step?uuid=89efc79143a14e36aa2d34a0fd627ce1",
pcbRotationOffset: 0,
modelOriginPosition: { x: 0, y: 0.5250000000000001, z: -0.775 },
}}
{...restProps}
/>
)
}