4-Wire Fan Controller using a PIC16F684

Control: management of fans, temp/rpm monitoring via soft/hardware

Moderators: NeilBlanchard, Ralf Hutter, sthayashi, Lawrence Lee

Post Reply
frankgehry
Posts: 1424
Joined: Sun Dec 12, 2004 5:00 am
Location: New York, NY

4-Wire Fan Controller using a PIC16F684

Post by frankgehry » Fri Apr 07, 2006 12:44 pm

Fan controller based on a PIC16F684 micro controller for high frequency 4-wire pulse width modulated fans (PWM).

There are several advantages for using a micro controller as a fan control device. First, the micro controller has a built in analog to digital converter and a PWM generator eliminating the need to build this functionality using separate components. The component count can be significantly reduced. Secondly, once the hardware has been designed, the software can be updated to change the temperature to fan speed curve or add extra features. A kick start is easy to add with no additional circuitry.

The basic design consists of a thermistor network, a micro controller with an analog to digital converter and a PWM generator, and an 8 led display. Because 4-wire PWM fans require only a 12 volt source and a PWM signal to control speed, the fan controller does not need a drive section. In other words, the same controller can be used effectively for a 0.2 amp 70mm fan or a 2.0 amp 120mm fan. A 12 volt source can be wired directly from the power supply. The thermistor network and micro controller require 5 volts.



Image
Printed circuit board design detail for PIC16F684 fan controller.

I used Eagle software for the circuit board design and layout.



Image
Printed circuit board (PCB) with surface mount components, PIC16F684 socket, and 4 pin molex connector.

The PIC16F684 socket is mounted above board level components and circuit traces.



Image
Completed PIC16F684 fan controller with 70mm fan. The red wires are thermistor leads.

In operation, the led display shows a digital value of the voltage input to the A/D converter by the thermistor network. The printed circuit board is 1 x 2 inches.


References:
My new 4-wire fans

Related posts:
microchip tc642 based fan control circuit

Post Reply