An Arduino-enabled controller of an electric water heater