Question: begin { tabular } { | l | l | l | } hline & begin { tabular } { l }

\begin{tabular}{|l|l|l|}
\hline & \begin{tabular}{l}
Islamic University of Gaza \\
Department of Electrical Engineering \\
EELE 4303/EELE 4103\\
Hw\#3-Fall 2024-2025
\end{tabular} & NAME: \\
\hline
\end{tabular}
The idea is to display the value of TMR0 of PIC16F877A in decimal format on 2 seven segment displays.
1. Connect two push buttons to the PIC: push_button_0 to the RA4/TOCKI pin. push_button_1 to any other pin.
2. Connect two common anode 7-segment displays to the PIC; to displays the value of TMRO, in decimal format, (TMRO will count, continuously, from 00 to 99).
3. Each time push_button_0 is pressed; TMRO register is incremented by 1.
4. Each time push_button_1 is pressed, TMRO register must be cleared.
Use MPLAB to generate the hex file.
Simulate your work using Proteus.
Use PIC16F877A
Submit an MPLAB project as a zip or tar file.
Submit a Proteus project as a zip or tar file.
\begin{tabular}{|l|l|}
\hline Hardware & Connections \\
\hline Left 7 segment display & PORTB \([7: 0]\rightarrow[\mathrm{dpg}\) fed c b a]\\
\hline Right 7 segment display & PORTD \(77: 0]\rightarrow[\mathrm{dp}\mathrm{fedcba}]\)\\
\hline Push button 1 & RA4\\
\hline Push button 2 & RC0\\
\hline
\end{tabular}
To choose 7 segment display in Proteus:
Pick Devices----> keywords=COM-AN
The following is the expected schematic for this assignment.
\ begin { tabular } { | l | l | l | } \ hline & \

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 Electrical Engineering Questions!