A fan is a device that creates airflow by rotating blades, commonly used for cooling or ventilation in electronic circuits. It helps dissipate heat generated by components such as processors, power supplies, or other heat-sensitive devices, ensuring optimal performance and preventing overheating. Fans are widely used in computers, power electronics, and industrial equipment.
Below are the general technical specifications for a standard DC cooling fan:
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 |
Connector Type | 2-pin, 3-pin, or 4-pin |
Dimensions | 40x40mm, 80x80mm, 120x120mm, etc. |
Bearing Type | Sleeve or Ball Bearing |
The pin configuration for a 3-pin and 4-pin fan is as follows:
Pin | Name | Description |
---|---|---|
1 | GND | Ground connection |
2 | VCC | Power supply (e.g., 12V) |
3 | Tachometer | Outputs a signal for speed monitoring |
Pin | Name | Description |
---|---|---|
1 | GND | Ground connection |
2 | VCC | Power supply (e.g., 12V) |
3 | Tachometer | Outputs a signal for speed monitoring |
4 | PWM | Pulse Width Modulation for speed control |
Below is an example of how to control a 4-pin fan using an Arduino UNO and PWM:
// Example: Controlling a 4-pin fan with Arduino UNO
// Connect the fan's PWM pin to Arduino pin 9
// Connect the fan's VCC and GND to a 12V power supply
// Use a common ground between the Arduino and the fan
const int fanPWM = 9; // PWM pin connected to the fan's PWM input
void setup() {
pinMode(fanPWM, OUTPUT); // Set the PWM pin as an output
}
void loop() {
// Set fan speed to 50% (128 out of 255)
analogWrite(fanPWM, 128);
delay(5000); // Run at 50% speed for 5 seconds
// Set fan speed to 100% (255 out of 255)
analogWrite(fanPWM, 255);
delay(5000); // Run at full speed for 5 seconds
}
Fan Not Spinning:
Fan Spins Slowly:
Excessive Noise:
No Speed Signal from Tachometer:
Can I use a 12V fan with a 5V power supply?
How do I reduce fan noise?
Can I connect a fan directly to an Arduino?
What is the purpose of the PWM pin on a 4-pin fan?