Author Topic: Detecting USB device connection while unpowered  (Read 1905 times)

0 Members and 1 Guest are viewing this topic.

Offline oliver602Topic starter

  • Regular Contributor
  • *
  • Posts: 120
  • Country: gb
Detecting USB device connection while unpowered
« on: October 03, 2011, 10:02:54 pm »
I'm thinking about a USB charger that can be permanently installed in a car or motor home.

I want to minimise current draw while no USB device is attached. Tens of micro amps.

Perhaps by using a very low power circuit supplied by a linear regulator to disable the switching regulator when no device is attached. Id also like to include low input voltage shutdown, to avoid a flat car battery.

Is there a reliable way to detect when a USB device is connected while it is unpowered, without any mechanical switches?

 

Offline reagle

  • Supporter
  • ****
  • Posts: 549
  • Country: us
    • KuzyaTech
Re: Detecting USB device connection while unpowered
« Reply #1 on: October 04, 2011, 12:55:14 am »
You might be able to just find one with very low quiescent current and rely on it  for detecting load.  Otherwise  maybe inrush current of the device getting connected? Typically there would be a sizeable cap on the power line

Offline Psi

  • Super Contributor
  • ***
  • Posts: 9531
  • Country: nz
Re: Detecting USB device connection while unpowered
« Reply #2 on: October 04, 2011, 12:56:54 am »
The lowest idle power possible is zero, which you could do with a pushbutton to start the process.
Or even a tiny solar panel and supercapacitor to store enough charge to latch a relay or pull the IC's enable pin high.

However i'm sure there is an easy way to monitor for pullups/pulldowns present when a usb device is plugged in.
That would meet your tens of micro amps target.

Maybe get a few usb devices and see what resistance they have from D-/+ to ground.

Have a read of the USB standard, there might be an official way to do this.
« Last Edit: October 04, 2011, 05:20:19 am by Psi »
Greek letter 'Psi' (not Pounds per Square Inch)
 

Offline joelby

  • Frequent Contributor
  • **
  • Posts: 634
Re: Detecting USB device connection while unpowered
« Reply #3 on: October 04, 2011, 02:26:01 am »
How about a microswitch in the USB socket?
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf