Clean up and add GPUtil

This commit is contained in:
askiiart 2022-10-22 23:03:34 -05:00
parent c4133e770a
commit 2788fbddda

View file

@ -9,7 +9,7 @@ between your GPUs, then will send that speed to your Arduino.
1. Connect the Arduino to the fan according to this diagram:
![PWM connected to pin 9, TACH not connected](Images/arduino-fan-diagram.png)
2. Connect the Arduino to your PC via USB, then find the port it's on and **set the port variable**.
2. **Connect the Arduino to your PC via USB, then find its port and set the port variable**
1. Instructions for finding the port are in the Python code.
3. 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.
@ -27,10 +27,6 @@ Pictures will be added later once my setup is complete. Don't expect it to happe
### Notes and Limitations:
- This currently **only supports NVIDIA GPUs**
- This currently **only supports normal PWM**, not delta PWM
- **You will need to set the port of your arduino manually** (in the Python code as the `port` variable)
- There are instructions on how to find the port in the code
- Your **fan may use a different color scheme** for its wire, or have a black color scheme. Be sure to
Google a diagram first.
- 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.
@ -41,3 +37,4 @@ Google a diagram first.
- Python-Arduino communications library - [pySerialTransfer](https://github.com/PowerBroker2/pySerialTransfer)
- Arduino PWM fan control - [25 kHz 4 Pin PWM Fan Control with Arduino Uno](https://create.arduino.cc/projecthub/tylerpeppy/25-khz-4-pin-pwm-fan-control-with-arduino-uno-3005a1)
- This is the basis of my arduino-fan diagram
- See NVIDIA GPU temperatures - [GPUtil](https://pypi.org/project/GPUtil/)