Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.


johno1234

2823 posts

Uber Geek


#309299 6-Oct-2023 13:28
Send private message

Hi all, the fan on the pi (3b) is a bit loud and I have read that putting it on a 3.3V pin runs it slower and more quietly for a little less cooling. However this fan's connector is a two pin block not two single pin blocks, so can't span the diagonal between the 3.3V power pin and a GND pin. I've also read that a GPIO pin can power the fan and there are a couple of those that are opposite a GND pin. So plugged in the fan on one of those (Pin 3) and used a little python script to switch the pin on. 

 

However the fan doesn't spin. It seems to only work with 5V. 

 

Anyone else tried this?

 

 


View this topic in a long page with up to 500 replies per page Create new topic
 1 | 2
MikeAqua
7785 posts

Uber Geek


  #3143605 6-Oct-2023 13:45
Send private message

Test the fan on two AA batteries (3V)?

 

That would tell you if the voltage is the issue or the script.  If it won't work on 3V it probably won't work on 3.3V





Mike




johno1234

2823 posts

Uber Geek


  #3143606 6-Oct-2023 13:51
Send private message

There's something off about the whole thing. If I measure the voltage across the two pins (GPIO3 and GND) it is always 3.3V regardless of whether my script thinks it is and has been set to!

 

[correction] I was using the BOARD pin numbers not the BCM numbers. 

 

Either the fan won't run on 3.3V or the pin doesn't put out enough current to get it started.

 

 

 

 


frankv
5681 posts

Uber Geek

Lifetime subscriber

  #3143641 6-Oct-2023 15:33
Send private message

I'd be surprised if a GPIO pin could provide enough current to run the fan. And it may fry the GPIO if you pull too much current through it.

 

https://forums.raspberrypi.com

 

I'd try first from a 3.3V supply rail, and if that works, measure the current going through it. But the above suggests something between 40 and 50mA for a fan.

 

 

A maximum of 16mA per pin with the total current from all pins not exceeding 50mA[sic] (Source 4)

 

 

I think the above applies to your model 3b, but haven't checked.

 

If you really really wanted to do this, try hooking up (say) 8 GPIOs in parallel to drive the fan, and (obviously) switch them all at once. [Edit] But if you do this, you can't drive any other GPIO outputs.

 

But really, get a transistor, or a fan with a built-in transistor (3 pins).

 

 




Tinkerisk
4235 posts

Uber Geek


  #3143686 6-Oct-2023 18:33
Send private message

johno1234:

 

Anyone else tried this?

 

 

Yes, I used a 15x15mm fan whose characteristic curve at 3.3V still allowed it to start up. However, not at all directly at the GPIO pin, but a transistor that switched the Vcc. A GPIO pin does not supply the necessary current.

 

 

 

edit: or follow this small project https://github.com/JeremySCook/RaspberryPi-Fan-Control

 

 





- NET: FTTH, OPNsense, 10G backbone, GWN APs, ipPBX
- SRV: 12 RU HA server cluster, 0.1 PB storage on premise
- IoT:   thread, zigbee, tasmota, BidCoS, LoRa, WX suite, IR
- 3D:    two 3D printers, 3D scanner, CNC router, laser cutter


johno1234

2823 posts

Uber Geek


  #3143698 6-Oct-2023 19:33
Send private message

Thanks all. It did seem a poor idea to use a gpio. Just goes to show you must treat anything found on the Internet with a little care.

The fan would probably run fine off the 3.3v pin if the connector would fit.

SCUBADOO
192 posts

Master Geek


  #3143835 7-Oct-2023 00:03
Send private message

Slightly related.

 

I have a couple of small 300 PSW inverters cooled by 5V fans that were a little noisy in the dead of night.

 

Adding a 2c 1N4007 diode in series dropped the voltages by c0.7V making it a lot more bearable.. 2 diodes in series was even quieter but I preferred at bit more airflow through the lightly loaded inverter.

 

 


  #3143837 7-Oct-2023 00:19
Send private message

Yeah, a diode or suitable resistor (depends on the fan current) in series with the fan is a better way to reduce power. It also removes the load from whatever is supplying the 3.3V - probably an LDO, not a proper buck converter.


 
 
 

Move to New Zealand's best fibre broadband service (affiliate link). Free setup code: R587125ERQ6VE. Note that to use Quic Broadband you must be comfortable with configuring your own router.
Wombat1
586 posts

Ultimate Geek
Inactive user


  #3143838 7-Oct-2023 01:19
Send private message

Most of the fans are noisy, does yours have 3 wires or 2? If it has 3 you can use the blue wire to set it up to only come on when required in the Raspberry Pi Configuration tool. I did this and now it only seems to startup when I am using it, otherwise its turned off most of the time.

 

https://www.raspberrypi.com/products/raspberry-pi-4-case-fan/

 

 


toejam316
1466 posts

Uber Geek

Trusted
Lifetime subscriber

  #3143844 7-Oct-2023 07:15
Send private message

Just a thought regarding fan noise, if space isn't an issue, bigger fans at lower RPMs tend to be quieter with equivalent airflow. Unsure if it would be practical for your application, 





Anything I say is the ramblings of an ill informed, opinionated so-and-so, and not representative of any of my past, present or future employers, and is also probably best disregarded.


timmmay
20591 posts

Uber Geek

Trusted
Lifetime subscriber

  #3143854 7-Oct-2023 08:03
Send private message

The best way to deal with fan noise is to move the fan away from you. Alternately, I have this Argon One m.2 case, which has a built in fan. It comes with a script that turns the fan on over a specific temperature. I also have the Pi up in a wardrobe away from where anyone will hear it. It sits on about 40 - 45 degrees, but there's quite a few things in that cupboard making it warm - router, fiber thingy, switch, DC UPS, etc.


johno1234

2823 posts

Uber Geek


  #3143865 7-Oct-2023 08:48
Send private message

Wombat1:

Most of the fans are noisy, does yours have 3 wires or 2? If it has 3 you can use the blue wire to set it up to only come on when required in the Raspberry Pi Configuration tool. I did this and now it only seems to startup when I am using it, otherwise its turned off most of the time.


https://www.raspberrypi.com/products/raspberry-pi-4-case-fan/


 


Unfortunately just the simple 2 wire one.

johno1234

2823 posts

Uber Geek


  #3143867 7-Oct-2023 08:51
Send private message

timmmay:

The best way to deal with fan noise is to move the fan away from you. Alternately, I have this Argon One m.2 case, which has a built in fan. It comes with a script that turns the fan on over a specific temperature. I also have the Pi up in a wardrobe away from where anyone will hear it. It sits on about 40 - 45 degrees, but there's quite a few things in that cupboard making it warm - router, fiber thingy, switch, DC UPS, etc.


Yeah once I’m done fiddling with it it can go sit in a cupboard with the router then I won’t care about the noisy fan.

  #3143876 7-Oct-2023 09:26
Send private message

You can adjust the temperature at which the fan starts and stops. I adjusted mine by a couple of a few degrees to stop it coming on as often.

Wombat1
586 posts

Ultimate Geek
Inactive user


  #3143878 7-Oct-2023 09:41
Send private message

johno1234:
Wombat1:

 

Most of the fans are noisy, does yours have 3 wires or 2? If it has 3 you can use the blue wire to set it up to only come on when required in the Raspberry Pi Configuration tool. I did this and now it only seems to startup when I am using it, otherwise its turned off most of the time.

 

 

 

https://www.raspberrypi.com/products/raspberry-pi-4-case-fan/

 

 

 

 

 


Unfortunately just the simple 2 wire one.

 

 

 

You can buy the 3 wire fans off aliexpress for a couple of bucks, but saying that I have one of those passive cooling fanless cases for one of my Pi4's and it cools better than a fan to be honest.

 

 

 

 


  #3143927 7-Oct-2023 12:41
Send private message

Three wire fans are usually pos/neg/tach - the tachometer wire allows the fan to tell the system how fast the fan is spinning so you can monitor for fan failure, but doesn't usually let the system control the fan.

 

You would need a four wire fan which adds a PWM signal. 


 1 | 2
View this topic in a long page with up to 500 replies per page Create new topic





News and reviews »

Gen Threat Report Reveals Rise in Crypto, Sextortion and Tech Support Scams
Posted 7-Aug-2025 13:09


Logitech G and McLaren Racing Sign New, Expanded Multi-Year Partnership
Posted 7-Aug-2025 13:00


A Third of New Zealanders Fall for Online Scams Says Trend Micro
Posted 7-Aug-2025 12:43


OPPO Releases Its Most Stylish and Compact Smartwatch Yet, the Watch X2 Mini.
Posted 7-Aug-2025 12:37


Epson Launches New High-End EH-LS9000B Home Theatre Laser Projector
Posted 7-Aug-2025 12:34


Air New Zealand Starts AI adoption with OpenAI
Posted 24-Jul-2025 16:00


eero Pro 7 Review
Posted 23-Jul-2025 12:07


BeeStation Plus Review
Posted 21-Jul-2025 14:21


eero Unveils New Wi-Fi 7 Products in New Zealand
Posted 21-Jul-2025 00:01


WiZ Introduces HDMI Sync Box and other Light Devices
Posted 20-Jul-2025 17:32


RedShield Enhances DDoS and Bot Attack Protection
Posted 20-Jul-2025 17:26


Seagate Ships 30TB Drives
Posted 17-Jul-2025 11:24


Oclean AirPump A10 Water Flosser Review
Posted 13-Jul-2025 11:05


Samsung Galaxy Z Fold7: Raising the Bar for Smartphones
Posted 10-Jul-2025 02:01


Samsung Galaxy Z Flip7 Brings New Edge-To-Edge FlexWindow
Posted 10-Jul-2025 02:01









Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.