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.

sections/DevicePort.tsx

import { USB_A_AF90 } from "../imports/USB_A_AF90_CONN"

// Device side (downstream). USB-A receptacle at the right edge, mouth facing
// +X so a cable plugs in from outside the board. 24 ohm series resistors on
// DD+/DD- per the ADuM4160 full speed requirement.
export const DevicePort = () => (
  <>
    <USB_A_AF90
      name="J2"
      allowOffBoard
      pcbX={22.1}
      pcbY={-2.0}
      pcbRotation={90}
      schSheetName="USB"
      schSectionName="USB_DEVICE"
      schX={12}
      schY={-6}
      connections={{
        VCC: "net.VBUS_DEV",
        D_NEG: "net.DEV_DM",
        D_POS: "net.DEV_DP",
        GND: "net.GND_DEV",
        SHLD: "net.GND_DEV",
      }}
    />

    <resistor
      name="R5"
      resistance="24"
      footprint="0402"
      pcbX={8.6}
      pcbY={-9.6}
      pcbRotation={0}
      schSheetName="USB"
      schSectionName="USB_DEV_SERIES"
      schX={9}
      schY={-9.5}
      connections={{ pin1: "net.DD_P", pin2: "net.DEV_DP" }}
    />
    <resistor
      name="R6"
      resistance="24"
      footprint="0402"
      pcbX={8.6}
      pcbY={-12.4}
      pcbRotation={0}
      schSheetName="USB"
      schSectionName="USB_DEV_SERIES"
      schX={9}
      schY={-11.5}
      connections={{ pin1: "net.DD_N", pin2: "net.DEV_DM" }}
    />
  </>
)