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.
index.circuit.tsx
PCB
Schematic
import { Isolator } from "./sections/Isolator"
import { IsolatorDecoupling } from "./sections/IsolatorDecoupling"
import { PowerModule } from "./sections/Power"
import { HostPort } from "./sections/HostPort"
import { DevicePort } from "./sections/DevicePort"
import { Indicators } from "./sections/Indicators"
// Full speed USB isolator, 50 x 30 mm, 2 layers.
//
// Isolation barrier runs along x = 0. Everything left of it is referenced to
// GND_HOST (upstream, USB-C / host side), everything right of it to GND_DEV
// (downstream, USB-A / peripheral side). Only U1 (ADuM4160) and PS1 (isolated
// DC-DC) bridge the barrier.
export default () => (
<board width="50mm" height="30mm" layers={2}>
<net name="GND_HOST" isGroundNet nominalTraceWidth={0.5} />
<net name="GND_DEV" isGroundNet nominalTraceWidth={0.5} />
<net name="VBUS_HOST" isPowerNet nominalTraceWidth={0.6} />
<net name="VBUS_DEV" isPowerNet nominalTraceWidth={0.6} />
<net name="VDD1_3V3" isPowerNet nominalTraceWidth={0.4} />
<net name="VDD2_3V3" isPowerNet nominalTraceWidth={0.4} />
<schematicsheet name="USB" displayName="USB connectors and data" sheetIndex={0} />
<schematicsheet name="Isolator" displayName="ADuM4160 and bypass" sheetIndex={1} />
<schematicsheet name="Power" displayName="Isolated power and indicators" sheetIndex={2} />
<schematicsection name="USB_HOST" displayName="Upstream USB-C" />
<schematicsection name="USB_CC" displayName="CC pulldowns" />
<schematicsection name="USB_BULK" displayName="VBUS bulk" />
<schematicsection name="USB_SERIES" displayName="Upstream series termination" />
<schematicsection name="USB_DEVICE" displayName="Downstream USB-A" />
<schematicsection name="USB_DEV_SERIES" displayName="Downstream series termination" />
<schematicsection name="ISO_CORE" displayName="ADuM4160" />
<schematicsection name="DECAP_HOST" displayName="Host side bypass" />
<schematicsection name="DECAP_DEV" displayName="Device side bypass" />
<schematicsection name="ISO_POWER" displayName="Isolated DC-DC" />
<schematicsection name="LED_HOST" displayName="Host power LED" />
<schematicsection name="LED_DEV" displayName="Device power LED" />
<HostPort />
<Isolator />
<IsolatorDecoupling />
<PowerModule />
<DevicePort />
<Indicators />
{/* Isolation gap: copper keepout strip on both layers so no autorouted
trace can bridge GND_HOST and GND_DEV. U1 and PS1 straddle the barrier
by design, so they are exempt from the keepout placement check. */}
<keepout
shape="rect"
pcbX={0}
pcbY={-4}
width="1.2mm"
height="21mm"
excludeRefs={[".U1", ".PS1"]}
/>
<silkscreentext
pcbX={0}
pcbY={13.6}
text="ISOLATION BARRIER - GND_HOST | GND_DEV"
fontSize={0.9}
anchorAlignment="center"
/>
</board>
)