To develop a program for the PIC 16F84A using the MPLAB v8 IDE simulator software. The program

Discuss in detail whether you consider the innovation strategy suggested by Kattara and El-Said (2014) can be successful given that “consumers are inc
June 20, 2020
Prose Mash Up: Jack London’s “To Build A Fire”
June 20, 2020

To develop a program for the PIC 16F84A using the MPLAB v8 IDE simulator software. The program

Assignment 2

Description

Marks out of

Wtg(%)

Due date

Microcontroller programming

200

20%

29 May 2014,
11:59pm AEST
(submit via StudyDesk)

Task:

To develop a program for the PIC 16F84A using the MPLAB v8 IDE simulator software. The program is to convert your student number (10 ASCII characters), one character at a time, to 74210 code. Each converted character is to be displayed on 5 LEDs connected to Port B (B0 to B4) of the microcontroller. Further, each converted character will be ON for 3 second and OFF for 1 second. Once all characters have been displayed the program will stop and the LEDs will be OFF.

Objectives:

  • To describe your program using properly structured flowcharts (main program and subroutines).
  • To demonstrate the use of subroutines, e.g. initialize the peripheral registers and to set the time delays, etc.
  • To demonstrate ASCII code conversion.
  • To demonstrate the use of indexed addressing to retrieve data from a table in memory.
  • To describe the operation of the program in writing.
  • To provide a properly formatted program listing (disassembly listing from MPLAD IDE).
  • To use the MPLAB IDE software to assemble, run and debug the program.

Report:

Your report must include:

  • A clear detailed description of how your program works
  • Properly formatted flowcharts (may be neatly hand drawn then scanned into the report)
  • A copy of the MPLAB IDE disassembly listing.

Submit the report (*.pdf only format), disassembly listing and MPLAB IDE file (*.hex) via StudyDesk, (EASE) as attachments. That is, 2 files to be submitted.

Notes:

  • Refer to the study book and importantly the home experiments for guidance.
  • Assume the microprocessor’s â€˜machine cycle’ time is 30 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.
  • Your program must include subroutines to access data table and control the display on and off time delays.
  • Use the MPLAB IDE v8 simulator program (download from the link published in the course overview) or this assignment. You may wish to check the operation of your program using the ‘Real PIC Simulator, trial version’. 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 will be posted on study desk. You will be required to fill in missing data and code to complete the task.

Assessment criteria

Assessment item

Requirement

Marks

Flowchart
Accuracy Must reflect the program code, including subroutines

30

Sufficient detail Correct use of flowchart symbols, lines and statements

10

Labels On all loops and decision blocks

5

Neatness Can be hand drawn (scanned), but must be neat

5

Program description
How it works Detailed description of the program’s operation. At least one page.

30

Display details Describe how the display (LEDs) interface to the PIC 16F84A

10

Delay calculations Explain and show the delay calculations

20

Program listing
Appropriate labels Labels should be used for loops, subroutine, etc.

5

Comments Sufficient to describe each step in the program

10

Structure Efficiency, use of registers and subroutines, etc.

30

Accuracy Proper operation, (confirmed by the marker using the ‘Real PIC Simulator), Hence the hex code file (*.hex) must be submitted via StudyDesk.

45

Total   

200

+1 (786) 788-0496
Welcome to brimaxessays.com
Hello 👋
We will write your work from scratch and ensure it's plagiarism-free, you just submit the completed work.