

The CPU Fan Connector Male 4 Pin is a widely used electronic component designed to connect a CPU fan to a motherboard. This connector facilitates the delivery of power to the fan and enables speed control through PWM (Pulse Width Modulation). It is an essential component in modern computer systems, ensuring efficient cooling and thermal management.








The following table outlines the key technical details of the CPU Fan Connector Male 4 Pin:
| Parameter | Specification |
|---|---|
| Manufacturer | Generic |
| Number of Pins | 4 |
| Pin Pitch | 2.54 mm |
| Voltage Rating | 12V DC (typical for CPU fans) |
| Current Rating | Up to 1A per pin |
| Material | Plastic housing with metal contacts |
| Compatibility | Standard 4-pin CPU fan headers |
The 4-pin male connector has the following pinout:
| Pin Number | Name | Description |
|---|---|---|
| 1 | GND | Ground connection for the fan. |
| 2 | +12V | Power supply for the fan (typically 12V DC). |
| 3 | Tachometer | Outputs a signal to measure the fan's speed (RPM). |
| 4 | PWM | Pulse Width Modulation signal for controlling the fan speed. |
The CPU Fan Connector Male 4 Pin can also be used with an Arduino UNO for custom fan control. Below is an example code snippet to control fan speed using PWM:
// Example: Controlling a 4-pin CPU fan with Arduino UNO
// Connect the fan's PWM pin to Arduino pin 9
// Ensure the fan's GND and +12V are connected to an external power source
const int pwmPin = 9; // Arduino pin connected to the fan's PWM pin
int fanSpeed = 128; // Fan speed (0-255, where 255 is 100% duty cycle)
void setup() {
pinMode(pwmPin, OUTPUT); // Set the PWM pin as an output
}
void loop() {
analogWrite(pwmPin, fanSpeed); // Write PWM signal to control fan speed
delay(1000); // Wait for 1 second
fanSpeed = (fanSpeed + 64) % 256; // Increment fan speed (wraps around at 255)
}
Note: The fan's +12V and GND pins must be connected to an external 12V power source, as the Arduino cannot supply sufficient power for the fan.
Fan Not Spinning:
Fan Speed Not Adjustable:
Overheating Connector:
No Tachometer Signal:
By following this documentation, users can effectively utilize the CPU Fan Connector Male 4 Pin for various applications, ensuring reliable performance and proper cooling in their systems.