Professional Documents
Culture Documents
Course Description
This course introduces students to the principles of Microcontroller design and
applications. Students will be introduced to the AVR microcontroller architecture.
Moreover, the course introduces programming using AVR assembly language. Topics
introduced will include: Hardware Architecture, looping, branching, arithmetic and
logical operations, timer, interrupts, Parallel I/O and interfacing. .
Course Outcomes
A student who successfully fulfills the course requirements will have demonstrated an
ability to:
CO-1. Describe the AVR microcontroller architecture.
.
CO-2. Create software to communicate with the digital ports..
CO-3. Design and develop iterative and decision based subroutines in assembly
language. .
CO-4. Synthesize code that handle hardware and software interrupts. .
CO-5. Design and use timers in applications. .
CO-6. Interface external devices (Analog devices/Relays/PWM) to the
microcontroller. .
Topics Covered
1- ADC and interfacing via serial protocol and PWM..
2- Digital I/O interfacing..
3- Exposure to the AVR architecture (Harvard Architecture)..
4- High-level and low-level arithmetic operations on microcontrollers..
5- Introducing programming with assembly language..
6- Loop design and condition implementation..
7- Signal generation. .
8- Timers and Interrupt handling in software and hardware..
Prerequisites
- CSCI250, Introduction to Programming.
Co-requisites
- N/A
References
N/A
Course Schedule
Week TextBook/Reference Topic
Section 0.3 without the memory chips (until page
1 Mazidi- Chapter 0,1 20) Section 0.4 Section 1.1 (pages 40-41) Section
1.2 (Pages 44-48 and skip the block diagrams)
Chap2: AVR architecture and assembly language
2 Mazidi- Chapter 2
Sections 2.1-2.4 (skip page 74) Sections 2.5-2.8
continue chapter 2 Chap 5: Arithmetic, logic,
Mazidi- Chapters 2 rotation and shift operations. Section 5.1 (skip
3
and 5 addc and subc, skip division in pages 167-169)
Sections 5.2-5.5
Chap 3: Loops, decisions, stack Sections 3.1-3.2
4 Mazidi- Chapter 3
Skip delay calculation
Chap 4: I/O programming Sections 4.1-4.2 (all the
5 Mazidi- Chapter 4
chapter)
Chapter 6: In this chapter we have indirect
addressing modes and macros Sections 6.1-6.5
6 Mazidi- Chapter 6
(skip pages 223-225) Section 6.8 Skip look up
table and bit copy
Chap 8: AVR chip + oscillator + connecting inputs
Mazidi- Chapters 8 outputs Section 8.1 Chapter 9: Timer 1 in only
7
and 9 normal mode using assembly language (skip all C
parts)
Continue chapter 9: Timer 1 in only normal mode
8 Mazidi- Chapter 9
using assembly language (skip all C parts)
Chap 10: All interrupts using only assmebly (skip
9 Mazidi- Chapter 10
all C parts)
Chap 13: ADC, sensors interfacing using assembly
10 Mazidi- Chapter 13
language (skip C parts)
Marking Profile
Evaluation Date Time Room Weight Chapters Covered
Quizzes N/A
Test TBA TBA TBA 20% Chap. 0, 1 2, 5
Midterm TBA TBA TBA 30% Chap. 0,1,2,5,3,4
Assignments 10% Progressive
Project N/A
Final 35% All chapters
Attendance 5% Daily attendance
Assignments
Assignment
Chapter/Subject Assignment Details Due date
#
Special Notes
N/A