Ask Other Engineering Expert

Task 1:

Using the lab kit, design a circuit for the processor to control the output of a connected 7-segment LED display device. You will be provided with a standard common anode 7-segment display of the type FND-507 (or similar). You will also be provided with a 74LS47 BCD to 7-segment decoder/driver (datasheet). Your first task will be to design a suitable interface between the microcontroller and the 7-segment display using the 74LS47 decoder/driver chip and any other necessary components (noting that you will be responsible for replacing any components damaged as a result of inappropriate interfacing).

You should then write a program for the microcontroller that will enable a sequence of digits to be displayed onto the 7-segment display according to user selection. When the system is started the 7-segment display should be initially blank and a menu should be displayed on the Nerd Kit LCD display.

This menu should allow the user to select one of three functions:

Function 1: The first menu option should cause the 7-segment display to show a sequence of numbers starting at 0 and counting up sequentially to 9, after which the value displayed should revert back to 0 and then continue counting up again. Each value should be displayed for -Is before the display switches to the next value. The counting should continue until any keypress is detected on the keypad at which point it should stop, the 7-segment display should be cleared, and the LCD display should once again show the main menu.

Function 2: This function should exhibit the same behaviour as function 1, except that the count should start at 9 and count downwards, resetting back to 9 after reaching 0.

Function 3: Selecting the third menu option should prompt the user to enter a sequence of 5 single digit numeric values. Once the 5 values have been entered, these values should be displayed sequentially in a loop, in the same order in which they were entered by the user, until a key is pressed, at which point the 7-segment display should be cleared, and the LCD display should once again show the main menu.

Even though the 'user interface' is limited to the LCD screen and keypad, marks will be given for making this as 'user-friendly' as possible.

Note: You can use your solution to Assignment 1 Task 1 as the basis (design) for this task, appropriately modified for the supplied components.

Task 2:

For this task you will need to add an additional menu option (function) to the program developed for Task 1.

Function 4: This function will be a "Reaction Speed Test". When this menu option is selected the LCD display should indicate to the user that once the test begins, they should press a key on the keypad as soon as they see the digit "0" displayed on the 7-segment LED display. They should then be prompted to press any key to start the test.

4 (a) Preparation: Once a subsequent keypress is detected, the 7-segment display should display a countdown "3", "2", "1".

4 (b) Test: Immediately after the countdown, a random sequence of single digit numeric values should be displayed (in the range 0 - 9) at intervals.

o Once a keypress is detected, if the "0" digit was not displayed at the time then the LCD display should indicate that this was a failed attempt.

o If a "0" digit was displayed at the time of the keypress, then the LCD display should report the time in milliseconds between the point when the "0" was displayed and the point when the keypress was detected.

o A further keypress after this should clear the 7-segment LED display and revert back to the main menu.

Note: You can use your solution to Assignment 1 Task 2 as the basis for the timing aspects of this task.

Other Engineering, Engineering

  • Category:- Other Engineering
  • Reference No.:- M93116353
  • Price:- $50

Guranteed 36 Hours Delivery, In Price:- $50

Have any Question?


Related Questions in Other Engineering

Register design a cpu register is simply a row of

Register design A CPU register is simply a row of flip-flops (i.e. SR, JK, T, etc) put side by side in an array to make the size of register required. For example, an 8 bit register has 8 flip-flops side by side for stor ...

A detailed review of spatial modulation and simulation

A Detailed Review of Spatial Modulation and Simulation Learning Outcomes a. Learn how to model mobile communication channels d. Discern knowledge development and directions on the recent advances in 4G to the research pr ...

Mine safety amp environmental engineering assignment -part

Mine Safety & Environmental Engineering Assignment - Part 1 - Questions 1. Occupational health and safety is the primary factor that needs to be considered in the mining industry. Discuss this statement. 2. Define the fo ...

Projectflow processing of liquor in a mineral refining

Project Flow Processing of Liquor in a Mineral Refining Plant The aim of this project is to design a flow processing system of liquor (slurry) in a mineral (aluminum) refining plant. Aluminum is manufactured in two phase ...

Learning outcomes evaluate multiuser communication and

Learning Outcomes Evaluate multiuser communication and resource sharing techniques; Apply the techniques of, and report on, digital communication applications using Matlab and hardware devices. Assignment Description The ...

Operations engineering assignment -please select only one

Operations Engineering Assignment - Please select only one of the following case studies for your assignment: CASE A. Tesla Motors Tesla is an innovative manufacturer that designs, assemble and sells fully electric vehic ...

Select a risk problem from the list below and prepare a

Select a risk problem from the list below and prepare a risk management plan in accordance with AS/NZS ISO 31000:2009. Please ensure that: - Establish the context clearly, in accordance with the Standard; - Define your s ...

Engineering materials term paper assignment -conduct a

ENGINEERING MATERIALS TERM PAPER ASSIGNMENT - Conduct a thorough literature search and write a 15-20 page technical review paper on the evolution of the engineering materials used in the manufacturing of any one of the f ...

Task 1using the lab kit design a circuit for the processor

Task 1: Using the lab kit, design a circuit for the processor to control the output of a connected 7-segment LED display device. You will be provided with a standard common anode 7-segment display of the type FND-507 (or ...

Control theory - lab reportsfor experiments 1 to 4 you must

Control Theory - Lab Reports For experiments 1 to 4 you must undertake the following: a) At the start of each section (including the pre-lab activities) there are a number learning outcomes. That is, what students should ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As