

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.








Below are the general technical specifications for a standard DC brushless fan, commonly used in electronics:
| Parameter | Value |
|---|---|
| Operating Voltage | 5V, 12V, or 24V (depending on model) |
| Current Consumption | 0.1A to 0.5A |
| Power Rating | 0.5W to 5W |
| Speed | 1000 to 5000 RPM |
| Airflow | 10 to 100 CFM (Cubic Feet per Minute) |
| Noise Level | 20 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 depends on the type of fan (2-pin, 3-pin, or 4-pin). Below is a table describing the pinout for each type:
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Positive power supply (e.g., 5V, 12V, or 24V). |
| 2 | GND | Ground connection. |
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Positive power supply. |
| 2 | GND | Ground connection. |
| 3 | Tachometer | Outputs a signal for speed monitoring. |
| Pin | Name | Description |
|---|---|---|
| 1 | VCC | Positive power supply. |
| 2 | GND | Ground connection. |
| 3 | Tachometer | Outputs a signal for 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 and PWM:
// Define the PWM pin for fan control
const int fanPwmPin = 9; // Connect to the PWM pin of the fan
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); // 50% duty cycle for medium speed
delay(5000); // Run at this speed for 5 seconds
// Set fan speed to 100% (255 out of 255)
analogWrite(fanPwmPin, 255); // 100% duty cycle for full speed
delay(5000); // Run at this speed for 5 seconds
// Set fan speed to 0% (0 out of 255)
analogWrite(fanPwmPin, 0); // 0% duty cycle to stop the fan
delay(5000); // Fan remains off for 5 seconds
}
Fan Not Spinning:
Fan Spins Slowly:
Excessive Noise:
Tachometer Signal Not Detected:
Q: Can I use a 12V fan with a 5V power supply?
A: No, a 12V fan requires a 12V power supply. Using a lower voltage may prevent the fan from spinning or reduce its performance.
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 control a 2-pin fan's speed?
A: No, 2-pin fans do not support speed control. Use a 4-pin fan for PWM-based speed control.
Q: What is the typical lifespan of a fan?
A: The lifespan depends on the bearing type. Sleeve bearings typically last 30,000 hours, while ball bearings can last up to 50,000 hours or more.