aj0070/usb-isolator

A 50×30 mm two-layer USB 2.0 full-speed isolator board using USB-C and USB-A connectors, an ADuM4160 digital isolator, isolated B0505S DC-DC power module, decoupling capacitors, series resistors, and dual power LEDs.

Version
1.0.2
License
unset
Stars
0

Use with the tscircuit CLI

tsci is the tscircuit CLI. Install it with npm install -g tscircuit.

tsci clone aj0070/usb-isolator  # download the package files into ./usb-isolator
tsci add aj0070/usb-isolator    # add it to your project as @tsci/aj0070.usb-isolator

In a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.

imports/USB_C_SH_U262_CONN.tsx

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

const pinLabels = {
  pin13: ["EH4"],
  pin14: ["EH3"],
  pin15: ["EH2"],
  pin16: ["EH1"],
  pin17: ["GND1", "B1A12"],
  pin18: ["VBUS1", "B4A9"],
  pin19: ["CC2", "B5"],
  pin20: ["SBU1", "A8"],
  pin21: ["DP2", "B6"],
  pin22: ["DN1", "A7"],
  pin23: ["DP1", "A6"],
  pin24: ["DN2", "B7"],
  pin25: ["CC1", "A5"],
  pin26: ["SBU2", "B8"],
  pin27: ["VBUS2", "A4B9"],
  pin28: ["GND2", "A1B12"],
} as const

export const USB_C_SH_U262 = (props: ChipProps<typeof pinLabels>) => (
  <connector
    pinLabels={pinLabels}
    supplierPartNumbers={{ jlcpcb: ["C22383469"] }}
    manufacturerPartNumber="SH-U262-161N-4B"
    footprint={
      <footprint insertionDirection="from_bottom">
        <hole pcbX="2.857881mm" pcbY="1.42518765mm" diameter="0.649986mm" />
        <hole pcbX="-2.922143mm" pcbY="1.42518765mm" diameter="0.649986mm" />
        <smtpad portHints={["pin17"]} pcbX="3.167761mm" pcbY="2.45007765mm" width="0.5999988mm" height="1.1500104mm" shape="rect" />
        <smtpad portHints={["pin18"]} pcbX="2.367661mm" pcbY="2.45007765mm" width="0.5999988mm" height="1.1500104mm" shape="rect" />
        <smtpad portHints={["pin19"]} pcbX="1.717675mm" pcbY="2.45007765mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
        <smtpad portHints={["pin20"]} pcbX="1.217803mm" pcbY="2.45007765mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
        <smtpad portHints={["pin21"]} pcbX="0.717677mm" pcbY="2.45007765mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
        <smtpad portHints={["pin22"]} pcbX="0.217805mm" pcbY="2.45007765mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
        <smtpad portHints={["pin23"]} pcbX="-0.282321mm" pcbY="2.45007765mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
        <smtpad portHints={["pin24"]} pcbX="-0.782193mm" pcbY="2.45007765mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
        <smtpad portHints={["pin25"]} pcbX="-1.282319mm" pcbY="2.45007765mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
        <smtpad portHints={["pin26"]} pcbX="-1.782191mm" pcbY="2.45007765mm" width="0.2999994mm" height="1.1500104mm" shape="rect" />
        <smtpad portHints={["pin27"]} pcbX="-2.432177mm" pcbY="2.45007765mm" width="0.5999988mm" height="1.1500104mm" shape="rect" />
        <smtpad portHints={["pin28"]} pcbX="-3.232277mm" pcbY="2.45007765mm" width="0.5999988mm" height="1.1500104mm" shape="rect" />
        <smtpad portHints={["pin16"]} pcbX="5.324983mm" pcbY="1.92505965mm" width="1.999996mm" height="1.1999976mm" shape="rect" />
        <smtpad portHints={["pin15"]} pcbX="5.324983mm" pcbY="-2.27508435mm" width="1.999996mm" height="1.499997mm" shape="rect" />
        <smtpad portHints={["pin14"]} pcbX="-5.324983mm" pcbY="-2.27508435mm" width="1.999996mm" height="1.499997mm" shape="rect" />
        <smtpad portHints={["pin13"]} pcbX="-5.324983mm" pcbY="1.92505965mm" width="1.999996mm" height="1.1999976mm" shape="rect" />
        <silkscreenpath route={[{ x: -3.763416399999869, y: 2.6250836499998513 }, { x: -4.191126999999938, y: 2.6250836499998513 }]} />
        <silkscreenpath route={[{ x: 4.116806600000018, y: 2.6250836499998513 }, { x: 3.698900400000184, y: 2.6250836499998513 }]} />
        <silkscreenpath route={[{ x: 4.4698666000001595, y: -1.2938569500000767 }, { x: 4.4698666000001595, y: 1.0938446499999372 }]} />
        <silkscreenpath route={[{ x: 4.4698666000001595, y: -4.914906350000024 }, { x: 4.4698666000001595, y: -3.2561339500000486 }]} />
        <silkscreenpath route={[{ x: -4.470120599999859, y: -1.2938569500000767 }, { x: -4.470120599999859, y: 1.0938446499999372 }]} />
        <silkscreenpath route={[{ x: -4.470120599999859, y: -4.914906350000024 }, { x: -4.470120599999859, y: -3.2561339500000486 }]} />
        <silkscreenpath route={[{ x: 4.4698666000001595, y: -4.914906350000024 }, { x: -4.470120599999859, y: -4.914906350000024 }]} />
        <silkscreentext text="{NAME}" pcbX="-0.002159mm" pcbY="4.01751365mm" anchorAlignment="center" fontSize="1mm" />
        <courtyardoutline
          outline={[
            { x: -6.5767589999999245, y: 3.2675136499998416 },
            { x: 6.57244100000014, y: 3.2675136499998416 },
            { x: 6.57244100000014, y: -5.18268635000004 },
            { x: -6.5767589999999245, y: -5.18268635000004 },
            { x: -6.5767589999999245, y: 3.2675136499998416 },
          ]}
        />
      </footprint>
    }
    {...props}
  />
)