

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:
| 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 (common sizes) |
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). |
| 3 | Tachometer | Outputs a signal for fan speed monitoring (optional). |
| Pin | Name | Description |
|---|---|---|
| 1 | GND | Ground connection for the fan. |
| 2 | VCC | Positive voltage supply (e.g., 12V). |
| 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 and PWM:
// 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% (0 out of 255) - fan off
analogWrite(fanPWMPin, 0);
delay(5000); // Fan off for 5 seconds
}
Fan Not Spinning:
Fan is Noisy:
Fan Speed Not Adjustable:
Fan Overheats or Fails Prematurely:
Q: Can I use a 3-pin fan with a 4-pin connector?
A: Yes, but you will not have PWM speed control. The fan will run at full speed.
Q: How do I determine the airflow direction?
A: Look for the arrows on the fan casing indicating airflow and blade rotation direction.
Q: Can I connect a fan directly to an Arduino?
A: No, most fans require more current than an Arduino pin can supply. Use a transistor or MOSFET to drive the fan.
Q: What is the purpose of the Tachometer pin?
A: It provides a signal to measure the fan's speed (RPM), which can be monitored by a microcontroller.
By following this documentation, you can effectively integrate and troubleshoot a fan in your electronic projects.