(1)To learn and develop knowledge in designing the application by using themicrocontroller.(2)To learn how to write an assembly language and combining with the hardware(3)To learn how to calculate the delay in programming to design the stopwatch program(4)To study how the microprocessor can be embed with LCD display.
In this miniproject, the component that has been used is PIC16F84A, switches, resistor,resonator, and LCD. The port A of PIC16F84A is connected to the switches while the port B isconnected to LCD. When the switch is turn on, the PIC16F84A will detect the input and with thesoftware that have been programmed earlier in the PIC will detect the switch is ON. With thesoftware programmed earlier the PIC willembed with LCD to show the operation. The LCD willdisplay the output that is the stop watch timer. The switches are use for start, stop and reset button.
This project uses the low level language. This PIC uses the external clock from the ceramicresonator 4MHz. Each instruction line will be executed in 1µs. The software that is programmed willcheck or detect whether the start button is pressed or not. If the switch is on the stopwatch ignitionwill start counting with the delay 0.1 seconds that was programmed. Then the software will detectwhether the stop button is pressed or not. If the stop button is pressed the software is programmedto stop the counting. This software is also programmed to detect reset button. The software will goto initial program where it initialized the input and output port and also the LCD.