# Help with the ARGON fan hat

**URL:** <https://forum.core-electronics.com.au/t/help-with-the-argon-fan-hat/19866>\
**Category:** Raspberry Pi\
**Created:** [5 May 2024 09:28 UTC](https://forum.core-electronics.com.au/t/help-with-the-argon-fan-hat/19866 "2024-05-05T09:28:30Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andrew41918](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@Andrew41918](https://forum.core-electronics.com.au/u/Andrew41918)\
**Post date:** [5 May 2024 09:28 UTC](https://forum.core-electronics.com.au/t/help-with-the-argon-fan-hat/19866/1 "2024-05-05T09:28:30Z")

</div>

This one:

> **[Argon Fan HAT](https://core-electronics.com.au/argon-fan-hat.html)**
>
> This fan HAT is perfect for keeping your Raspberry Pi 4 cool.

Story:  
I have it on a Pie… Sitting there turning on/off as needed keeping _cool_.

I had about 19 weeks uptime clocked on it.

Got home, the Pi was _dead_.

Reading the docs for the device, pressing the button for about 5 seconds will _reboot_ it - if it has been shutdown via this device.

Leaned in, pressed the button for about 5 seconds.  
The fan spun up so all good.  
(It’s headless BTW)

Waited, waited and WAITED for it to be back online.  
NOTHING!

Pressed the button again for 5 seconds and waited for it to _shut down_.  
Pulled the plug, plugged it back in and it whirred back to life.

Shortly after it had booted.

Hmmmmm…

Something’s going on.

Now, let’s work out what happened - yes?

I hear this can shut the pie down if it overheats - which **MAY** have happened.  
I **DON’T KNOW** ☹  
(Sorry, I **JUST** don’t know.)

I have a program that checks the health of the pi - voltage, throttle, temperature, etc.  
Anything from them and it is logged.

Nothing in the logs.

Hmmmmmm…

Ok, I found a _bug_ in my bit of code that if it detects overheating and it persists for … a while, it shuts down the pi.  
But the shutdown command was too quick and that it had been shutdown for that reason would be lots.

But that is if **MY** code detects an overheat.  
(Luckily the condition is broadcast and other machines would know. They too didn’t get any such message.)

So I’m stuck to what **EXACTLY** happened.

Alas it has now been up for 21 hours.  
Any logs would be long gone.

Any suggestions to understanding better how this device shuts down the machine if it overheats?  
If it uses the same (or even different) command I use.  
Both commands would (you would expect) they BOTH say it is overheating with the same thresholds.  
And so although it (the _hat_ detected the overheating - why didn’t my bit of code also?)  
(semi rhetorical)

Thanks.

---

<div class="post-metadata">

**Author:** ![Michael](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/michael/32/3545_2.png) [@Michael](https://forum.core-electronics.com.au/u/Michael)\
**Post date:** [8 May 2024 01:14 UTC](https://forum.core-electronics.com.au/t/help-with-the-argon-fan-hat/19866/2 "2024-05-08T01:14:47Z")

</div>

Hi @Andrew41918

What gives you the impression that the Pi shutdown due to an overheat? Is it doing any particularly heavy-lifting? What kind of work is it doing?

Could it be that the button was just bumped to cause a shutdown?

I couldn’t find any mention in the [guide](https://core-electronics.com.au/attachments/uploads/Argon_Fan_Hat.pdf) that the HAT has a thermal-shutdown utility. Is that documented somewhere?

---

<div class="post-metadata">

**Author:** ![Andrew41918](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@Andrew41918](https://forum.core-electronics.com.au/u/Andrew41918)\
**Post date:** [8 May 2024 04:06 UTC](https://forum.core-electronics.com.au/t/help-with-the-argon-fan-hat/19866/3 "2024-05-08T04:06:25Z")

</div>

Hey Michael.

Story:  
The Pi needs cooling.  
But a fan on all the time didn’t seem a good idea.

I got this _hat_ to get around that problem.  
The bonus was I could reboot/shutdown the machine if needed.  
(It is headless.)  
When it locks up it is not a good idea to just pull out the power.

So:  
A fair while ago it shut down - reasons unknown.  
I stupidly forgot about how to use the `TURN ON` option offered by the button.  
Holding it down for \> 3 seconds.

I got home and my _system_ was upset and the _main_ machine wasn’t talking to them.  
Couldn’t PING it, couldn’t SSH to it.

Before unplugging the power I remembered if I hold the button down for \> 3 seconds, it will turn on again.

You may need to help me with exactly what happens and all the finer details.  
What is _Soft shutdown_?

Anyway, I pressed it, the fan came on and it was _working_ again.

I waited, waited and WAITED… Still couldn’t see it. Ping, SSH, all dead. ☹  
Now, forgetting if I double press the button it forces a reboot, I unplugged the power and it was soon back up and working.

So somehow it was in that state.

The button couldn’t have been _bumped_ as no one was at home.

So I am trying to work out what is going on.

Another backstory:  
Even further back I had one of these hats - on this machine - and one day the fan _stalled_ and wouldn’t run.

As I was out, the Pi overheated. Or more so: went into thermal limiting mode.

This was kind of good as it showed me a problem in the program I wrote to also monitor the health of the machine.

That part fixed and a new _hat_ sent to me I put the new one on.

All should be good.

This is the first time I know of where the fan hasn’t turned on when commanded.

I’m wanting to try and work out what happened.

Alas being a HEADLESS machine it isn’t quite as easy as turning on the monitor.  
And it is not possible to connect one to it where it is.

Thoughts?

---

<div class="post-metadata">

**Author:** ![Jeff105671](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/jeff105671/32/3729_2.png) [@Jeff105671](https://forum.core-electronics.com.au/u/Jeff105671)\
**Post date:** [8 May 2024 05:23 UTC](https://forum.core-electronics.com.au/t/help-with-the-argon-fan-hat/19866/4 "2024-05-08T05:23:11Z")

</div>

> [@Andrew41918](#):
>
> Couldn’t PING it, couldn’t SSH to it.

The most likely reason for that is a failure in the software that caused the connection to be lost. Is your monitoring reporting the state of the connection? You have stated that the system was upset, but what did you do to confirm the actual state of the machine? Based on the description of how it shut down and restarted I would suspect that it was simply hung up on some software loop, or perhaps it was trying to report an error. Without knowing the actual setup it’s just a guess. But diagnosis is usually most effective when you start from the most likely scenario and only move onto the more complicated explanations when you have ruled out the simplest ones.

---

<div class="post-metadata">

**Author:** ![Samuel](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/samuel/32/11763_2.png) [@Samuel](https://forum.core-electronics.com.au/u/Samuel)\
**Post date:** [8 May 2024 05:32 UTC](https://forum.core-electronics.com.au/t/help-with-the-argon-fan-hat/19866/5 "2024-05-08T05:32:51Z")

</div>

Hey Andrew,

Looks like you have a bit of troubleshooting to do here to get to the bottom of this.

A soft shutdown refers to shutting down the OS before powering off the hardware. For comparison a hard shutdown would be shutting off the power at the wall when the Pi is running which is normally not recommended.

In this case your HAT is triggering a soft shutdown through the GPIO pins.

I second what Jeff has said. Moving back through the likely cause and checking your software for any issues would probably be the best way forward.

---

<div class="post-metadata">

**Author:** ![Andrew41918](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@Andrew41918](https://forum.core-electronics.com.au/u/Andrew41918)\
**Post date:** [8 May 2024 05:35 UTC](https://forum.core-electronics.com.au/t/help-with-the-argon-fan-hat/19866/6 "2024-05-08T05:35:52Z")

</div>

Yes, I agree. (I have a LOT of trouble shooting to do)

So saying the hat triggered a soft shutdown…

Why?

What kinds of things can happen that cause the hat to do a soft shutdown?

Overheating is one - I’m guessing.  
But are there any others?

And I shall say I did goof.

I should have quickly pressed the button, not LONG pressed it.

---

<div class="post-metadata">

**Author:** ![Jack](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/jack/32/9287_2.png) [@Jack](https://forum.core-electronics.com.au/u/Jack)\
**Post date:** [9 May 2024 02:20 UTC](https://forum.core-electronics.com.au/t/help-with-the-argon-fan-hat/19866/7 "2024-05-09T02:20:31Z")

</div>

Hi Andrew,

If you remove the fan HAT what does the Pi do? Is there any pattern to the Pi’s ACT LED?

---

<div class="post-metadata">

**Author:** ![Andrew41918](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@Andrew41918](https://forum.core-electronics.com.au/u/Andrew41918)\
**Post date:** [9 May 2024 03:05 UTC](https://forum.core-electronics.com.au/t/help-with-the-argon-fan-hat/19866/8 "2024-05-09T03:05:07Z")

</div>

That is not easy.  
There is a RTC piggybacked on that and that machine is THE machine.

It has only happened… 3 times.  
2 with this hat.

And MONTHS apart.

The ACT LED… That’s the RED one - yeah?  
It is turned off to reduce power usage. (I know: petty, but… If it is on at night the room is too bright.)

I’m guessing if I removed it the temperature would go up to about… 50 degrees. (Based on another Pi with no fan that is running.)

As is the temperature is this sort of thing.

 ![Screenshot from 2024-05-09 13-03-56](https://canada1.discourse-cdn.com/flex028/uploads/core_electronics/original/2X/e/e6462e94d581a1eadbec4cdf8b803890b8db5d2b.png)

---

<div class="post-metadata">

**Author:** ![Jack](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/jack/32/9287_2.png) [@Jack](https://forum.core-electronics.com.au/u/Jack)\
**Post date:** [9 May 2024 03:23 UTC](https://forum.core-electronics.com.au/t/help-with-the-argon-fan-hat/19866/9 "2024-05-09T03:23:47Z")

</div>

The ACT LED is the green one. The red LED signifies power. The green one will blink error messages.

Is it possible to get some pictures of your setup?

---

<div class="post-metadata">

**Author:** ![Andrew41918](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@Andrew41918](https://forum.core-electronics.com.au/u/Andrew41918)\
**Post date:** [9 May 2024 03:25 UTC](https://forum.core-electronics.com.au/t/help-with-the-argon-fan-hat/19866/10 "2024-05-09T03:25:03Z")

</div>

Oh, ok. Sorry.

Dunno.

The Pi is not really easily seen.  
It is headless and is _tucked away_ at the back of a … _Hi-fi rack_ of the 80’s.

---

<div class="post-metadata">

**Author:** ![Jack](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/jack/32/9287_2.png) [@Jack](https://forum.core-electronics.com.au/u/Jack)\
**Post date:** [9 May 2024 04:01 UTC](https://forum.core-electronics.com.au/t/help-with-the-argon-fan-hat/19866/11 "2024-05-09T04:01:04Z")

</div>

Hi Andrew,

If you are able to access the Pi you will get the most out of troubleshooting. The Pi may be blinking its error messages or there may be something noticeable on the board itself.

---

<div class="post-metadata">

**Author:** ![Andrew41918](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@Andrew41918](https://forum.core-electronics.com.au/u/Andrew41918)\
**Post date:** [10 May 2024 02:59 UTC](https://forum.core-electronics.com.au/t/help-with-the-argon-fan-hat/19866/12 "2024-05-10T02:59:07Z")

</div>

Maybe.

But going on the `MTBF`, it may be 19 weeks for it to happen again.

The Pi wouldn’t respond to `ping` or `ssh`. So what ever happened, it was in _soft shutdown_ mode.

Next time - hoping there won’t be - I will press the button on the hat quickly and hope the Pi comes back to life.

Unless you mean NOW.

But it has not been running `up 5 days, 15 hours, 15 minutes` at time of posting.

---

<div class="post-metadata">

**Author:** ![Jack](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/jack/32/9287_2.png) [@Jack](https://forum.core-electronics.com.au/u/Jack)\
**Post date:** [10 May 2024 06:13 UTC](https://forum.core-electronics.com.au/t/help-with-the-argon-fan-hat/19866/13 "2024-05-10T06:13:46Z")

</div>

Hi Andrew,

We’re not currently sure if the Pi still works, if you can remove it from the rack we can better assess it.

I very much agree with the hopefully there won’t be a next time sentiment but you would be doing yourself a favour by working towards a solution in this instance.

---

<div class="post-metadata">

**Author:** ![Andrew41918](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@Andrew41918](https://forum.core-electronics.com.au/u/Andrew41918)\
**Post date:** [10 May 2024 06:40 UTC](https://forum.core-electronics.com.au/t/help-with-the-argon-fan-hat/19866/14 "2024-05-10T06:40:22Z")

</div>

> [@Jack](#):
>
> We’re not currently sure if the Pi still works, if you can remove it from the rack we can better assess it.

Who is this _we_?

The Pi **IS** working.

It **WAS** working. I went out. I came home and for **REASONS UNKNOWN** it was shutdown.

But it responded to my mistakenly pressing the button for 4 seconds rather than _quickly_.  
I don’t know what that did, but it was still not talking to me.

I unplugged the power, plugged the power back in and **IT IS WORKING**  
And has been quite happily for 5 days 15 hours 15 minutes at time of my previous post.  
Before that it was working for more than 19 weeks.

My suspicion is the hat shut it down.

I am wanting to know ALL the reasons the hat could put the Pi into _standby_ mode.  
**SOFT SHUTDOWN MODE** is the term used.

# EDIT

T/W  
But it has not been running `up 5 days, 15 hours, 15 minutes` at time of posting.  
Should have been:  
**BUT IT HAS NOW BEEN RUNNING…**  
Post 8 is/was an ACTIVE screen shot of the pi running AFTER it had been rebooted (power cycled) from the stuck/hung condition.

---

<div class="post-metadata">

**Author:** ![Samuel](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/samuel/32/11763_2.png) [@Samuel](https://forum.core-electronics.com.au/u/Samuel)\
**Post date:** [13 May 2024 04:23 UTC](https://forum.core-electronics.com.au/t/help-with-the-argon-fan-hat/19866/16 "2024-05-13T04:23:10Z")

</div>

Hey Andrew,

unfortunately with these Raspberry Pi’s there is any number of reasons that this shutdown may have occurred. The most common causes are normally power supply / draw issues or overheating. Having said that the Pi can and will shut itself down if it thinks this is the best course of action to protect it self.

I am unaware of a full list of the conditions that can trigger this but as a general guide these are the most common reasons for an unexpected shutdown.

I would look out for Insufficient Power, Overheating, Corrupted SD Card, High Processor Usage, Software Bugs, Inappropriate Configuration of the Pi’s settings or Hardware Issues in that order.

Hope this helps!  
Sam

---

<div class="post-metadata">

**Author:** ![Robert93820](https://avatars.discourse-cdn.com/v4/letter/r/ac91a4/32.png) [@Robert93820](https://forum.core-electronics.com.au/u/Robert93820)\
**Post date:** [13 May 2024 06:42 UTC](https://forum.core-electronics.com.au/t/help-with-the-argon-fan-hat/19866/17 "2024-05-13T06:42:56Z")

</div>

Hi Andrew

> [@Andrew41918](#):
>
> Before that it was working for more than 19 weeks.

Wouldn’t that be some sort of a record for RPi ??? Seems like a large percentage of the problems on this Forum anyway are RPi based.

> [@Andrew41918](#):
>
> I am wanting to know ALL the reasons the hat could put the Pi into _standby_ mode.

I doubt the people who designed it would be able to answer that.

Welcome to the world of intermittent problems. Although 19 weeks is intermittent on steroids. Nobody publishes MTBF numbers these days especially for development / hobby type bits which I think is the category for RPi. So I think at 19 weeks you are probably not doing too bad.  
Cheers Bob

---

<div class="post-metadata">

**Author:** ![Andrew41918](https://avatars.discourse-cdn.com/v4/letter/a/a4c791/32.png) [@Andrew41918](https://forum.core-electronics.com.au/u/Andrew41918)\
**Post date:** [13 May 2024 22:02 UTC](https://forum.core-electronics.com.au/t/help-with-the-argon-fan-hat/19866/18 "2024-05-13T22:02:32Z")

</div>

I shall take a step back and explain the situation as I see it.

I have THREE machines that are on 24/7.

One has been up 32 weeks +  
Second one 14 weeks 4 days  
_This_ one now 1 week 2 days.

The second one and this one have this hat on.

When I first bought the hats the one on _this machine_ kept _stalling_ (ie: was stopped and wouldn’t start on command)

I swapped hats and the problem followed the hat.

The hat was replaced and I thought all would be good.

# As originally stated:

I was out, came home and _this machine_ had shut down.  
With the _knowledge_ of when it happened a few months ago, I didn’t just pull the power and plug it back in.  
I remembered the `button` on the hat.  
Alas - to my shame - I did a LONG PRESS, rather than a SHORT PRESS.

Suffice to say it didn’t power it back up.

## HOWEVER!

The machine came back to _life_ - as in: The fan started.

Now, I’m not sure if the machine has been shut down with `sudo shutdown` if that would happen or not.  
NO ONE IS PREPARED TO TELL ME - and alas looking at the hat’s home page: SFA information there also.

So a HUGE **UNANSWERED** question for me is: “Was the machine in _software shutdown_ mode or was it/had it shut down for other reasons?”

We’ll never know.

But I would like to ask for HELP on how the hat works from anyone who has more knowledge than me.

Power supply, SD card failure… Yeah, right.  
Been there, know the problems from those things.  
And believe me, for MONTHS - now a long time ago - there are symptoms.  
They have been addressed.

Faulty SD card. So why did it reboot and is working now?

---

<div class="post-metadata">

**Author:** ![Robert93820](https://avatars.discourse-cdn.com/v4/letter/r/ac91a4/32.png) [@Robert93820](https://forum.core-electronics.com.au/u/Robert93820)\
**Post date:** [14 May 2024 05:18 UTC](https://forum.core-electronics.com.au/t/help-with-the-argon-fan-hat/19866/19 "2024-05-14T05:18:47Z")

</div>

Hi Andrew  
That is frustration in capital letters.

> [@Andrew41918](#):
>
> Now, I’m not sure if the machine has been shut down with `sudo shutdown` if that would happen or not.  
> NO ONE IS PREPARED TO TELL ME

Maybe no one knows. The way I see it is that the favourite way to fix problems with RPi is to keep changing operating system, flash cards, software and anything else until you get a combination that works. Then when you upgrade your Pi start all over again. Backward compatibility does not seem too good. But if someone does happen to have any clues they should share.

> [@Andrew41918](#):
>
> and alas looking at the hat’s home page: SFA information there also.

I am not really surprised there. Too much of that going on.

Why for me RPi is on the to do list if and when I need it. Provided of course it has grown up and settled down.  
Cheers Bob

---

<div class="post-metadata">

**Author:** ![Politas](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/politas/32/3427_2.png) [@Politas](https://forum.core-electronics.com.au/u/Politas)\
**Post date:** [16 May 2024 20:37 UTC](https://forum.core-electronics.com.au/t/help-with-the-argon-fan-hat/19866/20 "2024-05-16T20:37:08Z")

</div>

I don’t have any suggestions for finding out what happened to your Pi, but I have a suggestion for the future - print out a small list of button functions, glue it onto a piece of cardboard, and attach it to or near the Pi, so you aren’t having to remember rarely-used button sequences in the moment.

---

<div class="post-metadata">

**Author:** ![Jack](https://yyz2.discourse-cdn.com/flex028/user_avatar/forum.core-electronics.com.au/jack/32/9287_2.png) [@Jack](https://forum.core-electronics.com.au/u/Jack)\
**Post date:** [17 May 2024 03:31 UTC](https://forum.core-electronics.com.au/t/help-with-the-argon-fan-hat/19866/21 "2024-05-17T03:31:23Z")

</div>

There are [likely log files on the Pi](https://raspberrypi.stackexchange.com/questions/79525/accessing-the-system-log-on-raspbian). Yet these may not tell you what happened and could be an effort to crawl through.

The fan hat only has a few functions so I agree with @Politas that keeping a note with each of the functions nearby will help with issues there.
