

A fan is an electromechanical device that creates airflow to cool or ventilate an area. It is commonly used in electronic enclosures, such as computer cases, power supplies, and other devices, to dissipate heat and maintain optimal operating temperatures. Fans are essential for preventing overheating, ensuring the longevity of components, and maintaining system performance.








Below are the general technical specifications for a standard DC brushless fan commonly used in electronics:
The pin configuration for a 3-pin and 4-pin fan is detailed below:
| Pin Number | Name | Description |
|---|---|---|
| 1 | GND | Ground connection for the fan motor. |
| 2 | VCC | Positive voltage supply (e.g., 12V or 5V). |
| 3 | Tachometer | Outputs a signal for fan speed monitoring. |
| Pin Number | Name | Description |
|---|---|---|
| 1 | GND | Ground connection for the fan motor. |
| 2 | VCC | Positive voltage supply (e.g., 12V or 5V). |
| 3 | Tachometer | Outputs a signal for fan speed monitoring. |
| 4 | PWM | Pulse Width Modulation input for speed control. |
Below is an example of how to control a 4-pin fan using an Arduino UNO:
// Define the PWM pin connected to the fan's PWM input
const int fanPWMPin = 9;
void setup() {
// Set the PWM pin as an output
pinMode(fanPWMPin, OUTPUT);
}
void loop() {
// Set fan speed to 50% (128 out of 255)
analogWrite(fanPWMPin, 128);
delay(5000); // Run at 50% speed for 5 seconds
// Set fan speed to 100% (255 out of 255)
analogWrite(fanPWMPin, 255);
delay(5000); // Run at full speed for 5 seconds
// Set fan speed to 0% (fan off)
analogWrite(fanPWMPin, 0);
delay(5000); // Fan off for 5 seconds
}
Fan Not Spinning:
Excessive Noise:
Fan Speed Not Changing (4-Pin Fan):
Overheating Components:
Q: Can I use a 3-pin fan with a 4-pin connector?
A: Yes, but you will lose PWM speed control. The fan will run at full speed.
Q: How do I determine the airflow direction of the fan?
A: Look for arrows on the fan housing indicating airflow and blade rotation direction.
Q: Can I power a 12V fan with a 5V supply?
A: No, the fan will not operate correctly. Always match the fan's voltage rating with the power supply.
Q: What is the difference between sleeve and ball bearings?
A: Sleeve bearings are quieter but have a shorter lifespan, while ball bearings are more durable and suitable for high-temperature environments.