Skip to content
Fan Controller
C++ Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

CoolRunnings Fan Controller for Arduino

This sketch is for the CoolRunnings v3 PC fan controller board. It has been tested on the Atmel328p, but should also work on other AVRs.

The sketch includes support for the following:

Two OneWire DS18B20 temperature sensors.

RPM reading for common three wire PC fans which induce a Hall Effect sensor.

Three speed automatic and manual fan control as well as continuously variable fan speed control. using PWM.

Serial Port communication using a USB to Serial converter(CH340)

Serial Commands for fan control and the setting of relevant parameters.

IC support for an external 16x2 LCD display.

Three fan speed indicator lights.

Serial communication at 9600 baud. Type ? for commands

Needed Libraries:

These libraries should also be available through the Arduino IDE Menu: Sketch -> Include Library -> Manage Libraries

Arduino library (included with IDE)

OneWire - DallasTemperature - LiquidCrystal_I2C -

DS18B20 Pinout(Left to Right, pins down, flat side toward you)

  • Left = Ground
  • Center = Signal (with 3.3 K to 4.7 K resistor to 5 or 3.3 V)
  • Right = +5 or + 3.3 V
You can’t perform that action at this time.