Hi,
I was looking to add a fan to one of my setups. Maybe it’s not needed, will see if the temperature goes up after multiple hours of playing (see this to check the temperature of the board: https://www.cyberciti.biz/faq/linux-find-out-raspberry-pi-gpu-and-arm-cpu-temperature-command/)
As you can’t use raspi-config
, I looked around and could only find python scripts (most didn’t work) but then stumbled on this and it worked so I thought I should share a how to. (source: https://forums.raspberrypi.com/viewtopic.php?t=291174)
This has worked with hifiberry Amp 2 and Pi Zero W but will test with other setups, it depends on pins availability I think. This is the fan I’m using, you need the software part (third wire) for this: https://thepihut.com/products/highpi-pro-5v-fan-software-controlled
- SSH into the pi (look here if you don’t know how to: https://volumio.github.io/docs/User_Manual/SSH.html)
- Once you’re in:
sudo nano boot/userconfig.txt
(As to be userconfig so it doesn’t get deleted when Volumio updates) - Add
dtoverlay=gpio-fan,gpiopin=14,temp=50000
and save. I haven’t tried with other gpio - Reboot. You can test it by lowering the temp to 20000.
That’s it. Hope it helps