Jump to content

Hey guys,

 

I am not satisfied with the fan control software available on windows, so I want to create my own.

 

How would one go about creating a fan controlling software on windows which uses all the available temperature sensors to adjust a fan curve.

 

I know how to code and I am tech savvy enough to work out a new language.

 

Any help would be greatly appreciated!

 

Link to comment
https://linustechtips.com/topic/748260-programming-own-fan-control-software/
Share on other sites

Link to post
Share on other sites

13 minutes ago, xentropa said:

The only way I can think of is to use an arduino and program pwm based on temperature.  I am not sure how to read computer temperature, but maybe there is a library for that.

Yes I wanted to know where I would find such a library as it would be a lot of work to program that myself

Link to post
Share on other sites

2 minutes ago, Benb96 said:

Yes I wanted to know where I would find such a library as it would be a lot of work to program that myself

find an open source temperature monitor and read the code?

A8-7600 {} Gigabyte FM2+ Board {} CX430 {} Corsair Vengeance LP 8gb {} MSI GTX 760 2GB {}

 

Console.WriteLine("C# is aids");

 

Link to post
Share on other sites

If you *really* wanted to do it, you should be able to use C to do what you need to, since it can poll signals from device drivers. However, I really don't understand why you would need to create your own. Speedfan is able to do just about anything you'd need with fan curves. I have my chassis fans turned off most of the time unless I'm under a gaming load, turning on my front intake when my gpu gets to a certain temperature, and my rear exhaust when my cpu hits a certain threshhold, with the ability to control the cpu fan as well (I've got an NF-F12 so the automatic curve is good enough for me). Even if you wanted it based on overall system temperature, the SYS temp diode on most motherboards seems to be over by the RAM slots so as to not be affected by the cpu and gpu as much. If you want to learn more about it, JayzTwoCents has a great video explaining how to use speedfan.

Link to post
Share on other sites

Just now, Fake Dragonite said:

If you *really* wanted to do it, you should be able to use C to do what you need to, since it can poll signals from device drivers. However, I really don't understand why you would need to create your own. Speedfan is able to do just about anything you'd need with fan curves. I have my chassis fans turned off most of the time unless I'm under a gaming load, turning on my front intake when my gpu gets to a certain temperature, and my rear exhaust when my cpu hits a certain threshhold, with the ability to control the cpu fan as well (I've got an NF-F12 so the automatic curve is good enough for me). Even if you wanted it based on overall system temperature, the SYS temp diode on most motherboards seems to be over by the RAM slots so as to not be affected by the cpu and gpu as much. If you want to learn more about it, JayzTwoCents has a great video explaining how to use speedfan.

As currently, SpeedFan only shows my CPU individual core temps and (as they fluctuate more than the usual CPU temp) it also doesn't recognise my temp sensor that I added to the motherboard.

Link to post
Share on other sites

3 minutes ago, Benb96 said:

As currently, SpeedFan only shows my CPU individual core temps and (as they fluctuate more than the usual CPU temp) it also doesn't recognise my temp sensor that I added to the motherboard.

That's understandable. Still, I'd definitely recommend C, as it is a pretty low level language (low level as in less abstraction from hardware of course) that can take signaling from hardware to the point that it's commonly used in compiling OSes. I know Linux is compiled with C, and I'm pretty sure even both Apple operating systems and even Windows is compiled in C, unless Microsoft developed an in-house language for that (which seems... Highly unlikely, but not COMPLETELY outside the realm of possibility)

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×