this post was submitted on 03 Jul 2023
18 points (100.0% liked)

Ask Electronics

3173 readers
1 users here now

For questions about component-level electronic circuits, tools and equipment.

Rules

1: Be nice.

2: Be on-topic (eg: Electronic, not electrical).

3: No commercial stuff, buying, selling or valuations.

4: Be safe.


founded 1 year ago
MODERATORS
 

If I wanted to make a USB desk fan from a spare CPU fan (input: 12V, 0.15A), could I just solder a resistor to the positive lead of the USB wire? I plan on getting an adjustable voltage booster, but I was curious if this was possible. I think I would need a 13 ohm resistor for USB 3.0.

top 8 comments
sorted by: hot top controversial new old
[–] [email protected] 10 points 1 year ago* (last edited 1 year ago) (2 children)

So, the USB power spec is a little weird.

Officially, all unnegotiated power devices must operate in low power mode (5v 150mA) unless they talk to the host controller. Unofficially, depending on which docs you read and from some experimentation I've done, most devices can usually do 5v 500mA right off the power rail before the host controller will complain and shut it off.

Now, to get a voltage other than 5v to run your 12v fan, you either need a block that is quickcharge2 compliant, which is a Qualcomm standard of 5v, 9v or 12v for class A; or USB Power Delivery, which allows voltages of 5v, 9v, 15v, and 20v.

The issue with both of these is that they require smart negotiation. A chip in your device has to talk to the host controller and tell it what it can support. So it's not as simple as simply adding a resistor. If you do some googling, there are existing breakout boards for messing with USBPD from companies like Adafruit that could be worth playing with. You'd need a 1-watt resistor of 20ohms to drop your 15v supply down to 12v at 150mA current though.

The better option that you already mentioned would be to use a boost converter to turn 5v into 12v. Per ohm's law P=VxI, 150mA at 12v would need about 360mA at 5v, more like 400-450 after converter inefficiency. Which basic USB can provide (500mA max)

[–] Devils69Advocate 1 points 1 year ago

Ah ok. So not as simple as I imagined it to be. I'll stick with the boost converter. haha

[–] [email protected] 1 points 1 year ago (1 children)

12v is not mandatory in the latest PD standard but it is still allowed and many PSUs implement it. I got a few inexpensive USB C connectors wich negotiate 12V out of compatible blocks specifically to convert to PD 12v devices like my shaver.

[–] [email protected] 1 points 1 year ago (1 children)

I try to shy away from recommending anything that's not explicitly called out in a standard for that reason... quite a lot of chargers or PC motherboards do support both QC and USB-PD, but many also don't, and you'll always land on the wrong side of Murphy's Law trying to rely on manufacturers supporting both.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago)

That's not what I was saying, PD included 12v up to 2.0 (I am going from memory) so it's not multi standard support but retrocompatibility from modern PD to the older version

Edit: I checked and the requirement was removed from rev 1 to rev 2 so now it's optional

[–] [email protected] 3 points 1 year ago (1 children)

usually fans have a min start voltage. u can try if your fan starts at 5v and if the resulting RPM is ok for you, just solder it without any resistor on USB

[–] Devils69Advocate 1 points 1 year ago (1 children)

I actually tried that and it moved a little, then stopped.

[–] [email protected] 1 points 1 year ago

ah well, then it doesn't work proper with 5v unfortunately

load more comments
view more: next ›