Question: Lab 2 Start PICSimLab. Select PIC 1 6 F 8 7 7 A as microcontroller using the microcontroller tab. Select McLab 2 . Select 4

Lab 2
Start PICSimLab. Select PIC16F877A as microcontroller using the microcontroller tab. Select McLab2. Select 4 Mhz clock.
The schematic of board McLab2 is available at PICSimLab Help tab Contents tab English Manual link Features of Board 2 link Board 2 Schematics link.
Configure the microcontroller through your code as follows:
_CONFIG_FOSC_XT &_WDTE_OFF & _PWTE_OFF & MCLRE_OFF & _BOREN_OFF & _LVP_OFF &_CPD_OFF & _CP_OFF
Date of Birth
Program the microcontroller so that
1- your birth year digits will be displayed on the PICSimLab with ten seconds duration.
For example, if the year of birth number is 2001. The leftmost 7-segment display will show 2 and the rightmost 7-segment display will show 1 while the other two 7-segment display will show 0.
2- After displaying the birth year, your day of birth and month digits will be displayed on the PICSimLab with ten seconds duration.
For example, if you were born on 10th of January. Your birthday and month number are 10 and 01 respectively. You will take this number as 1001. The leftmost 7-segment display will show 1 and the rightmost 7-segment display will show 1 while the other two 7-segment display will show 0 in the middle.
Another example if you were born on 17th of June. Your birthday and month number are 17 and 06 respectively. You will take this number as 1706. The leftmost 7-segment display will show 1, the second 7-segment display will show 7, the third 7-segment display will show 0 and the rightmost 7-segment display will show 6.
Create a video which displays:
1- the code you prepared on MPLAB (-100 pts otherwise),
2- the code is successfully built (compiled)(-100 pts otherwise),
3- the HEX output is loaded onto PICSimLab (-100 pts otherwise),
4- the board works as described in this manual (-50 pts otherwise),
PLEASE USE ASSEMBLY!!!!
Lab 2 Start PICSimLab. Select PIC 1 6 F 8 7 7 A

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!