ShiboSoftwareDev/mspm0g3507-usb-c-dev-board
The circuit assembles a USB-C port with integrated ESD protection, power regulation, UART interface, and microcontroller (MSPM0G3507) with supporting components for USB data lines, CC termination, I2C, SPI, reset circuitry, and indicator LEDs.
- Version
- 1.4.2
- License
- unset
- Stars
- 0
imports/SZYY1615RGB_A_4pin.tsx
import type { ChipProps } from "@tscircuit/props"
const pinLabels = {
pin1: ["R", "RED_ANODE", "A1"],
pin2: ["G", "GREEN_ANODE", "A3"],
pin3: ["B", "BLUE_ANODE", "A2"],
pin4: ["K", "COMMON_CATHODE"]
} as const
export const SZYY1615RGB_A_4pin = (props: ChipProps<typeof pinLabels>) => {
return (
<chip
pinLabels={pinLabels}
pinAttributes={{
pin1: { requiresPower: true },
pin2: { requiresPower: true },
pin3: { requiresPower: true },
pin4: { requiresGround: true },
}}
symbol={
<symbol>
<schematicrect width={1.2} height={1.4} color="#880000" />
<schematicpath points={[{"x":-0.3,"y":0},{"x":0.1,"y":0}]} strokeColor="#880000" />
<schematicpath points={[{"x":-0.3,"y":-0.3},{"x":-0.3,"y":0.5}]} strokeColor="#880000" />
<schematicpath points={[{"x":0.1,"y":-0.5},{"x":0.1,"y":0.3}]} strokeColor="#880000" />
<schematicpath svgPath="M -0.18 -0.5 L -0.3 -0.3 L -0.44 -0.5 Z" strokeColor="#880000" isFilled fillColor="#880000" />
<schematicpath points={[{"x":-0.46,"y":-0.3},{"x":-0.14,"y":-0.3}]} strokeColor="#880000" />
<port name="pin3" pinNumber={3} aliases={["B", "BLUE_ANODE", "A2"]} direction="down" schX={-0.3} schY={-1} schStemLength={0.3} />
<port name="pin2" pinNumber={2} aliases={["G", "GREEN_ANODE", "A3"]} direction="down" schX={0.1} schY={-1} schStemLength={0.3} />
<port name="pin4" pinNumber={4} aliases={["K", "COMMON_CATHODE"]} direction="up" schX={-0.3} schY={1} schStemLength={0.3} />
<schematicpath svgPath="M -0.02 0.5 L 0.1 0.3 L 0.24 0.5 Z" strokeColor="#880000" isFilled fillColor="#880000" />
<schematicpath points={[{"x":0.26,"y":0.3},{"x":-0.06,"y":0.3}]} strokeColor="#880000" />
<port name="pin1" pinNumber={1} aliases={["R", "RED_ANODE", "A1"]} direction="up" schX={0.1} schY={1} schStemLength={0.3} />
<schematicpath svgPath="M 0.22 -0.5 L 0.1 -0.3 L -0.04 -0.5 Z" strokeColor="#880000" isFilled fillColor="#880000" />
<schematicpath points={[{"x":-0.06,"y":-0.3},{"x":0.26,"y":-0.3}]} strokeColor="#880000" />
</symbol>
}
supplierPartNumbers={{
"jlcpcb": [
"C3029072"
]
}}
manufacturerPartNumber="SZYY1615RGB-A 4pin"
footprint={<footprint>
<smtpad portHints={["pin4"]} pcbX="-0.7499604mm" pcbY="-0.449961mm" width="0.7999984mm" height="0.5999988mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="-0.7499604mm" pcbY="0.449961mm" width="0.7999984mm" height="0.5999988mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="0.7499604mm" pcbY="-0.449961mm" width="0.7999984mm" height="0.5999988mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="0.7499604mm" pcbY="0.449961mm" width="0.7999984mm" height="0.5999988mm" shape="rect" />
<silkscreenpath route={[{"x":-0.8890000000001237,"y":1.0160762000000432},{"x":0.8889999999998963,"y":1.0160762000000432}]} />
<silkscreenpath route={[{"x":-0.8890000000001237,"y":-1.0159238000001096},{"x":0.8889999999998963,"y":-1.0159238000001096}]} />
<silkscreentext text="{NAME}" pcbX="0.0127508mm" pcbY="2.0161016mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-1.3929492000000891,"y":1.2661015999999563},{"x":1.418450799999846,"y":1.2661015999999563},{"x":1.418450799999846,"y":-1.2658983999999691},{"x":-1.3929492000000891,"y":-1.2658983999999691},{"x":-1.3929492000000891,"y":1.2661015999999563}]} />
</footprint>}
{...props}
/>
)
}