A fan speed controller for the ATMega32 platform