Need help with the below: Task: To develop a program for the PIC 16F84A using either MPLAB X IDE simulator software. The PIC 16F84A has 8 LEDs connected to Port B. The program is to convert your student number (10 ASCII characters), taken in forward order, one character at a time, to excess three code. Each converted character is to be displayed on 4 of the LEDs connected to Port B (B0 to B3) of the microcontroller. Further, each converted character will be displayed for 4 seconds, with the LEDs turned OFF for 1 second between each character. Once all characters have been displayed the program will continue to run with all of the Port B LEDs flashing in a pattern of Odd Numbered LEDs On and Even Numbered LEDS Off for 1 second, and then Odd Numbered LEDs Off and Even Numbered LEDS On for 1 second. This pattern will repeat indefinitely. Note: The preferred version of MPLAB IDE is MPLAB X v 3.30. 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. ? Demonstrate the use of Breakpoints function in MPLAB IDE to run through the program step by step. ELE1301 – Computer Engineering Report: Your report must include: ? A brief problem statement; ? A clear detailed description of how your program works; ? A brief summary of the test results including two screenshots showing the program running on your machine for the 2nd and 8th characters of your student number respectively. The screen shots should include the status of your code and contents of relevant registers and special function registers. (Snipping Tool can be used to capture the screenshots in Windows.) ? Properly formatted flowcharts (may be hand drawn then scanned into the report); ? A copy of your MPLAB IDE program. Submit the report (*.pdf only format) including program listing and one MPLAB IDE files (*.asm) via StudyDesk as attachments. That is, two files need to be submitted. Notes: ? Refer to the Study Book and importantly the home experiments for guidance. ? Assume the microprocessor’s ‘instruction cycle’ time is 40 microseconds. That is, calculate the delays based on the machine cycle time specified above. (Actual time is not important as the simulator speed may differ from one PC to another. Use the Stop Watch function in the simulator to measure the timing.) ? Your program must include subroutines to access the data table and control the display on and off delays. ? Use the MPLAB X IDE simulator program (download from the link published in the course overview) for this assignment. You may wish to check the operation of your program using the ‘Real PIC Simulator, trial version’ (Optional). Refer to the home experiments for instructions. ? Do NOT submit any of your assignment by email or fax, unless approved by the examiner. To get you started, the initial portion of the required assembly code has been provided to you in the accompanying template file. You are required to use it as a programing guide to complete the task. ELE1301 – Computer Engineering Assessment criteria: Assessment Item Requirement Marks Problem Statement Accuracy Must accurately outline the program objectives. 10 Program Description How it works Detailed description of the program’s operation. 20 Display details Describe how the display interfaces/communicates to PIC. 10 Delay calculations Explain and show the delay calculations. 20 Flowchart Accuracy Must reflect the program code, including subroutines. 20 Sufficient detail Correct use of flowchart symbols, lines and statements. 10 Labels On all loops and decision blocks. 10 Neatness Can be hand drawn, but must be neat. 10 Program Testing Results Proper operation, confirmed by compiling and running the PIC assembly code files. A summary of your program’s running results. A testing result table showing your tested display details in sequence. 30 Screenshots Showing the program running dynamics with correct results 20 Program listing Appropriate labels Labels should be used for loops, subroutine, etc 10 Comments Sufficient to describe each step in the program 10 Structure Efficiency, use of registers and subroutines, etc 10 Accuracy Correctness of your program 10 Total 200

"Is this question part of your assignment? We Can Help!"