An Arduino sketch that counts revolution per minute (RPM) of a fan.