Can you help me with a functional calculator code please?

Oct 20th, 2015
DreamIt
Category:
Engineering
Price: $150 USD

Question description

Required Task 

Laboratory based embedded system design and Technical Report.

Assignment Brief

You will be required to design, build and test a microcontroller based project. You will also be required to produce a technical report based on the project design, build and test. The project will be programmed using Assembly or Embedded C languages, whichever you are more confident writing. When choosing a project, you will need to consider the availability of hardware, the time you have available to you and your programming skills. You may search around the internet for some Microcontroller based project ideas.

An example of small scale Project:

Fig.1 represents a very simple application that can be developed using microcontrollers:

Fig. 1 Programmed Calculator

There are three inputs: Input A, Input B and select in the figure. There are four functionalities provided to the user i.e. addition, subtraction, multiplication and division.

There is one output in the system (i.e. result) which will vary according to the functionality selected by the user. 

The select input decides the function to be executed by the microcontroller on Input A and Input B. The detailed functionality is explained in the table 1

SelectFunctionalityInput AInput BResult  

1Sumxyx + y  

2Subtractxyx - y  

3Multiplyxyx * y  

4Divisionxyx / y 

Table 1 

In this example we assume, the inputs are taken using push buttons on EB083 Combo Board shown in Fig 2 while the output is validated using seven segment display on EB083 Combo Board. However the students are open to:

Program any functionality using the assembly/ C language in microcontroller. Do not stick to the same example explained above

Use any interface for inputs. For example, the slide switches and switch matrix can also be used as a source for taking inputs from the user instead  of push buttons

Use any interface for showing output. For example, LED’s and LCD can also be utilized as a source for displaying output instead of seven segment display


Tutor Answer

(Top Tutor) Daniel C.
(997)
School: Duke University
PREMIUM TUTOR

Studypool has helped 1,244,100 students

5 Reviews


Summary
Quality
Communication
On Time
Value
ashleyisgod
Nov 26th, 2016
" Top quality work from this guy! I'll be back! "
Molly_Moon
Nov 3rd, 2016
" AMAZING as always! "
Hemapathy
Oct 12th, 2016
" all I can say is wow very fast work, great work thanks "
BlueOcean
Sep 28th, 2016
" Awesome! Exactly what I wanted. "
kevin12622
Sep 19th, 2016
" Goes above and beyond expectations ! "
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1828 tutors are online

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors