24/10/2013
Embedded Systems Design ELEN90066
Lecture 22 Review and Exam Marks David Jahshan
Today
• Lecture Review
• Exam questions
• Assignment Marking
Exam Questions
• Did you understand what you did in the assignment?
• 5 Questions, 3 hours, no calculator
1. 8 Multiple choice questions
2. ATMEGA 16 and how it works
3. Code and code chain
4. PCB layout
5. Power budgeting, can you read data sheets and graphs from them
Multiple choice
• Multiple choice – write down only the correct answer(s) in your script book. You will lose 1 mark for each incorrect answer(s) for a minimum of 0 for each multiple choice question.
• May have multiple correct answers.
• Can not get less than 0 for each question.
Example Q1
• Why might you add a pull up resistor on your push button?
a) The marking sheet told me to add one
b) To ensure that the input to the uC is not floating when the switch is open
c) To assist the current to flow through the switch
d) To bias the switch to gnd
e) None of the above
Example Q2
• From the diagram (see datasheet figure 98 page 205) explain the steps to set up the ADC such that it samples ADC7 pin in reference to the internal 2.56v reference.
• Explain how to start a conversion and where the result is made available.
1
24/10/2013
Example Q3
• What does the following code do?
– SET(TCCR1A, _BV(CS10)|_BV(CS12), HIGH)
• Explain how the code is interpreted by the compiler
Example Q4
• Why would you place a small ground plane around the crystal with lots of vias?
Example Q5
• If you have a push button with one side wired to ground and the other side pulled high to 5 volts with a 10k resistor, how much power is dissipated in the 10k resistor when the switch is closed?
Student Experience Survey
• If you enjoyed the subject please take the time to fill out the survey, it provides useful feedback about the subject
Lecture Review
• Lecture 1 Introduction
• Lecture 2 Revision
• Lecture 3 Printed Circuit Boards
• Lecture 4 Schematic Layout
• Lecture 5 Power Supply
• Lecture 6 Buttons, Interrupts and LEDs
• Lecture 7 LEDs, SPI, LCD and RAM
• Lectures 8 Crystals and PCBs
• Lecture 9 Do’s and don’ts
• Lecture 10 Advanced PCB design
• Lecture 11 Finding components
Lecture Review
• Lecture 12 Microcontroller Internals 1
• Lecture 13 PCB Marking
• Lecture 14 Microcontroller Internals 2
• Lecture 15 Assembly testing and JTAG
• Lecture 16 C Code Chain
• Lecture 17 Interrupts and Good Code
• Lecture 18 Good Code and AVR studio
• Guest Lecture Silicon Fabrication
• Lecture 19 SPI and LCD interface
• Lecture 20 Exams at Unimelb
• Lectures 21 LCD and PWM
• Lecture 22 Exam and Review
2