No description
Find a file
2022-11-16 14:12:48 +00:00
Arduino Fix doubled PWM 2022-10-25 22:29:27 -05:00
Demos Fix doubled PWM 2022-10-25 22:29:27 -05:00
Images Update to my own, accurate diagram 2022-10-22 23:00:05 -05:00
Python Remove unnecessary import 2022-11-16 14:12:48 +00:00
.gitignore Add .idea folder 2022-10-24 09:59:25 -05:00
README.md Update README 2022-11-16 14:05:53 +00:00

Universal K80 Cooling

This is a Linux cooling control software, which uses an Arduino Uno, PWM fan, and Python 3. It was designed for use with a Tesla K80 (a datacenter GPU without fans), but should work with any NVIDIA GPU.

This will determine the speed your fan (connected to your Arduino) should run at based on the highest temperature between your GPUs, then will send that speed to your Arduino.

Make sure to set the port in the .py file you use!


How to use

  1. Connect the Arduino to the fan according to this diagram: PWM connected to pin 9, TACH not connected
  2. Set the port variable
    1. Instructions for finding the port are in the Python code.
  3. Upload Arduino/rx_speed.ino to your Arduino Uno, then run Python/tx_speed.py.
    1. Make sure not to run the Python file until the Arduino sketch is done uploading! It should only take a few seconds.
  4. Revel in your success!
    1. If you plan to use this constantly, make sure to create a service that starts the Python code on boot.

My setup

  • I use this 3D-printed fan adapter for my Tesla K80; I highly recommend it.
    • I also remixed it into a 92mm version here!
  • Also, I use this fan. It's not necessarily a bad fan, but it's very loud.

In the long-term, I'm planning to build my own front cover for my PC case (a Corsair 175R), and will have a spot for my Arduino and wiring in it.

Pictures will be added later once my setup is complete. Don't expect it to happen anytime soon, though.


Notes and Limitations:

  • This currently only supports NVIDIA GPUs
  • This currently only supports normal PWM, not delta PWM
  • You may need to change some variables in the Arduino code depending on your fan's specifications.
    • Try looking up a datasheet
  • This was designed for an Arduino Uno, and should work on one. I don't know about running it on anything else, though.
  • tx_speed.py works fine, but it's just an infinite loop. I'm working on marking a version that uses a cron job, but it's not done yet.

Resources I used


TODO

  • Add diagram for wiring LED lights