tscircuit/dataset-srj12-bus-routing

The code defines electronic circuit diagrams featuring PCB layouts with USB-C, HDMI, and general-purpose chips, connecting their pins with traces, component footprints, and annotations for hardware design.

Version
1.0.6
License
unset
Stars
0

imports/HDMI.tsx

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

const pinLabels = {
  pin1: ["D2_POS"],
  pin2: ["D2_SHIELD"],
  pin3: ["D2_NEG"],
  pin4: ["D1_POS"],
  pin5: ["D1_SHIELD"],
  pin6: ["D1_NEG"],
  pin7: ["D0_POS"],
  pin8: ["D0_SHIELD"],
  pin9: ["D0_NEG"],
  pin10: ["CK_POS"],
  pin11: ["CK_SHIELD"],
  pin12: ["CK_NEG"],
  pin13: ["CEC"],
  pin14: ["HEC"],
  pin15: ["I2C_CLK"],
  pin16: ["I2C_DATA"],
  pin17: ["GND"],
  pin18: ["V5"],
  pin19: ["HOT_PLUG_DET"],
  pin20: ["SHD1"],
  pin21: ["SHD2"],
  pin22: ["SHD3"],
  pin23: ["SHD4"]
} as const

export const HDMI = (props: ChipProps<typeof pinLabels>) => {
  return (
    <chip
      pinLabels={pinLabels}
      supplierPartNumbers={{
  "jlcpcb": [
    "C111617"
  ]
}}
      manufacturerPartNumber="HDMI_019S"
      footprint={<footprint>
        <platedhole pcbRotation={90} portHints={["pin20"]} pcbX="7.249922mm" pcbY="-3.7912357mm" holeWidth="0.9000236mm" holeHeight="2.1000466mm" outerWidth="1.499997mm" outerHeight="2.70002mm" shape="pill" />
<platedhole pcbRotation={90}  portHints={["pin21"]} pcbX="-7.249922mm" pcbY="-3.7912357mm" holeWidth="0.9000236mm" holeHeight="2.1000466mm" outerWidth="1.499997mm" outerHeight="2.70002mm" shape="pill" />
<platedhole pcbRotation={90}  portHints={["pin22"]} pcbX="7.249922mm" pcbY="2.2088793mm" holeWidth="0.9000236mm" holeHeight="2.6999946mm" outerWidth="1.499997mm" outerHeight="3.299968mm" shape="pill" />
<platedhole pcbRotation={90}  portHints={["pin23"]} pcbX="-7.249922mm" pcbY="2.2088793mm" holeWidth="0.9000236mm" holeHeight="2.6999946mm" outerWidth="1.499997mm" outerHeight="3.299968mm" shape="pill" />
<smtpad portHints={["pin10"]} pcbX="0mm" pcbY="3.0412373mm" width="0.2500122mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin9"]} pcbX="0.500126mm" pcbY="3.0412373mm" width="0.2500122mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin8"]} pcbX="1.000252mm" pcbY="3.0412373mm" width="0.2500122mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin7"]} pcbX="1.500378mm" pcbY="3.0412373mm" width="0.2500122mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="2.00025mm" pcbY="3.0412373mm" width="0.2500122mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="2.500376mm" pcbY="3.0412373mm" width="0.2500122mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="3.000502mm" pcbY="3.0412373mm" width="0.2500122mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="3.500628mm" pcbY="3.0412373mm" width="0.2500122mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="4.000754mm" pcbY="3.0412373mm" width="0.2500122mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin1"]} pcbX="4.50088mm" pcbY="3.0412373mm" width="0.2500122mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin11"]} pcbX="-0.500126mm" pcbY="3.0412373mm" width="0.2500122mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin12"]} pcbX="-1.000252mm" pcbY="3.0412373mm" width="0.2500122mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin13"]} pcbX="-1.500378mm" pcbY="3.0412373mm" width="0.2500122mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin14"]} pcbX="-2.00025mm" pcbY="3.0412373mm" width="0.2500122mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin15"]} pcbX="-2.500376mm" pcbY="3.0412373mm" width="0.2500122mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin16"]} pcbX="-3.000502mm" pcbY="3.0412373mm" width="0.2500122mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin17"]} pcbX="-3.500628mm" pcbY="3.0412373mm" width="0.2500122mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin18"]} pcbX="-4.000754mm" pcbY="3.0412373mm" width="0.2500122mm" height="1.5999968mm" shape="rect" />
<smtpad portHints={["pin19"]} pcbX="-4.50088mm" pcbY="3.0412373mm" width="0.2500122mm" height="1.5999968mm" shape="rect" />
<silkscreenpath route={[{"x":4.62495899999999,"y":3.9167244999999866},{"x":4.62495899999999,"y":2.116778899999872},{"x":4.375048399999969,"y":2.116778899999872},{"x":4.375048399999969,"y":3.9167244999999866},{"x":4.62495899999999,"y":3.9167244999999866}]} />
<silkscreenpath route={[{"x":4.124959999999874,"y":3.9167244999999866},{"x":4.124959999999874,"y":2.116778899999872},{"x":3.8750493999999662,"y":2.116778899999872},{"x":3.8750493999999662,"y":3.9167244999999866},{"x":4.124959999999874,"y":3.9167244999999866}]} />
<silkscreenpath route={[{"x":3.624960999999985,"y":3.9167244999999866},{"x":3.624960999999985,"y":2.116778899999872},{"x":3.3750504000000774,"y":2.116778899999872},{"x":3.3750504000000774,"y":3.9167244999999866},{"x":3.624960999999985,"y":3.9167244999999866}]} />
<silkscreenpath route={[{"x":3.1249619999998686,"y":3.9167244999999866},{"x":3.1249619999998686,"y":2.116778899999872},{"x":2.8749751999999944,"y":2.116778899999872},{"x":2.8749751999999944,"y":3.9167244999999866},{"x":3.1249619999998686,"y":3.9167244999999866}]} />
<silkscreenpath route={[{"x":2.6250138000000334,"y":3.9167244999999866},{"x":2.6250138000000334,"y":2.116778899999872},{"x":2.374976199999992,"y":2.116778899999872},{"x":2.374976199999992,"y":3.9167244999999866},{"x":2.6250138000000334,"y":3.9167244999999866}]} />
<silkscreenpath route={[{"x":2.125014799999917,"y":3.9167244999999866},{"x":2.125014799999917,"y":2.116778899999872},{"x":1.874977200000103,"y":2.116778899999872},{"x":1.874977200000103,"y":3.9167244999999866},{"x":2.125014799999917,"y":3.9167244999999866}]} />
<silkscreenpath route={[{"x":1.6250157999999146,"y":3.9167244999999866},{"x":1.6250157999999146,"y":2.116778899999872},{"x":1.3749781999999868,"y":2.116778899999872},{"x":1.3749781999999868,"y":3.9167244999999866},{"x":1.6250157999999146,"y":3.9167244999999866}]} />
<silkscreenpath route={[{"x":1.1250168000000258,"y":3.9167244999999866},{"x":1.1250168000000258,"y":2.116778899999872},{"x":0.8749791999999843,"y":2.116778899999872},{"x":0.8749791999999843,"y":3.9167244999999866},{"x":1.1250168000000258,"y":3.9167244999999866}]} />
<silkscreenpath route={[{"x":0.6250178000000233,"y":3.9167244999999866},{"x":0.6250178000000233,"y":2.116778899999872},{"x":0.3749801999999818,"y":2.116778899999872},{"x":0.3749801999999818,"y":3.9167244999999866},{"x":0.6250178000000233,"y":3.9167244999999866}]} />
<silkscreenpath route={[{"x":0.12494259999994028,"y":3.9167244999999866},{"x":0.12494259999994028,"y":2.116778899999872},{"x":-0.12501880000013443,"y":2.116778899999872},{"x":-0.12501880000013443,"y":3.9167244999999866},{"x":0.12494259999994028,"y":3.9167244999999866}]} />
<silkscreenpath route={[{"x":-0.37505639999994855,"y":3.9167244999999866},{"x":-0.37505639999994855,"y":2.116778899999872},{"x":-0.625017800000137,"y":2.116778899999872},{"x":-0.625017800000137,"y":3.9167244999999866},{"x":-0.37505639999994855,"y":3.9167244999999866}]} />
<silkscreenpath route={[{"x":-0.8750554000000648,"y":3.9167244999999866},{"x":-0.8750554000000648,"y":2.116778899999872},{"x":-1.1250168000000258,"y":2.116778899999872},{"x":-1.1250168000000258,"y":3.9167244999999866},{"x":-0.8750554000000648,"y":3.9167244999999866}]} />
<silkscreenpath route={[{"x":-1.3750544000000673,"y":3.9167244999999866},{"x":-1.3750544000000673,"y":2.116778899999872},{"x":-1.6250158000000283,"y":2.116778899999872},{"x":-1.6250158000000283,"y":3.9167244999999866},{"x":-1.3750544000000673,"y":3.9167244999999866}]} />
<silkscreenpath route={[{"x":-1.8750533999999561,"y":3.9167244999999866},{"x":-1.8750533999999561,"y":2.116778899999872},{"x":-2.125014800000031,"y":2.116778899999872},{"x":-2.125014800000031,"y":3.9167244999999866},{"x":-1.8750533999999561,"y":3.9167244999999866}]} />
<silkscreenpath route={[{"x":-2.3750524000000723,"y":3.9167244999999866},{"x":-2.3750524000000723,"y":2.116778899999872},{"x":-2.6250137999999197,"y":2.116778899999872},{"x":-2.6250137999999197,"y":3.9167244999999866},{"x":-2.3750524000000723,"y":3.9167244999999866}]} />
<silkscreenpath route={[{"x":-2.875051400000075,"y":3.9167244999999866},{"x":-2.875051400000075,"y":2.116778899999872},{"x":-3.124962000000096,"y":2.116778899999872},{"x":-3.124962000000096,"y":3.9167244999999866},{"x":-2.875051400000075,"y":3.9167244999999866}]} />
<silkscreenpath route={[{"x":-3.3750503999999637,"y":3.9167244999999866},{"x":-3.3750503999999637,"y":2.116778899999872},{"x":-3.624960999999985,"y":2.116778899999872},{"x":-3.624960999999985,"y":3.9167244999999866},{"x":-3.3750503999999637,"y":3.9167244999999866}]} />
<silkscreenpath route={[{"x":-3.87504940000008,"y":3.9167244999999866},{"x":-3.87504940000008,"y":2.116778899999872},{"x":-4.124959999999987,"y":2.116778899999872},{"x":-4.124959999999987,"y":3.9167244999999866},{"x":-3.87504940000008,"y":3.9167244999999866}]} />
<silkscreenpath route={[{"x":-4.375048400000082,"y":3.9167244999999866},{"x":-4.375048400000082,"y":2.116778899999872},{"x":-4.6249590000001035,"y":2.116778899999872},{"x":-4.6249590000001035,"y":3.9167244999999866},{"x":-4.375048400000082,"y":3.9167244999999866}]} />
<silkscreenpath route={[{"x":7.500111999999945,"y":-2.23053270000014},{"x":7.500111999999945,"y":0.3881310999998959}]} />
<silkscreenpath route={[{"x":7.500111999999945,"y":-8.39122650000013},{"x":7.500111999999945,"y":-5.271903300000076}]} />
<silkscreenpath route={[{"x":-7.499858000000131,"y":-2.2304565000000593},{"x":-7.499858000000131,"y":0.38805489999981546}]} />
<silkscreenpath route={[{"x":-7.499858000000131,"y":-8.39122650000013},{"x":-7.499858000000131,"y":-5.271979500000157}]} />
<silkscreenpath route={[{"x":-7.499858000000131,"y":-8.39122650000013},{"x":7.500111999999945,"y":-8.39122650000013}]} />
<silkscreenpath route={[{"x":4.8300385999998525,"y":2.2097936999999774},{"x":6.079997999999932,"y":2.2097936999999774},{"x":6.079997999999932,"y":2.219775899999945},{"x":6.144996600000013,"y":2.219775899999945},{"x":6.144996600000013,"y":3.2077850999997963},{"x":6.351981199999955,"y":3.2077850999997963},{"x":6.351981199999955,"y":3.201511299999879}]} />
<silkscreenpath route={[{"x":-6.350431800000024,"y":3.201790699999947},{"x":-6.106998200000021,"y":3.201790699999947},{"x":-6.106998200000021,"y":3.18977649999988},{"x":-6.11997759999997,"y":3.18977649999988},{"x":-6.11997759999997,"y":2.2367938999998387},{"x":-4.836998200000039,"y":2.2367938999998387}]} />
<silkscreenpath route={[{"x":-2.499868000000106,"y":-5.758846700000049},{"x":-2.999994000000129,"y":-2.258726700000011},{"x":-3.99999200000002,"y":-2.258726700000011}]} />
<silkscreenpath route={[{"x":-3.99999200000002,"y":-2.258726700000011},{"x":-4.499864000000116,"y":-5.758846700000049}]} />
<silkscreenpath route={[{"x":2.5001219999999194,"y":-5.758846700000049},{"x":2.999994000000015,"y":-2.258726700000011},{"x":3.9999919999999065,"y":-2.258726700000011},{"x":4.5001179999999295,"y":-5.758846700000049}]} />
<silkscreenpath route={[{"x":-3.199891999999977,"y":-2.858674700000165},{"x":-3.8000939999999446,"y":-2.858674700000165}]} />
<silkscreenpath route={[{"x":3.1998919999998634,"y":-2.858674700000165},{"x":3.800093999999831,"y":-2.858674700000165}]} />
<silkscreentext text="{NAME}" pcbX="0mm" pcbY="4.9096633mm" anchorAlignment="center" fontSize="1mm" />
<courtyardoutline outline={[{"x":-8.25100000000009,"y":4.15966329999992},{"x":8.250999999999976,"y":4.15966329999992},{"x":8.250999999999976,"y":-8.659336700000154},{"x":-8.25100000000009,"y":-8.659336700000154},{"x":-8.25100000000009,"y":4.15966329999992}]} />
      </footprint>}
      cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C111617.obj?uuid=01bdf512d7e14f549f9de2600846294a",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C111617.step?uuid=01bdf512d7e14f549f9de2600846294a",
        pcbRotationOffset: 0,
        modelOriginPosition: { x: 0, y: 8.365965900000004, z: -2.9250046 },
      }}
      {...props}
    />
  )
}