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-isolatorIn 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/Power.tsx
import { B0505S } from "../imports/B0505S_MODULE"
// PS1 is the isolated DC-DC. It straddles the isolation barrier: pins 1-2 sit
// on GND_HOST / VBUS_HOST, pins 3-4 on GND_DEV / VBUS_DEV. The barrier is
// the physical gap between the two pin pairs.
export const PowerModule = () => (
<>
<B0505S
name="PS1"
pcbX={0}
pcbY={10.2}
schX={12}
schY={4}
schSectionName="ISO_POWER"
connections={{
GND1: "net.GND_HOST",
VIN: "net.VBUS_HOST",
GND2: "net.GND_DEV",
VOUT: "net.VBUS_DEV",
}}
/>
<capacitor
name="C1"
capacitance="4.7uF"
footprint="0805"
pcbX={-6.6}
pcbY={10.2}
pcbRotation={90}
schX={9}
schY={6.6}
schRotation={270}
schSectionName="ISO_POWER"
connections={{ pin1: "net.VBUS_HOST", pin2: "net.GND_HOST" }}
/>
<capacitor
name="C2"
capacitance="100nF"
footprint="0402"
pcbX={-6.6}
pcbY={13.11}
pcbRotation={90}
schX={9}
schY={5.1}
schRotation={270}
schSectionName="ISO_POWER"
connections={{ pin1: "net.VBUS_HOST", pin2: "net.GND_HOST" }}
/>
<capacitor
name="C3"
capacitance="4.7uF"
footprint="0805"
pcbX={6.6}
pcbY={10.2}
pcbRotation={90}
schX={15}
schY={6.6}
schRotation={270}
schSectionName="ISO_POWER"
connections={{ pin1: "net.VBUS_DEV", pin2: "net.GND_DEV" }}
/>
<capacitor
name="C4"
capacitance="100nF"
footprint="0402"
pcbX={6.6}
pcbY={13.11}
pcbRotation={90}
schX={15}
schY={5.1}
schRotation={270}
schSectionName="ISO_POWER"
connections={{ pin1: "net.VBUS_DEV", pin2: "net.GND_DEV" }}
/>
</>
)