Alright so I wanted to make myself a Deskfan using Arduino and a potentiometer. The reason for using arduino is that I want to display the current temperatur and the fan speed either through rpm or with %. Currently it seems to work fine using the potentiometer to control the pwm. But either i'm just not believing that it works correctly or it really isn't. My only problem is that I think the fan is not outputting 100% of its power with the pwm signal. Maybe about a few % less. But I don't really know if there is something that I am missing or if it really is outputting 100%. The fan in question would be a Noctua NF-A14 5V PWM (+-1500 MAX).
Edit: Is it possible that I'm not using full 100% of the fan? If so what would I need to change if that were the case. I heard something about changing to 25khz pwm but yeah..
Here is my code without the lcd stuff.
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
pinMode(9, OUTPUT);
}
void loop() {
int potValue = analogRead(A5);
int newpotValue = map(potValue, 0, 1023, 0, 255);
Serial.println(newpotValue);
analogWrite(9, newpotValue);
}
analogWrite(9,255);
and see if this changes anything. – frarugi87 Aug 3 '18 at 8:49