Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

WORKNG SHOULD BE DONE N (PROTEUS 8) **** UPLOAD SCREENSHOT OF THE WORK**** AND***** COPY OF THE CODES DONE***** Use the following components from the

image text in transcribed

WORKNG SHOULD BE DONE N (PROTEUS 8)

**** UPLOAD SCREENSHOT OF THE WORK****

AND***** COPY OF THE CODES DONE*****

Use the following components from the Proteus library: PIC16F877 7SEG-MPX2-CC LED-BLUE (3 items) LED-GREEN LED-YELLOW KEYPAD-SMALLCALC Connect items to the microcontroller: (1) Connect the keypad to the PORTC; (2) Connect the 7-segment display unit to PORTB (data) and the lowest to pins of PORTE (selection); (3) Connect three blue LEDs to the highest four pins of PORTC, and (4) Connect other LEDs as you wish. This configuration should function as a simple calculator: It accepts one or two-digit numbers and three operators (+,-./) (divide operator results, integer division). A green LED should be on while the user is expected to enter numbers. If the user enters a third digit while entering any number, a yellow LED should warn the user by blinking. After entering the first number, the user should select the operation and enter the second number. The user should press the equality (=) key to display the result on display. One of the blue LEDs should indicate the selected operation (+,-/). The 7-segment display shows the first pressed number on the right digit. If the user presses the second number, the first number should shift to the left, and the second number should be on the right. Please consider that the user may enter one or two-digit numbers. The yellow LED becomes ON to indicate the number on display is the result. If the result is negative or greater than 99, the green LED should blink

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

JDBC Database Programming With J2ee

Authors: Art Taylor

1st Edition

0130453234, 978-0130453235

More Books

Students also viewed these Databases questions

Question

6. Discuss the steps involved in conducting a task analysis.

Answered: 1 week ago