Author Topic: Two DealExtreme USB power adapters fail to charge MP3 player  (Read 6421 times)

0 Members and 1 Guest are viewing this topic.

Offline nzoTopic starter

  • Regular Contributor
  • *
  • Posts: 101
  • Country: nz
Two DealExtreme USB power adapters fail to charge MP3 player
« on: October 14, 2011, 05:12:16 am »
Hi all...

I was going to build a small 5v USB power adapter to charge my generic MP3 player when I'm away from my desktop PC.

Someone here suggested it was not worth building, since adapters are so cheap to buy via DealExtreme. So I thought stuff it and bought two of them: this one and this one.

I was surprised to find that neither of them charged the player.

The PC USB feed works perfectly and the player charge icon shows it is being charged.

When I use either of the wall adapters, the player LCD screen lights up briefly, bypasses the charge icon, goes straight to the play interface and "nothing" happens.

I prised open both adapters and there is definitely +5v between pin 1 and 4 of each USB socket. Thinking the problem may be the micro-mini resistors on pins 2 and 3, I removed them but charging still does not happen.

What is it about the PC USB feed that causes the player to charge but not the adapters?

Got me beat. Any suggestions much appreciated.
Frogman: half man, half frog, but which half?
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 11859
  • Country: us
Re: Two DealExtreme USB power adapters fail to charge MP3 player
« Reply #1 on: October 14, 2011, 05:29:30 am »
I think the MP3 player has to believe it can draw current from the USB cable. Either it can negotiate with a real computer on the other end, or it checks for particular voltages on pins 2 and/or 3 (that's what the resistors are for, they divide the 5 V down to a precise intermediate signal voltage). Most likely in your case the MP3 player does not find the voltages it is expecting to find. I know iPhones are very fussy about this, but it is news that a generic MP3 player may also be fussy.
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4199
  • Country: us
Re: Two DealExtreme USB power adapters fail to charge MP3 player
« Reply #2 on: October 14, 2011, 09:02:01 am »
What brand of MP3 player?  Some (apple) are infamous for playing a bit loose with USB standards so that they'll only recognize "real" OEM charger units.  Adafruit has a lot of experience getting their "mintyboost" charger to work with various devices, and they have posted a bunch of info about the hows and whys: http://www.ladyada.net/make/mintyboost/icharge.html (and other mintyboost documents.)
 

alm

  • Guest
Re: Two DealExtreme USB power adapters fail to charge MP3 player
« Reply #3 on: October 14, 2011, 09:16:44 am »
Not sure if I'd call it playing loose, does the USB standard require devices to do anything if they get supplied with 5V without a proper USB host? I think USB would require negotiation with the host first. Just connecting a dumb 5V regulator to the USB power pins is outside of the USB spec, as far as I know. There is a USB battery charging spec, but I doubt that a cheap DX charger will conform to it. There is a slight chance that Apple does, though ;).
 

Offline nzoTopic starter

  • Regular Contributor
  • *
  • Posts: 101
  • Country: nz
Re: Two DealExtreme USB power adapters fail to charge MP3 player
« Reply #4 on: October 14, 2011, 09:42:49 am »
Sorry westfw, I haven't the foggiest idea of the brand. The player came with a sparse leaflet with no brand ID. It is 2GB, with mini USB socket. Looks like a typical Chinese Apple knock-off.


Frogman: half man, half frog, but which half?
 

Offline david77

  • Frequent Contributor
  • **
  • Posts: 934
  • Country: de
Re: Two DealExtreme USB power adapters fail to charge MP3 player
« Reply #5 on: October 14, 2011, 10:01:50 am »
I have seen similar behaviour with some satnavs. They charge perfectly well with the original wall wart -> USB or the original cigarette lighter -> USB adapter and also from a PC's USB port using a standard USB cable. But some do not charge from generic USB power adapters. I have never had the chance to investigate this odd behaviour as the satnavs usually are customers units.
I'd say alm is probably right.
 

Offline 0xdeadbeef

  • Super Contributor
  • ***
  • Posts: 1572
  • Country: de
Re: Two DealExtreme USB power adapters fail to charge MP3 player
« Reply #6 on: October 15, 2011, 04:52:49 pm »
There are indeed a few devices that will only charge after they negotiated with the USB host. E.g. a Playstation 3 controller will not charge when connected to any normal USB power supply, but only when connected to a USB-Slot of a PS3, PC or any other "real" host. A similar behaviour can be observed for iPhones/iPods. While they will charge from cheap USB power supply, they won't charge from an unpowered USB hub. AFAIK the iPad will need a real USB host as it wants to negotiate the current it can draw.
Trying is the first step towards failure - Homer J. Simpson
 

alm

  • Guest
Re: Two DealExtreme USB power adapters fail to charge MP3 player
« Reply #7 on: October 15, 2011, 05:37:42 pm »
Some just need a resistor between the data wires. Not sure if the USB battery charging standard is similar.
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4199
  • Country: us
Re: Two DealExtreme USB power adapters fail to charge MP3 player
« Reply #8 on: October 15, 2011, 11:28:44 pm »
Quote
Not sure if I'd call it playing loose, does the USB standard require devices to do anything if they get supplied with 5V without a proper USB host? I think USB would require negotiation with the host first.
The USB host would be within spec to refuse to supply more than 100mA without negotiation, and presumably it would be "ok" for the device to refuse to charge unless it negotiates with the host to ensure it can provide the higher current.

It's the use of resistors on the data lines to identify a dumb charger as "good" that I call "playing loose."  "We'll charge if we connect directly to a Mac and it agrees to charge us, OR if these magic undocumented pullup/pulldown values are present."  Grr.
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 11859
  • Country: us
Re: Two DealExtreme USB power adapters fail to charge MP3 player
« Reply #9 on: October 15, 2011, 11:30:52 pm »
It's the use of resistors on the data lines to identify a dumb charger as "good" that I call "playing loose."  "We'll charge if we connect directly to a Mac and it agrees to charge us, OR if these magic undocumented pullup/pulldown values are present."  Grr.
Some USB chargers can supply 1 A or 2 A. It would be unreasonable of a device to try drawing 2 A from a supply unless the host gave some indication that 2 A was available.
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4199
  • Country: us
Re: Two DealExtreme USB power adapters fail to charge MP3 player
« Reply #10 on: October 16, 2011, 10:03:26 am »
Quote
Some USB chargers can supply 1 A or 2 A.
This is also "playing loose with the USB specification.)  The spec says 500mA max, period.  (actually, I don't know if the spec allows for a charger-only "host" at all (ie with nothing connected on the data lines.))

And USB.ORG thought they were powerful enough, and had a reasonable enough spec, that it wouldn't get as widely violated as the old serial and parallel ports.  Hah!
 

Offline IanB

  • Super Contributor
  • ***
  • Posts: 11859
  • Country: us
Re: Two DealExtreme USB power adapters fail to charge MP3 player
« Reply #11 on: October 16, 2011, 05:04:51 pm »
Quote
Some USB chargers can supply 1 A or 2 A.
This is also "playing loose with the USB specification.)  The spec says 500mA max, period.  (actually, I don't know if the spec allows for a charger-only "host" at all (ie with nothing connected on the data lines.))
I would argue that when you are supplying power from a dedicated adapter and have no data you are not really using USB, you are just using a power cable with USB connectors on it. Those devices that might draw 2 A from a dedicated charger will limit themselves to 500 mA when connected to a real computer or USB hub. They comply with the standard when connected to standard conforming devices.
 

Offline NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9008
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: Two DealExtreme USB power adapters fail to charge MP3 player
« Reply #12 on: October 17, 2011, 01:11:38 am »
The data lines are just connected to each other to identify a "standard" USB charger. (Apple, however, uses resistive voltage dividers.) 2A or so appears to be the actual current rating of a standard USB connector since that's the highest I've seen in common use. I'm not sure why they decided to pick 500mA for 1.1 and 2.0. They bumped it up to 900mA for 3.0, which really is too little.
http://www.maxim-ic.com/app-notes/index.mvp/id/4803

It's also possible to use several ports to get enough current, but it's apparently too weird to be accepted by mobile device manufacturers.
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4199
  • Country: us
Re: Two DealExtreme USB power adapters fail to charge MP3 player
« Reply #13 on: October 17, 2011, 07:39:03 am »
Quote
too little.
How thick did you want your cables to be?
http://genuinedealz.com/voltage-drop.html  (0.5V drop over 10ft of 24g wire; pretty significant.   I see advertisements for 20g USB cables, but I wouldn't want to use them everywhere, and...  The USB folk took all sorts of this stuff into consideration; you're not supposed to need "special" USB cables for different devices.  Any official spec USB cable should work with any device.  (Of course, there are lots of non-spec cables out there these days too.)  (Your mouse is allowed to have a tiny, flexible cable because it's permanently connected.)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf