An Arduiino-based pool and spa controller