PIC18F4520 is a low-cost, low-power, high-speed 8-bit, fully-static Microcontroller unit that has 40 pins out of which 36 pins can be used as I/O pins. It has Power-on-Reset (POR) as well as the Extended Watchdog Timer (WDT) circuitry, which can be programmed for 4ms to 131s.