Fan controller hardware and software