Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cpanato/raspi-fan-control

Control external Fan to cool down your raspi cluster
https://github.com/cpanato/raspi-fan-control

go golang gpio kubernetes raspberry-pi-4

Last synced: about 1 month ago
JSON representation

Control external Fan to cool down your raspi cluster

Awesome Lists containing this project

README

        

# Fan control for Raspberry Pi

This is a small project that I build in order to cool down my raspi home cluster

The case I use have some external fans to cool down the pies when it is too hot.
However, sometimes the temperature is ok and we can shutdown the fans.

You can deploy this as a binary and run directly in the raspi or if you use the raspis in a cluster using
k3s you can deploy that as a daemon set.

The service expose prometheus metrics, one for the current temperature of the system and another to check if the fan is on or off.

### Hardware

In other to use the GPIO pins to control your external fan you need to build a very small hardware to trigger the fan

Bill of material:

- 1 resistor 1k Ohms
- 1 resistor 100 Ohms
- 1 IRLZ44N transistor

![hardware](./assets/hardware.png)