Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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 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 continue to run with all the LEDs flashing (ON for 1 second and OFF for 1 second then repeat this infinitely). 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. 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 5th and last (10th) characters of your student number respectively (The status of your codes and special function registers) (Snipping Tool under Windows 7 can be used to capture the screenshots); Properly formatted flowcharts (may be hand drawn then scanned into the report); A copy of your MPLAB IDE assembled program

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And Implementation

Authors: Shouhong Wang, Hai Wang

1st Edition

1612330150, 978-1612330150

More Books

Students also viewed these Databases questions

Question

How would you describe your typical day at work?

Answered: 1 week ago

Question

2. Write two or three of your greatest weaknesses.

Answered: 1 week ago