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.
imports/USB_A_AF90_CONN.tsx
import type { ChipProps } from "@tscircuit/props"
// USB-A 2.0 right-angle receptacle, JLC C456018 (AF 90 WJDG).
// Same EasyEDA pad geometry as imports/AF_90_WJDG.tsx, declared as a
// <connector> so the connector orientation DRC applies.
const pinLabels = {
pin1: ["VCC"],
pin2: ["D_NEG"],
pin3: ["D_POS"],
pin4: ["GND"],
pin5: ["SHLD"],
} as const
export const USB_A_AF90 = (props: ChipProps<typeof pinLabels>) => (
<connector
pinLabels={pinLabels}
supplierPartNumbers={{ jlcpcb: ["C456018"] }}
manufacturerPartNumber="AF 90 WJDG"
footprint={
<footprint insertionDirection="from_bottom">
<platedhole portHints={["pin1"]} pcbX="-3.5000057mm" pcbY="1.7749647mm" outerDiameter="1.5199868mm" holeDiameter="0.919988mm" shape="circle" />
<platedhole portHints={["pin2"]} pcbX="-1.0000107mm" pcbY="1.7749647mm" outerDiameter="1.5199868mm" holeDiameter="0.919988mm" shape="circle" />
<platedhole portHints={["pin3"]} pcbX="0.9999853mm" pcbY="1.7749647mm" outerDiameter="1.5199868mm" holeDiameter="0.919988mm" shape="circle" />
<platedhole portHints={["pin4"]} pcbX="3.4999803mm" pcbY="1.7749647mm" outerDiameter="1.5199868mm" holeDiameter="0.919988mm" shape="circle" />
<platedhole portHints={["pin5"]} pcbX="-6.5699767mm" pcbY="-0.9349613mm" outerDiameter="3.1999936mm" holeDiameter="2.3000208mm" shape="circle" />
<platedhole portHints={["pin5"]} pcbX="6.5699767mm" pcbY="-0.9349613mm" outerDiameter="3.1999936mm" holeDiameter="2.3000208mm" shape="circle" />
<courtyardoutline
outline={[
{ x: -8.4199735, y: 2.7849581 },
{ x: 8.4199735, y: 2.7849581 },
{ x: 8.4199735, y: -11.7300253 },
{ x: -8.4199735, y: -11.7300253 },
{ x: -8.4199735, y: 2.7849581 },
]}
/>
</footprint>
}
{...props}
/>
)