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/Indicators.tsx

// Power indicator on each side of the barrier. LED_HOST on GND_HOST,
// LED_DEV on GND_DEV. Each has its own 1k series resistor so neither net is
// pulled across the barrier.
export const Indicators = () => (
  <>
    <led
      name="LED1"
      color="green"
      footprint="0603"
      pcbX={-16.0}
      pcbY={-10.6}
      pcbRotation={90}
      schSheetName="Power"
      schSectionName="LED_HOST"
      schX={-6}
      schY={1.5}
      schRotation={270}
      connections={{ anode: "net.LED1_A", cathode: "net.GND_HOST" }}
    />
    <resistor
      name="R7"
      resistance="1k"
      footprint="0402"
      pcbX={-16.0}
      pcbY={-8.0}
      pcbRotation={270}
      schSheetName="Power"
      schSectionName="LED_HOST"
      schX={-6}
      schY={4}
      schRotation={270}
      connections={{ pin1: "net.VBUS_HOST", pin2: "net.LED1_A" }}
    />

    <led
      name="LED2"
      color="green"
      footprint="0603"
      pcbX={12.4}
      pcbY={11.2}
      pcbRotation={90}
      schSheetName="Power"
      schSectionName="LED_DEV"
      schX={8}
      schY={-11.5}
      schRotation={270}
      connections={{ anode: "net.LED2_A", cathode: "net.GND_DEV" }}
    />
    <resistor
      name="R8"
      resistance="1k"
      footprint="0402"
      pcbX={12.4}
      pcbY={8.6}
      pcbRotation={90}
      schSheetName="Power"
      schSectionName="LED_DEV"
      schX={8}
      schY={-9}
      schRotation={270}
      connections={{ pin1: "net.VBUS_DEV", pin2: "net.LED2_A" }}
    />
  </>
)