Self-powered USB "pass-through"?

This is the place for any magazine-related discussions that don't fit in any of the column discussion boards below.
Post Reply
russosv
Posts: 24
Joined: Thu Jan 03, 2008 7:16 am
Contact:

Self-powered USB "pass-through"?

Post by russosv »

Hi All!

I have a laptop on which I damaged the USB port, about 1 1/2 years ago when I was learning about the PIC 18F4550 and USB devices. In short, the USB ports no longer supply power, but they work with self-powered USB devices.

The laptop is now my wife's, and I wanted to make a device for her that would supply power to small, port-powered USB devices (like data sticks), so she can use the port with other devices.

I created a simple PCB that provides power to a device using a step-up converter for 2 AAA batteries (MAX1676), and simply passes D+/D- to the USB port.

The circuit does provide power to the device, however, nothing happens when I plug in a data stick (tested it on a good computer, and the device works fine on its own).

Since then, I've read that you need to "sense" a cable connection when a self-powered USB device is plugged in.

Does anyone know the details on this? Do I have to use a microcontroller for this type of app? And, is this type of device even possible?

Thanks in advance for any assistance!!
dyarker
Posts: 1917
Joined: Fri Aug 22, 2003 1:01 am
Location: Izmir, Turkiye; from Rochester, NY
Contact:

Post by dyarker »

A long time since I looked at USB spec, but yes there is some handshaking between USB port and port powered device. (Though not as complicated as POE power over ethernet.)

I would get a mini USB hub that is powered by wall wart or battery.

Sorry I be more help.
Dale Y
russosv
Posts: 24
Joined: Thu Jan 03, 2008 7:16 am
Contact:

Post by russosv »

Hi Dale,
I would get a mini USB hub that is powered by wall wart or battery.
Thanks for the suggestion... I have thought about getting a self-powered USB hub, but I'm short on money right now, and I'm also interested in the electronics of the application. It's much more satisfying to "do it yourself" if it's possible! :smile:

If the handshaking is simple, I would think that it shouldn't be too hard to build a basic device to do something like this with a microcontroller. I just need to find out what the exact "handshake" is... Any ideas on where to start?

Steve
dyarker
Posts: 1917
Joined: Fri Aug 22, 2003 1:01 am
Location: Izmir, Turkiye; from Rochester, NY
Contact:

Post by dyarker »

"I'm short on money right now" That makes at least two of us :sad:

"and I'm also interested in the electronics of the application" Yeah :grin:

www.wikipedia.org is useful at times like this. Not for what's on their USB page, but for the links in the reference section at the bottom. Item 10 ? looked good, but is multi-meg, so I stopped the download.
Dale Y
User avatar
jollyrgr
Posts: 1289
Joined: Thu Jan 03, 2002 1:01 am
Location: Northern Illinois
Contact:

Post by jollyrgr »

Can you swing $5, and an old keyboard cable? Walmart has this device:


http://www.walmart.com/catalog/product. ... id=5280907

If you are not using the PS/2 port on the back of the laptop, tap off the 5V using a PS/2 plug. Splice this into the USB hub's +5V wire.

If you feel comfortable working inside the laptop, you could bridge the 5V of the PS/2 port, through a diode maybe, to the +5V for the USB port. This would "fix" the laptop in a fashion.
No trees were harmed in the creation of this message. But billions of electrons, photons, and electromagnetic waves were terribly inconvenienced!
russosv
Posts: 24
Joined: Thu Jan 03, 2008 7:16 am
Contact:

Post by russosv »

Hi Jollyrgr,

Thanks for the suggestion. I may end up going this route because I couldn't get my solution to work.

Thanks,
Steve
russosv
Posts: 24
Joined: Thu Jan 03, 2008 7:16 am
Contact:

Post by russosv »

Oh , Dale - I forgot to say -- thanks for the link!
Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests