

A PWM (Pulse Width Modulation) 5V fan is a cooling fan designed to operate at a voltage of 5 volts. It uses PWM signals to control its speed, enabling precise and efficient cooling. By adjusting the fan speed based on temperature or other conditions, the PWM 5V fan helps reduce power consumption and noise while maintaining optimal thermal performance. These fans are commonly used in electronics cooling, such as in computers, microcontroller projects, and other temperature-sensitive devices.








| Parameter | Value |
|---|---|
| Operating Voltage | 5V DC |
| Current Consumption | Typically 0.1A to 0.3A |
| Speed Control Method | PWM (Pulse Width Modulation) |
| PWM Signal Voltage | 3.3V or 5V logic compatible |
| PWM Frequency Range | 20 kHz to 25 kHz (typical) |
| Fan Speed Range | 0% to 100% duty cycle |
| Connector Type | 4-pin (VCC, GND, PWM, Tach) |
| Dimensions | Varies (e.g., 40mm, 60mm, etc.) |
| Noise Level | Depends on speed and model |
| Pin Number | Pin Name | Description |
|---|---|---|
| 1 | VCC | Power supply input (5V DC). Connect to a 5V power source. |
| 2 | GND | Ground connection. Connect to the ground of the power source or circuit. |
| 3 | PWM | PWM input signal. Used to control the fan speed. Accepts 3.3V or 5V logic. |
| 4 | Tach | Tachometer output. Provides feedback on the fan's speed (optional use). |
Below is an example of how to control a PWM 5V fan using an Arduino UNO:
// Define the PWM pin connected to the fan's PWM input
const int fanPWMPin = 9; // Pin 9 supports PWM on Arduino UNO
void setup() {
// Set the PWM pin as an output
pinMode(fanPWMPin, OUTPUT);
}
void loop() {
// Example: Gradually increase and decrease fan speed
for (int dutyCycle = 0; dutyCycle <= 255; dutyCycle++) {
analogWrite(fanPWMPin, dutyCycle); // Set fan speed (0-255)
delay(10); // Wait 10ms before increasing speed
}
for (int dutyCycle = 255; dutyCycle >= 0; dutyCycle--) {
analogWrite(fanPWMPin, dutyCycle); // Decrease fan speed
delay(10); // Wait 10ms before decreasing speed
}
}
Notes:
analogWrite() function generates a PWM signal on the specified pin.Fan Not Spinning:
Fan Always Running at Full Speed:
Fan Speed Not Changing:
Excessive Noise:
Q1: Can I use a 12V PWM fan in place of a 5V PWM fan?
A1: No, a 12V fan requires a 12V power supply. Using a 5V supply will not provide sufficient power for the fan to operate correctly.
Q2: What happens if I don't connect the PWM pin?
A2: Most PWM fans will run at full speed if the PWM pin is left unconnected or receives no signal.
Q3: Can I control the fan speed without a microcontroller?
A3: Yes, you can use a dedicated PWM controller or a 555 timer circuit to generate a PWM signal.
Q4: Is the Tach pin necessary for operation?
A4: No, the Tach pin is optional and only used if you need to monitor the fan's speed.