abse/gameboy

This code defines the hardware mapping and schematic connections for a Raspberry Pi Pico-based development board featuring RP2040 microcontroller, USB-C connector, various power regulation components, decoupling capacitors, resistors, LEDs, headers, and supporting passive components for signal integrity and debugging.

Version
1.0.16
License
unset
Stars
1

imports/PAM8403DR_H.tsx

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

const pinLabels = {
  pin1: ["OUT_L_POS"],
  pin2: ["PGND1"],
  pin3: ["OUT_L_NEG"],
  pin4: ["PVDD1"],
  pin5: ["MUTE"],
  pin6: ["VDD"],
  pin7: ["INL"],
  pin8: ["VREF"],
  pin9: ["NC"],
  pin10: ["INR"],
  pin11: ["GND"],
  pin12: ["SHND"],
  pin13: ["PVDD2"],
  pin14: ["OUT_R_NEG"],
  pin15: ["PGND2"],
  pin16: ["OUT_R_POS"]
} as const

export const PAM8403DR_H = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C17337"
  ]
}}
      manufacturerPartNumber="PAM8403DR_H"
      footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-4.445mm" pcbY="-2.73558mm" width="0.35mm" height="1.9709892mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="-3.175mm" pcbY="-2.73558mm" width="0.35mm" height="1.9709892mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="-1.905mm" pcbY="-2.73558mm" width="0.35mm" height="1.9709892mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="-0.635mm" pcbY="-2.73558mm" width="0.35mm" height="1.9709892mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="0.635mm" pcbY="-2.73558mm" width="0.35mm" height="1.9709892mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="1.905mm" pcbY="-2.73558mm" width="0.35mm" height="1.9709892mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="3.175mm" pcbY="-2.73558mm" width="0.35mm" height="1.9709892mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="4.445mm" pcbY="-2.73558mm" width="0.35mm" height="1.9709892mm" shape="rect" />
<smtpad portHints={["pin16"]} pcbX="-4.445mm" pcbY="2.73558mm" width="0.35mm" height="1.9709892mm" shape="rect" />
<smtpad portHints={["pin15"]} pcbX="-3.175mm" pcbY="2.73558mm" width="0.35mm" height="1.9709892mm" shape="rect" />
<smtpad portHints={["pin14"]} pcbX="-1.905mm" pcbY="2.73558mm" width="0.35mm" height="1.9709892mm" shape="rect" />
<smtpad portHints={["pin13"]} pcbX="-0.635mm" pcbY="2.73558mm" width="0.35mm" height="1.9709892mm" shape="rect" />
<smtpad portHints={["pin12"]} pcbX="0.635mm" pcbY="2.73558mm" width="0.35mm" height="1.9709892mm" shape="rect" />
<smtpad portHints={["pin11"]} pcbX="1.905mm" pcbY="2.73558mm" width="0.35mm" height="1.9709892mm" shape="rect" />
<smtpad portHints={["pin10"]} pcbX="3.175mm" pcbY="2.73558mm" width="0.35mm" height="1.9709892mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="4.445mm" pcbY="2.73558mm" width="0.35mm" height="1.9709892mm" shape="rect" />
<silkscreenpath route={[{"x":-5.026202800000078,"y":-1.5214091999999937},{"x":-5.026202800000078,"y":1.5214092000001074},{"x":5.0262027999999646,"y":1.5214092000001074},{"x":5.0262027999999646,"y":-1.5214091999999937},{"x":-5.026202800000078,"y":-1.5214091999999937}]} />
<silkscreenpath route={[{"x":-4.2948860000000195,"y":-0.7691119999998364},{"x":-4.300001010512574,"y":-0.8079643621365449},{"x":-4.314997462536439,"y":-0.8441689999999653},{"x":-4.338853372649055,"y":-0.8752586273509451},{"x":-4.369943000000035,"y":-0.8991145374635607},{"x":-4.406147637863455,"y":-0.9141109894874262},{"x":-4.445000000000164,"y":-0.9192259999999806},{"x":-4.483852362136531,"y":-0.9141109894874262},{"x":-4.520057000000065,"y":-0.8991145374635607},{"x":-4.551146627351045,"y":-0.8752586273509451},{"x":-4.575002537463661,"y":-0.8441689999999653},{"x":-4.589998989487526,"y":-0.8079643621365449},{"x":-4.595113999999967,"y":-0.7691119999998364},{"x":-4.589998989487526,"y":-0.7302596378633552},{"x":-4.575002537463661,"y":-0.6940549999999348},{"x":-4.551146627351045,"y":-0.6629653726488414},{"x":-4.520057000000065,"y":-0.6391094625362257},{"x":-4.483852362136531,"y":-0.6241130105124739},{"x":-4.445000000000164,"y":-0.6189979999999196},{"x":-4.406147637863455,"y":-0.6241130105124739},{"x":-4.369943000000035,"y":-0.6391094625362257},{"x":-4.338853372649055,"y":-0.6629653726488414},{"x":-4.314997462536439,"y":-0.6940549999999348},{"x":-4.300001010512574,"y":-0.7302596378633552},{"x":-4.2948860000000195,"y":-0.7691119999998364}]} />
<silkscreenpath route={[{"x":-5.056886000000077,"y":-2.66700000000003},{"x":-5.0620010105125175,"y":-2.705852362136511},{"x":-5.076997462536383,"y":-2.7420569999999316},{"x":-5.100853372648999,"y":-2.773146627351025},{"x":-5.131942999999978,"y":-2.7970025374637544},{"x":-5.1681476378635125,"y":-2.8119989894873925},{"x":-5.207000000000107,"y":-2.817113999999947},{"x":-5.2458523621365885,"y":-2.8119989894873925},{"x":-5.282057000000123,"y":-2.7970025374637544},{"x":-5.313146627350989,"y":-2.773146627351025},{"x":-5.337002537463604,"y":-2.7420569999999316},{"x":-5.3519989894875835,"y":-2.705852362136511},{"x":-5.357114000000024,"y":-2.66700000000003},{"x":-5.3519989894875835,"y":-2.628147637863435},{"x":-5.337002537463604,"y":-2.591942999999901},{"x":-5.313146627350989,"y":-2.5608533726489213},{"x":-5.282057000000123,"y":-2.5369974625363056},{"x":-5.2458523621365885,"y":-2.52200101051244},{"x":-5.207000000000107,"y":-2.5168859999999995},{"x":-5.1681476378635125,"y":-2.52200101051244},{"x":-5.131942999999978,"y":-2.5369974625363056},{"x":-5.100853372648999,"y":-2.5608533726489213},{"x":-5.076997462536383,"y":-2.591942999999901},{"x":-5.0620010105125175,"y":-2.628147637863435},{"x":-5.056886000000077,"y":-2.66700000000003}]} />
<silkscreentext text="{NAME}" pcbX="-0.1651mm" pcbY="4.429mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-5.609400000000051,"y":3.6789999999999736},{"x":5.279199999999946,"y":3.6789999999999736},{"x":5.279199999999946,"y":-3.8822000000000116},{"x":-5.609400000000051,"y":-3.8822000000000116},{"x":-5.609400000000051,"y":3.6789999999999736}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C17337.obj?uuid=9adfdf34b7774b23880141fd3e8b4dbb",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C17337.step?uuid=9adfdf34b7774b23880141fd3e8b4dbb",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: -0.000012699999842880061, y: 0, z: 0.000575 },
      }}
      {...props}
    />
  )
}