7 segment display AtMega168 AVR Microprocessor

User Generated

zbqjvw

Engineering

UND

Description

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 electrical 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). 5. Write the assembler code for the Atmel ATmega168 that would display the number ‘0’ on

User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

This question has not been answered.

Create a free account to get help with this and any other question!

Related Tags