gokul/fieldkit-usb

USB-C-powered ESP32-S3 Wi-Fi/Bluetooth handheld with an SMD 128x32 OLED, six navigation buttons, USB-C power/data, complete checked routing, and four native schematic sheets.

Version
0.4.2
License
UNLICENSED
Stars
0

imports/USBLC6_2SC6.tsx

import { type ChipProps } from "tscircuit"
const pinLabels = {
  pin1: ["IO1"],
  pin2: ["GND"],
  pin3: ["IO2"],
  pin4: ["IO2"],
  pin5: ["VBUS"],
  pin6: ["IO1"]
} as const
export const USBLC6_2SC6 = (props: ChipProps<typeof pinLabels>) => (
  <chip schWidth={4} schMarginX={0.5} schMarginY={0.5} schPinStyle={Object.fromEntries(Object.keys(pinLabels).map(pin => [pin, {marginTop:0.15, marginBottom:0.15}]))}
    footprint={<footprint>
        <smtpad portHints={["pin1"]} pcbX="-0.9499599999999191mm" pcbY="-1.1490959999998722mm" layer="top" width="0.532003mm" height="1.0720070000000002mm" shape="rect" />
<smtpad portHints={["pin2"]} pcbX="0mm" pcbY="-1.1490959999998722mm" layer="top" width="0.532003mm" height="1.0720070000000002mm" shape="rect" />
<smtpad portHints={["pin3"]} pcbX="0.9499599999998054mm" pcbY="-1.1490959999998722mm" layer="top" width="0.532003mm" height="1.0720070000000002mm" shape="rect" />
<smtpad portHints={["pin4"]} pcbX="0.9499599999998054mm" pcbY="1.149095999999986mm" layer="top" width="0.532003mm" height="1.0720070000000002mm" shape="rect" />
<smtpad portHints={["pin5"]} pcbX="0mm" pcbY="1.149095999999986mm" layer="top" width="0.532003mm" height="1.0720070000000002mm" shape="rect" />
<smtpad portHints={["pin6"]} pcbX="-0.9499599999999191mm" pcbY="1.149095999999986mm" layer="top" width="0.532003mm" height="1.0720070000000002mm" shape="rect" />
<silkscreenpath route={[{"x":1.5391891999998961,"y":-0.8892031999998835},{"x":1.5391891999998961,"y":0.8892031999999972}]} strokeWidth={0.15239999999999998} />
<silkscreenpath route={[{"x":-1.5391892000000098,"y":-0.8892031999998835},{"x":-1.5391892000000098,"y":0.8892031999999972}]} strokeWidth={0.15239999999999998} />
<silkscreencircle pcbX={-1.6682720000001154} pcbY={-1.3014960000000428} radius={0.150114} layer="top" strokeWidth={0.29999939999999997} />
<courtyardoutline outline={[{"x":-2.078800000000001,"y":1.9264000000000578},{"x":1.7739999999998872,"y":1.9264000000000578},{"x":1.7739999999998872,"y":-2.0279999999999063},{"x":-2.078800000000001,"y":-2.0279999999999063},{"x":-2.078800000000001,"y":1.9264000000000578}]} layer="top" />
      </footprint>}
    pinLabels={pinLabels}
    internallyConnectedPins={[["pin1", "pin6"], ["pin3", "pin4"]]}
    pinAttributes={{
  "pin1": {
    "isPassive": true
  },
  "pin2": {
    "mustBeConnected": true,
    "requiresGround": true
  },
  "pin3": {
    "isPassive": true
  },
  "pin4": {
    "isPassive": true
  },
  "pin5": {
    "requiresPower": true,
    "isPassive": true,
    "mustBeConnected": true,
    "shouldHaveDecouplingCapacitor": true,
    "recommendedDecouplingCapacitorCapacitance": "100nF"
  },
  "pin6": {
    "isPassive": true
  }
}}
    supplierPartNumbers={{
  "jlcpcb": [
    "C7519"
  ]
}}
    manufacturerPartNumber="USBLC6-2SC6"
    cadModel={{
        objUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C7519.obj?uuid=229b69761e2c45dba6a83d8866dec72d",
        stepUrl: "https://modelcdn.tscircuit.com/easyeda_models/assets/C7519.step?uuid=229b69761e2c45dba6a83d8866dec72d",
        pcbRotationOffset: 90,
        modelOriginPosition: {"x":-0.000012700000070253736,"y":0.000012700000070253736,"z":-0.048939},
    }}
    {...props}
  >
</chip>
)