PIC16F877A was used in a microcontroller circuit for processing unit. PIC microcontroller is used as a central processor because its capability to operate without other external components due to all necessary peripherals is already built into it. Thus it reduce time and space required to construct the device. This PIC works on a 5V DC power supply, with a 20
MHz crystal oscillator and 2 units of 22pF capacitors (Figure 3)[9][10].