[tech] USB (wiring?) problems

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Post Reply
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

[tech] USB (wiring?) problems

Post by inflater »

Hi,
just tried to power up a little 12V cpu fan using a USB cable. I've soldered the right wires (black and red) to the fan and turned on the PC. The fan worked 50 seconds, and the PC began to make a high-pitched short squeals from the PC beeper that looped infinitely. I've saw all keyboard LEDs blink (like when bios initializes the keyboard). Keyboard with mouse weren't responding, the only thing I could do was reset the PC. When the PC rebooted, BIOS couldn't find the keyboard so I switched the PC off for a while and then everything was fine. I was using the old testbed to test my fan gizmo thing.

Where could be the error? I have read that USB can deliver max. 5 volts and the current drained should be no more than 500 mA. As long I don't have the ampermeter handy, where could be the possible error? Short circuit? Overload?

Thanks for your response.
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

USB decorations like that are completely against the standard... such USB lights... mug warmers, etc.

I wouldn't mess with that... but perhaps it wasn't properly grounded, perhaps you accidentally put current on one of the data pins.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
inflater
Member
Member
Posts: 1309
Joined: Thu Sep 28, 2006 10:32 am
Location: Slovakia
Contact:

Post by inflater »

I've tried to follow Wikipedia's article on the USB wiring - but maybe you're right. Well, I'll try to use a 12V switchable mains adaptor instead of a USB cable. :)
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English :P)
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post by AJ »

Hi,

IIRC, USB devices prior to enumeration can only draw 100mA. After enumeration, a high powered device can draw 500mA, as you say (I think some laptops do not provide this and you may also be in trouble if you have multiple devices with an unpowered hub). I think that for a project like yours, an ammeter is absolutely essential (and they are pretty cheap too).

A 120mm fan may draw around 150-250mA, but I assume a cpu fan (40mm?) would draw a lot less, but I still think you need to get siome proper measurements.

Cheers,
Adam
Post Reply