[1] https://andrey.mikhalchuk.com/2011/06/20/reading-attiny85452...
USB Bootloader is interesting, but I already had a few ISP loaders. You can make an ISP loader with Arduino as well. [1]
[1] https://docs.arduino.cc/built-in-examples/arduino-isp/Arduin...
It's kind of better than ambient, it would reach the temperature of the GPU if thermally coupled. The sleep-mode thing would just be a case of lots of micro sleeps to discount the temperature of the chip, could have even under-clocked too.
> USB Bootloader is interesting, but I already had a few ISP loaders. You can make an ISP loader with Arduino as well.
The benefit of USB is being able to get debug data from the fan controller as it runs, and be able to re-flash it whilst in the PC by attached to an internal USB bus.
This way you could also log out what the GPU reports, vs what you measure, vs what the ATtiny85 measures.
Couple of gotchas that I ran across. I found that on Linux, desktop PC fan control support is pretty abysmal. The sensor library that everyone relies on, lm_sensors, is semi-abandoned and didn't recognize sensors on my relatively popular, 7 year old ATX motherboard and GPU. It also requires having Perl installed.
About GPU cooling in particular - modern NVidia cards in particular seem to have a built-in minimum of 30% fan speed when controlling them manually. The connectors are also a different, smaller connector (perhaps a JST PH?).
This is mainly because the companies that make the “super io” controller chips (ITE and others) are deluded and think that they have some sort of cutting edge tech and their chip documentation must be super secret.
Years ago there was someone at a mobo manufacturer who would leak the datasheets, but they left or got found out, and there hasn’t really been a source for that info since.
GitHub: https://github.com/Colahall/tiny85fancontrol/tree/main/schem... Codeberg: https://codeberg.org/Colahall/tiny85fancontrol/src/branch/ma...
Seems like something similar should already exist, but I haven’t been able to find anything that is a close enough fit.