IKE007
Posts: 7
Joined: Thu Feb 06, 2020 9:53 am

Fitting a fan without using GPIO?

Thu Feb 06, 2020 10:12 am

Sorry if this is a dumb question - I have briefly searched the forum and can't find any references.
Anyway, I'm fitting my Pi4 into a case that comes with a standard fan (5V). I do not want to power it via the GPIO as I need to have all 40 pins connected through the ribbon cable to an extension board into a breadboard, for other project activities. So far, everything I read says to use a couple of the GPIO pins, but I can't, as described above. Can I use any of those 4 pins at J14 PoE, behind the Ethernet port? Any other suggestions.
Thanks

duckredbeard
Posts: 83
Joined: Mon Apr 29, 2019 1:53 am

Re: Fitting a fan without using GPIO?

Thu Feb 06, 2020 1:24 pm

Hack an old phone charger if the fan only needs 5V. Fan always on. Or have the Pi control a relay that enables the fan under certain conditions.
You can't know your limits until you exceed them.

ElEscalador
Posts: 839
Joined: Tue Dec 15, 2015 4:55 pm
Location: Detroit, MI USA
Contact: Website

Re: Fitting a fan without using GPIO?

Thu Feb 06, 2020 1:32 pm

It's a petty pet peeve of mine that we can't get a couple of pins for a fan without interrupting access to the entire header. The choices are to splice into your ribbon cable, find a place on the board to solder to, or power via USB - you can get little US breakouts with screw terminals.
Robotics tips, hacks, book extras https://youtube.com/practicalrobotics

User avatar
rpiMike
Posts: 1340
Joined: Fri Aug 10, 2012 12:38 pm
Location: Cumbria, UK

Re: Fitting a fan without using GPIO?

Thu Feb 06, 2020 1:35 pm

Google: GPIO splitter

Might be an option.

sirozha
Posts: 101
Joined: Sat Dec 28, 2019 2:44 am

Re: Fitting a fan without using GPIO?

Thu Feb 06, 2020 2:09 pm

Spend $25 on an Argon One case. It has a fan and also provides access to all 40 GPIO pins under a magnetic cover. There are two versions of the case: for Raspberry Pi 3 and 4. The case also has a power button and uses an easily installed script to be able to completely power down the Raspberry Pi by regular OS tools or by pressing and holding the power button for 3 seconds. It also allows you to force-shut the Raspberry Pi by holding the power button for over 5 seconds, to adjust the temperature when the fan kicks in, etc. You can also restart the Raspberry Pi by regular OS tools when the script is installed. No more fiddling with plugging/unplugging the power supply.

I’ve been using this case with the Raspberry Pi 4B for over a month now. It’s simply perfect.
Last edited by sirozha on Thu Feb 06, 2020 2:26 pm, edited 1 time in total.

hippy
Posts: 7459
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

Re: Fitting a fan without using GPIO?

Thu Feb 06, 2020 2:17 pm

IKE007 wrote:
Thu Feb 06, 2020 10:12 am
Can I use any of those 4 pins at J14 PoE, behind the Ethernet port?
No.

W. H. Heydt
Posts: 12431
Joined: Fri Mar 09, 2012 7:36 pm
Location: Vallejo, CA (US)

Re: Fitting a fan without using GPIO?

Thu Feb 06, 2020 3:59 pm

ElEscalador wrote:
Thu Feb 06, 2020 1:32 pm
It's a petty pet peeve of mine that we can't get a couple of pins for a fan without interrupting access to the entire header. The choices are to splice into your ribbon cable, find a place on the board to solder to, or power via USB - you can get little US breakouts with screw terminals.
That's why I suggested that--given the existing thermal problems--future Pis get a fan header. Not going to happen on the Pi4B (if only because of the very tight trace routing), but it *might* happen on a future board.

IKE007
Posts: 7
Joined: Thu Feb 06, 2020 9:53 am

Re: Fitting a fan without using GPIO?

Thu Feb 06, 2020 4:26 pm

duckredbeard wrote:
Thu Feb 06, 2020 1:24 pm
Hack an old phone charger if the fan only needs 5V. Fan always on. Or have the Pi control a relay that enables the fan under certain conditions.
A good idea but, in my mind, that goes against the "keeping it simple" concept. Thanks for the idea though.
Cheers

IKE007
Posts: 7
Joined: Thu Feb 06, 2020 9:53 am

Re: Fitting a fan without using GPIO?

Thu Feb 06, 2020 4:29 pm

ElEscalador wrote:
Thu Feb 06, 2020 1:32 pm
It's a petty pet peeve of mine that we can't get a couple of pins for a fan without interrupting access to the entire header. The choices are to splice into your ribbon cable, find a place on the board to solder to, or power via USB - you can get little US breakouts with screw terminals.
I agree, I'm disappointed that we have to think up options though. In my opinion, especially with the Pi4, the designers have missed a trick here. Thanks for your suggestions though.
Cheers.

IKE007
Posts: 7
Joined: Thu Feb 06, 2020 9:53 am

Re: Fitting a fan without using GPIO?

Thu Feb 06, 2020 4:33 pm

rpiMike wrote:
Thu Feb 06, 2020 1:35 pm
Google: GPIO splitter

Might be an option.
Thanks for the suggestion. I had planned to put everything in the case, which has the fan built in to the top/lid, but there's no room for the splitter inside the case. Just seems a shame that this was not thought of for the Pi4.
Cheers.

IKE007
Posts: 7
Joined: Thu Feb 06, 2020 9:53 am

Re: Fitting a fan without using GPIO?

Thu Feb 06, 2020 4:37 pm

sirozha wrote:
Thu Feb 06, 2020 2:09 pm
Spend $25 on an Argon One case. It has a fan and also provides access to all 40 GPIO pins under a magnetic cover. There are two versions of the case: for Raspberry Pi 3 and 4. The case also has a power button and uses an easily installed script to be able to completely power down the Raspberry Pi by regular OS tools or by pressing and holding the power button for 3 seconds. It also allows you to force-shut the Raspberry Pi by holding the power button for over 5 seconds, to adjust the temperature when the fan kicks in, etc. You can also restart the Raspberry Pi by regular OS tools when the script is installed. No more fiddling with plugging/unplugging the power supply.

I’ve been using this case with the Raspberry Pi 4B for over a month now. It’s simply perfect.
Thanks for the suggestion. My case (with the fan built-in) has the 40 pin cable permanently plugged in and fed into the breadboard, via a Pi Extension board. My power supply is switchable too. Just seems that the designers missed an option for a simple feed to a fan?
Cheers

IKE007
Posts: 7
Joined: Thu Feb 06, 2020 9:53 am

Re: Fitting a fan without using GPIO?

Thu Feb 06, 2020 4:42 pm

hippy wrote:
Thu Feb 06, 2020 2:17 pm
IKE007 wrote:
Thu Feb 06, 2020 10:12 am
Can I use any of those 4 pins at J14 PoE, behind the Ethernet port?
No.
Thanks for your reply. A simple answer. However, it now poses another question in my mind: Why not? Are these input or output jumpers? I'm tempted to put a tester on them - unless there is an official schematic for the Pi4?
Cheers.

User avatar
PeterO
Posts: 5829
Joined: Sun Jul 22, 2012 4:14 pm

Re: Fitting a fan without using GPIO?

Thu Feb 06, 2020 4:45 pm

You could get a Pimoroni fan-shim and use your case fan instead of the built in one.
https://shop.pimoroni.com/products/fan-shim
PeterO
Discoverer of the PI2 XENON DEATH FLASH!
Interests: C,Python,PIC,Electronics,Ham Radio (G0DZB),1960s British Computers.
"The primary requirement (as we've always seen in your examples) is that the code is readable. " Dougie Lawson

IKE007
Posts: 7
Joined: Thu Feb 06, 2020 9:53 am

Re: Fitting a fan without using GPIO?

Thu Feb 06, 2020 4:51 pm

IKE007 wrote:
Thu Feb 06, 2020 4:42 pm
hippy wrote:
Thu Feb 06, 2020 2:17 pm
IKE007 wrote:
Thu Feb 06, 2020 10:12 am
Can I use any of those 4 pins at J14 PoE, behind the Ethernet port?
No.
Thanks for your reply. A simple answer. However, it now poses another question in my mind: Why not? Are these input or output jumpers? I'm tempted to put a tester on them - unless there is an official schematic for the Pi4?
Cheers.
Aha! Just found a schematic. TR0/1/2/3 TAPs for PoE. Ah well, every day's a school day.

scotty101
Posts: 3958
Joined: Fri Jun 08, 2012 6:03 pm

Re: Fitting a fan without using GPIO?

Thu Feb 06, 2020 5:04 pm

IKE007 wrote:
Thu Feb 06, 2020 4:42 pm
hippy wrote:
Thu Feb 06, 2020 2:17 pm
IKE007 wrote:
Thu Feb 06, 2020 10:12 am
Can I use any of those 4 pins at J14 PoE, behind the Ethernet port?
No.
Thanks for your reply. A simple answer. However, it now poses another question in my mind: Why not? Are these input or output jumpers? I'm tempted to put a tester on them - unless there is an official schematic for the Pi4?
Cheers.
The 4 pins are connected to the ethernet port and are designed to draw power from the ethernet cable that is then passed to the PoE hat before being stepped down to 5V which then supplies the Pi via the GPIO ports. There will be no voltage on those pins unless you are connected via ethernet cable to a PoE switch.
They are shown on the schematic as TR<1-4>_TAP
Electronic and Computer Engineer
Pi Interests: Home Automation, IOT, Python and Tkinter

User avatar
Imperf3kt
Posts: 3577
Joined: Tue Jun 20, 2017 12:16 am
Location: Australia

Re: Fitting a fan without using GPIO?

Thu Feb 06, 2020 8:54 pm

Why not do the obvious?
connect your ribbon cable to your breadboard, and power your fan... from your breadboard.
55:55:44:44:4C
52:4C:52:42:41

LTolledo
Posts: 3321
Joined: Sat Mar 17, 2018 7:29 am
Location: Anime Heartland

Re: Fitting a fan without using GPIO?

Thu Feb 06, 2020 9:02 pm

this is how I did it on my RPi3B+
RPi3B+FanPower.jpg
RPi3B+FanPower.jpg (195.21 KiB) Viewed 589 times

been doing like this on all RPi Model B boards that I have
like the RPi4B-4G below
RPi4B-4G_Armorcase.jpg
RPi4B-4G_Armorcase.jpg (195.05 KiB) Viewed 589 times
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

LTolledo
Posts: 3321
Joined: Sat Mar 17, 2018 7:29 am
Location: Anime Heartland

Re: Fitting a fan without using GPIO?

Thu Feb 06, 2020 9:06 pm

my breadboard pi with fan power
BreadBoardPi_view2.jpg
BreadBoardPi_view2.jpg (195.86 KiB) Viewed 582 times
"Don't come to me with 'issues' for I don't know how to deal with those
Come to me with 'problems' and I'll help you find solutions"

Some people be like:
"Help me! Am drowning! But dont you dare touch me nor come near me!"

boyoh
Posts: 1468
Joined: Fri Nov 23, 2012 3:30 pm
Location: Selby. North Yorkshire .UK

Re: Fitting a fan without using GPIO?

Thu Feb 06, 2020 9:32 pm

You could fit the Fan in the Pi box , and having it temperature controlled just using the
3.3v rail and 5volt for the fan , Using a NTC Thermistor switching a transistor to
switch the fan on and off , The thermistor is Temperature controlled resistor
If you do use a Thermistor use a preset in series for setting

Regards BoyOh
BoyOh ( Selby, North Yorkshire.UK)
Some Times Right Some Times Wrong

User avatar
neilgl
Posts: 2111
Joined: Sun Jan 26, 2014 8:36 pm
Location: Near Aston Martin factory

Re: Fitting a fan without using GPIO?

Thu Feb 06, 2020 11:52 pm

Good layout.
No one needs a fan?

boyoh
Posts: 1468
Joined: Fri Nov 23, 2012 3:30 pm
Location: Selby. North Yorkshire .UK

Re: Fitting a fan without using GPIO?

Fri Feb 07, 2020 11:55 am

Pi Board.jpg
Pi Board.jpg (60.13 KiB) Viewed 485 times

You could use this board for building your projects on , I fitted 4 slotted Opto Isolators for voltage leveling
and projects control .All built on Vero Board .Good project for learner

Regards BoyOh
BoyOh ( Selby, North Yorkshire.UK)
Some Times Right Some Times Wrong

Return to “Beginners”