abse/rp2350-mcu-board

This code defines a compact, four-layer PCB hardware layout for the Raspberry Pi RP2350A microcontroller module, including the main IC, power regulation, USB-C connector, STM32-compatible headers, and associated passive components, with detailed component footprints, net connections, and copper pour zones for powering and ground references.

Version
0.0.11
License
unset
Stars
0

imports/XL_5050RGBC_2812B_S.tsx

import type { ChipProps } from "@tscircuit/props"

const pinLabels = {
  pin1: ["VDD"],
  pin2: ["DO"],
  pin3: ["GND"],
  pin4: ["DI"]
} as const

export const XL_5050RGBC_2812B_S = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C22461793"
  ]
}}
      manufacturerPartNumber="XL-5050RGBC-2812B-S"
      pinAttributes={{
        pin1: {
          requiresPower: true,
          requiresVoltage: "5V",
          mustBeConnected: true,
        },
        pin2: { canUsePushPull: true, isUsingPushPull: true },
        pin3: { requiresGround: true, mustBeConnected: true },
        pin4: { mustBeConnected: true },
      }}
      footprint={<footprint>
        <smtpad portHints={["pin3"]} pcbX="2.499995mm" pcbY="-1.599946mm" width="1.7999964mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="2.499995mm" pcbY="1.599946mm" width="1.7999964mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="-2.499995mm" pcbY="1.599946mm" width="1.7999964mm" height="0.999998mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-2.499995mm" pcbY="-1.599946mm" width="1.7999964mm" height="0.999998mm" shape="rect" />
<silkscreenpath route={[{"x":2.499944200000016,"y":-2.2724110000000053},{"x":2.499944200000016,"y":-2.4999442000000016},{"x":-2.500045799999995,"y":-2.4999442000000016},{"x":-2.500045799999995,"y":-2.313686000000004}]} />
<silkscreenpath route={[{"x":2.499944200000016,"y":2.500045799999995},{"x":2.5067260000000147,"y":2.274214399999991}]} />
<silkscreenpath route={[{"x":-2.4888189999999923,"y":2.2784307999999953},{"x":-2.500045799999995,"y":2.500045799999995},{"x":2.499944200000016,"y":2.500045799999995}]} />
<silkscreenpath route={[{"x":2.499944200000016,"y":0.7696707999999859},{"x":2.499944200000016,"y":-0.7695692000000065}]} />
<silkscreenpath route={[{"x":-2.500045799999995,"y":-0.7695692000000065},{"x":-2.500045799999995,"y":0.7696707999999859}]} />
<silkscreenpath route={[{"x":1.4999462000000108,"y":-1.7999456000000151},{"x":1.4999462000000108,"y":-2.4999442000000016},{"x":0.7999476000000101,"y":-2.4999442000000016},{"x":1.499895400000014,"y":-1.7998440000000073}]} />
<silkscreenpath route={[{"x":1.5007590000000022,"y":0},{"x":1.4496435142360582,"y":-0.3882606612153694},{"x":1.2997804928267271,"y":-0.7500619999999998},{"x":1.0613828530206888,"y":-1.0607478530207004},{"x":0.7506970000000024,"y":-1.2991454928267387},{"x":0.388895661215372,"y":-1.4490085142360698},{"x":0.0006350000000026057,"y":-1.5001240000000138},{"x":-0.3876256612153668,"y":-1.4490085142360698},{"x":-0.749426999999983,"y":-1.2991454928267387},{"x":-1.0601128530206978,"y":-1.0607478530207004},{"x":-1.2985104928267361,"y":-0.7500619999999998},{"x":-1.4483735142360672,"y":-0.3882606612153694},{"x":-1.4994889999999828,"y":0},{"x":-1.4483735142360672,"y":0.3882606612153694},{"x":-1.2985104928267361,"y":0.7500619999999856},{"x":-1.0601128530206978,"y":1.0607478530206862},{"x":-0.749426999999983,"y":1.2991454928267245},{"x":-0.3876256612153668,"y":1.4490085142360556},{"x":0.0006350000000026057,"y":1.5001239999999996},{"x":0.388895661215372,"y":1.4490085142360556},{"x":0.7506970000000024,"y":1.2991454928267245},{"x":1.0613828530206888,"y":1.0607478530206862},{"x":1.2997804928267271,"y":0.7500619999999856},{"x":1.4496435142360582,"y":0.3882606612153694},{"x":1.5007590000000022,"y":0}]} />
<silkscreenpath route={[{"x":-2.79996899999999,"y":2.4000460000000032},{"x":-2.8033790070082887,"y":2.3741444252423207},{"x":-2.8133766416908657,"y":2.3500079999999883},{"x":-2.8292805817659854,"y":2.329281581765983},{"x":-2.850007000000005,"y":2.313377641690863},{"x":-2.8741434252423232,"y":2.3033800070083004},{"x":-2.9000450000000058,"y":2.299970000000002},{"x":-2.9259465747576883,"y":2.3033800070083004},{"x":-2.9500830000000065,"y":2.313377641690863},{"x":-2.970809418234012,"y":2.329281581765983},{"x":-2.9867133583091316,"y":2.3500079999999883},{"x":-2.9967109929917086,"y":2.3741444252423207},{"x":-3.000121000000007,"y":2.4000460000000032},{"x":-2.9967109929917086,"y":2.4259475747576857},{"x":-2.9867133583091316,"y":2.450084000000004},{"x":-2.970809418234012,"y":2.4708104182340094},{"x":-2.9500830000000065,"y":2.486714358309129},{"x":-2.9259465747576883,"y":2.496711992991692},{"x":-2.9000450000000058,"y":2.5001220000000046},{"x":-2.8741434252423232,"y":2.496711992991692},{"x":-2.850007000000005,"y":2.486714358309129},{"x":-2.8292805817659854,"y":2.4708104182340094},{"x":-2.8133766416908657,"y":2.450084000000004},{"x":-2.8033790070082887,"y":2.4259475747576857},{"x":-2.79996899999999,"y":2.4000460000000032}]} />
<silkscreentext text="{NAME}" pcbX="-0.202819mm" pcbY="3.537714mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-4.034219000000007,"y":2.787713999999994},{"x":3.628580999999997,"y":2.787713999999994},{"x":3.628580999999997,"y":-2.741486000000009},{"x":-4.034219000000007,"y":-2.741486000000009},{"x":-4.034219000000007,"y":2.787713999999994}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22461793.obj?uuid=df86fdf032664dc8a1d2316c54569add",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C22461793.step?uuid=df86fdf032664dc8a1d2316c54569add",
        pcbRotationOffset: 180,
        modelOriginPosition: { x: 0.000012700000013410317, y: 0, z: -0.041787 },
      }}
      {...props}
    />
  )
}