Beruflich Dokumente
Kultur Dokumente
_________________________________________________________________
Assignment No.2
Display A/D Conversion Result on 3 Digit 7 Segment Display
1. Using MPLAB, develop and debug a program to carry out this task on a
16F877A PIC processor. Once it is working in the simulator, burn the program
into the Microcontroller and try running it in the PIC Trainer.
2. The code required to use the 7 Segment Display on the 16F877A and
possible algorithms to develop the rest of the code will be worked through in
class tutorials. It is not possible in MPLAB to simulate A/D conversion so you
will have to test your code on a dummy value placed in the appropriate register.
3. You should submit a report describing how the program operates, you
should include a flow chart along with the descriptive material. A listing of the
assembler code should also be included which must contain explanatory
comments. As well as testing your programme in the microtrainer, for which
your tutor will award additional marks you must also show evidence of
simulation using appropriate test data. Acceptable evidence will comprise
screenshots of MPLAB windows along with explanations. The report should
also contain an evaluation and conclusion. Consideration will also be given to
report presentation. Marks will be awarded based on the Marking scheme.
Name: Total:
Specification: 5%
Total 85%
Total 100%
_______________________________________________________________