ArduinoClockAnalog Clock Analog Relay Arduino You need to download the library for DS 1302 You need 4 pieces of relay in order to change the polarity through the relay