7-segment LED displays are commonly used in microcontroller
7-segment LED displays are commonly used in microcontroller applications. The datasheet for theSA05-11GWA LED display is attached. Your task is to ‘design’ an interface between the AtmelATmega168 microcontroller and this particular display.1. Refer to the datasheet, pick out all the relevant electrical interface data (this is a veryimportant practical skill!) and list them. For each item describe/name the item and explainwhy 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 themicroprocessor’s interface ratings.2. Produce a circuit diagram with details of all elements required to allow the processor to drivethis particular LED display properly. You should provide copies of the datasheets for anyelements you may choose to include in your design (except passive elements such as resistorsand capacitors).3. Describe how your circuit elements address the interfacing requirements. Please ensure thatyou consider both the Atmega168 and LED display requirements / specifications, and justifyany 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 thesubroutine).5. Write the assembler code for the Atmel ATmega168 that would display the number ‘0’ on