Task:
To develop a program for the PIC 16F84A using the MPLAB v8 IDE (MPLAB IDE v8.86) simulator software.
The program is to convert your student number 0061058374 (10 ASCII characters), one character at a time, to the excess-three code. Each converted character is to be displayed on 4 LEDs connected to Port B (B0 to B3) of the microcontroller. Further, each converted character will be ON for 4 second and OFF for 1 second. Once all characters have been displayed the program will stop and the LEDs will be OFF.
Objectives:
- Describe your program using properly structured flowcharts (main program and subroutines).
- Demonstrate the use of subroutines, e.g. initialize the peripheral registers and to set the time delays, etc.
- Demonstrate ASCII code conversion.
- Demonstrate the use of indexed addressing to retrieve data from a table in memory.
- Describe the operation of the program in writing.
- Provide a properly formatted program listing.
- Use the MPLAB IDE software to assemble, run and debug the program.