RTC Based Pump Switcher

We usually come across areas where we need to switch devices on/off at particular time intervals. We simulate this system using a water pump that is controlled through RTC input. The RTC (Real time clock) is used to switch the motor on and off at desired time intervals. An RTC outputs real time signals which need to be converted into digital signals for further processing. The RTC provides these inputs to the microcontroller. The microcontroller then checks for time. It then switches on off motor when the RTC time matches pre defined time.