Home Lab Vibes — Cooling Controller Simple fan control and RPM monitoring for server cooling in Home Lab environments.
- Currently optimized for high-quality 4-pin PWM fans.
- Basic PWM control works with most fans, but RPM reading may not work correctly with cheaper or unstable fans.
- In future versions, improved RPM detection for a wider range of PWM fans is planned.
- PWM fan control via Arduino.
- Real-time RPM measurement using TACH signal.
- Basic protection against invalid tach readings.
- Serial command interface (
PWM:value) to adjust fan speed dynamically.
| Pin | Function | Description |
|---|---|---|
| D2 | PWM | PWM control signal to the fan (white wire) |
| D3 | TACH | TACH signal input from the fan (yellow wire) |
- Upload the sketch to your Arduino board.
- Connect a 4-pin PWM fan according to the pinout.
- Open the Serial Monitor at 115200 baud.
- Send commands in the format
PWM:0-255to adjust fan speed. - Fan RPM will be printed every second.
⚠️ Note: The TACH input is configured with an internal pull-up resistor (5V). Make sure your fan's TACH signal can work properly with pull-up enabled.
- Arduino board (Uno, Nano, etc.).
- 4-pin PWM fan (preferably good quality).
- Basic wiring (PWM + TACH connections).
This project is licensed under the MIT License. Feel free to use, modify, and share it!
Part of the Home Lab Vibes collection — stay tuned for more cool projects! 🚀