ShiboSoftwareDev/mspm0g3507-usb-c-dev-board

This circuit features a USB Type-C connector with integrated resistors and passives, a USB ESD protection device, a CH340 USB-to-serial interface chip, a 3.3V regulator (AP2112K), multiple decoupling and bulk capacitors, and a Microcontroller (MSPM0G3507) with associated I2C and SPI connections, providing USB communication, power regulation, and RGB LED control.

Version
1.4.1
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="dfn4_p0.8999mm_w2.2999mm_pw0.6mm_pl0.8mm"
      
      {...props}
    />
  )
}