must be A+ work dear

timer Asked: Sep 18th, 2014

Question description

Task 1: Interfacing a 7-segment LED display (25 marks)
7-segment LED displays are commonly used in microcontroller applications. The datasheet for the SA05-11GWA LED display is attached. Your task is to ‘design’ an interface between the Atmel ATmega168 microcontroller and this particular display.

1. Refer to the datasheet, pick out all the relevant interface data (this is a very important practical skill!) and list them. For each item describe/name the item and explain why it is relevant to your interface design. Give values where appropriate.
Note: Make sure you get details of the right model, and that you also consider the microprocessor’s interface ratings.

2. Produce a circuit diagram with details of all elements required to allow the processor to drive this particular LED display properly. You should provide copies of the datasheets for any elements you may choose to include in your design (except passive elements such as resistors and capacitors).

3. Describe how your circuit elements address the interfacing requirements. Please ensure that you consider both the Atmega168 and LED display requirements / specifications, and justify any decisions made, including any calculations if required.

4. Write a C subroutine that will enable the display of the digits ‘0’ to ‘9’ and characters ‘A’ to ‘F’ (for hex numbers) on the LED display (specified by a parameter passed to the subroutine). Note: Assume you are using the NerdKit as in the labs.

5. Write the assembler code for the Atmel ATmega168 that would display the number ‘0’ on the LED display if the value of the parameter in register R5 is zero.

Tutor Answer

(Top Tutor) Studypool Tutor
School: Duke University
Studypool has helped 1,244,100 students
flag Report DMCA
Similar Questions
Hot Questions
Related Tags

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