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

Engineering analysis homework -for every problem provide

Engineering Analysis Homework - For every problem, provide The MATLAB script/function files that solve the problems. Problem 1: Write a script that solves the problem. For (c), show results of the evaluation of every ind ...

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 ...

Question 1 define rock mechanics discuss the main

Question 1 . Define rock mechanics. Discuss the main objectives of the application of rock mechanics in mining. Question 2. Define stress. Draw a diagram and define the normal and shear stress by resolving the resultant ...

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 ...

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 ...

Engineering analysis assignment -for every problem provide

Engineering Analysis Assignment - For every problem, provide The MATLAB script/function files that solve the problems. Problem 1: Plot the function f(t) = (x+5) 2 /(4+3x 2 ) for -3 ≤ x ≤ 5. using plot command. Use the ar ...

Conceptual design of forced-free-mixed convection

Conceptual Design of Forced-Free-Mixed Convection Experiment This assessment is to be completed individually. 1. Learning Outcomes: - Develop a basic ability to conceptually design an experimental apparatus - Use theory ...

Q 1a discontinuity is found fully developed from the toe to

Q. 1 A discontinuity is found fully developed from the toe to the bench surface on a 15 m high slope, slope angle 65°. The discontinuity (frictional angle 32° and cohesion 20 kN/m2) is planar and its strike is parallel t ...

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 ...

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