techmannih/museview

A 50×35 mm USB‑C 5 V camera board combining an ESP32‑S3 module, M0031 parallel camera connector, buck/LDO power rails, USB/ESD protection, controls, status LED, and passives.

Version
0.1.18
License
unset
Stars
1

imports/USBLC6_2SC6/USBLC6_2SC6.tsx

import objPath from "./USBLC6_2SC6.obj"
import stepPath from "./USBLC6_2SC6.step"
import { type ChipProps } from "tscircuit"
const pinLabels = {
  "pin1": [
    "I1",
    "O11"
  ],
  "pin2": [
    "GND"
  ],
  "pin3": [
    "I2",
    "O21"
  ],
  "pin4": [
    "I3",
    "O22"
  ],
  "pin5": [
    "VBUS"
  ],
  "pin6": [
    "I4",
    "O12"
  ]
} as const
export const USBLC6_2SC6 = (props: ChipProps<typeof pinLabels>) => (
  <chip
    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":-1.6999843999999484,"y":1.9350994999999784},{"x":1.7000097999999753,"y":1.9350994999999784},{"x":1.7000097999999753,"y":-1.9350994999998647},{"x":-1.6999843999999484,"y":-1.9350994999998647},{"x":-1.6999843999999484,"y":1.9350994999999784}]} layer="top" />
      </footprint>}
    pinLabels={pinLabels}
    internallyConnectedPins={[["pin1", "pin6"], ["pin3", "pin4"]]}
    pinAttributes={{pin1:{isPassive:true},pin2:{requiresGround:true},pin3:{isPassive:true},pin4:{isPassive:true},pin5:{requiresPower:true},pin6:{isPassive:true}}}
    supplierPartNumbers={{
  "jlcpcb": [
    "C2687116"
  ]
}}
    manufacturerPartNumber="USBLC6-2SC6"
    cadModel={{
        objUrl: objPath,
        stepUrl: stepPath,
        pcbRotationOffset: 90,
        modelOriginPosition: {"x":-0.000012700000070253736,"y":0.000012700000070253736,"z":-0.048939},
    }}
    {...props}
  />
)