xmen_xwk
Full Member level 3
I'm building a digital switch between USB ports. And I want to turn off all 4 connections (VCC, D+, D-, GND) when a port is switched off for Smart Usb hub.
There are 2 Laptops(Host) and one client. Now what I want is to digitally connect/disconnect client to any laptop. To do that I'm using both AND gate and OR gate.
But I've few question, like how current flows for D+ and D-? I presume it flows from host to client for D+ and client to host for D-, like VCC and GND?
Does the direction change like AC? Or stays in one direction like DC?
Is it even possible to build switch like this?
PS: Talking about conventional current.
Thank you.
There are 2 Laptops(Host) and one client. Now what I want is to digitally connect/disconnect client to any laptop. To do that I'm using both AND gate and OR gate.
But I've few question, like how current flows for D+ and D-? I presume it flows from host to client for D+ and client to host for D-, like VCC and GND?
Does the direction change like AC? Or stays in one direction like DC?
Is it even possible to build switch like this?
PS: Talking about conventional current.
Thank you.