

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, which can damage components or reduce their lifespan. They come in various sizes, voltages, and airflow capacities to suit different applications.








Below are the general technical specifications for a standard DC brushless fan, commonly used in electronics:
| Parameter | Value |
|---|---|
| Operating Voltage | 5V, 12V, or 24V DC (varies by model) |
| Current Consumption | 0.1A to 0.5A |
| Power Rating | 0.5W to 5W |
| Airflow | 10 CFM to 100 CFM (Cubic Feet per Minute) |
| Speed | 1000 RPM to 5000 RPM |
| Noise Level | 20 dBA to 40 dBA |
| Bearing Type | Sleeve or Ball Bearing |
| Connector Type | 2-pin, 3-pin, or 4-pin |
| Dimensions | 40mm x 40mm, 80mm x 80mm, 120mm x 120mm, etc. |
The pin configuration for a 3-pin and 4-pin fan is detailed below:
| Pin | Name | Description |
|---|---|---|
| 1 | GND | Ground connection for the fan. |
| 2 | VCC | Positive voltage supply (e.g., 12V DC). |
| 3 | Tachometer | Outputs a signal for RPM monitoring (optional use). |
| Pin | Name | Description |
|---|---|---|
| 1 | GND | Ground connection for the fan. |
| 2 | VCC | Positive voltage supply (e.g., 12V DC). |
| 3 | Tachometer | Outputs a signal for RPM monitoring (optional use). |
| 4 | PWM | Pulse Width Modulation input for speed control. |
Below is an example of controlling a 4-pin fan using PWM on 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:
Fan is Noisy:
Fan Speed Not Changing (4-Pin Fan):
Fan Overheating:
Q: Can I use a 3-pin fan with a 4-pin connector?
A: Yes, you can connect a 3-pin fan to a 4-pin connector. The fan will operate at full speed, as the PWM pin will not be used.
Q: What is the typical PWM frequency for a 4-pin fan?
A: The typical PWM frequency is 25 kHz, but always check the fan's datasheet for specific requirements.
Q: How do I determine the airflow direction of the fan?
A: Most fans have arrows on the housing indicating the airflow direction and blade rotation.
Q: Can I run a 12V fan on a 5V power supply?
A: While the fan may spin at a reduced speed, it is not recommended as it may not operate reliably or provide sufficient airflow. Always use the rated voltage.