

A 5V fan is a small electric fan that operates on a 5-volt power supply. It is widely used for cooling electronic components, such as microcontrollers, processors, and power regulators, or for providing ventilation in compact spaces. Due to its low power consumption and compact size, the 5V fan is ideal for applications in embedded systems, robotics, and DIY electronics projects.








Below are the key technical details of a typical 5V fan:
| Parameter | Specification |
|---|---|
| Operating Voltage | 5V DC |
| Current Consumption | 80mA to 200mA (varies by model) |
| Power Consumption | 0.4W to 1W |
| Fan Speed | 3000 to 8000 RPM (varies by model) |
| Airflow | 2.5 to 10 CFM (Cubic Feet per Minute) |
| Noise Level | 20 to 30 dBA |
| Dimensions | Common sizes: 30x30mm, 40x40mm, 50x50mm |
| Connector Type | 2-pin or 3-pin JST or Dupont |
| Bearing Type | Sleeve or Ball Bearing |
| Lifespan | 20,000 to 50,000 hours |
The 5V fan typically comes with a 2-pin or 3-pin connector. Below is the pin configuration:
| Pin | Wire Color | Description |
|---|---|---|
| 1 | Red | Positive (+5V) |
| 2 | Black | Ground (GND) |
| Pin | Wire Color | Description |
|---|---|---|
| 1 | Red | Positive (+5V) |
| 2 | Black | Ground (GND) |
| 3 | Yellow | Tachometer (Speed Signal) |
Below is an example of how to control a 5V fan using an Arduino UNO and a transistor for switching:
// Example: Controlling a 5V fan with Arduino UNO
// The fan is connected to a transistor for switching.
// Pin 9 is used to control the fan.
const int fanPin = 9; // Pin connected to the transistor's base
void setup() {
pinMode(fanPin, OUTPUT); // Set fanPin as an output
}
void loop() {
digitalWrite(fanPin, HIGH); // Turn the fan ON
delay(5000); // Keep the fan ON for 5 seconds
digitalWrite(fanPin, LOW); // Turn the fan OFF
delay(5000); // Keep the fan OFF for 5 seconds
}
Circuit Notes:
Fan Not Spinning
Fan Spins Slowly
Excessive Noise
Fan Overheats
Q1: Can I power a 5V fan with a USB port?
A1: Yes, most USB ports provide 5V and sufficient current (500mA or more) to power a 5V fan.
Q2: How do I reverse the airflow direction?
A2: To reverse airflow, physically flip the fan. Do not reverse the polarity of the power supply, as this can damage the fan.
Q3: Can I control the fan speed?
A3: Yes, you can control the fan speed using PWM (Pulse Width Modulation) from a microcontroller like Arduino. Use a transistor to handle the fan's current.
Q4: What is the purpose of the yellow wire on a 3-pin fan?
A4: The yellow wire provides a tachometer signal, which can be used to monitor the fan's speed.
Q5: Can I use a 5V fan with a 12V power supply?
A5: No, using a 12V power supply will damage the fan. Use a step-down voltage regulator to convert 12V to 5V if needed.