In order to keep tracking the current time and the date, a dedicated RTC chip called DS1302 has been used. This chip is connected to the PIC18F46K20 microcontroller chip via Serial Peripheral Interface (SPI) protocol system [24] as shown in the figure. The SPI is a standard protocol invented by Motorola Company, which it is mainly used for connecting multiple digital devices with minimum number of wires together [25]. The most important feature of the DS1302 is that, it has the ability to keep tracking of the current time and date even when the power supply is unavailable by using a 3.3 V backup battery as shown also in Fig. 2. In order to communicate with the DS1302, the CCS-PICC software provides the necessary commands and libraries to ease the utilization of the SPI and the DS13020 chip.