F. Reset the Module Reset is the initialization of microcontroller, and the main function is to initialize the PC to 0000H. It is the microcontroller to begin program execution from location 0000H. In addition, if encounter run error or improper operation when the system is in a deadlock, in order to bail out, also need to reset button to restart. Fig. 5. Reset the module. IV. SOFTWARE DESIGNA. Main Program Design The main system is mainly to complete the initialization, set the timer constant and interrupts the program [8]. The main program is in a status of continuous cycle waiting and interrupt.