- Semester
- 2. Year - Spring Semester
- Type
- Compulsory
- Credit
- 4
- ECTS
- 8
- Language
- İngilizce
- Contact hours
- Lecture 3 · Practice 2 · Lab 0
On this page
Course Objective
The objective of this course is to introduce basic microcontroller architecture and operations, to teach how to program a microcontroller using both assembly language and C to implement a given design.
Course Content
Introduction to microcontrollers, instruction set, serial port operation, interrupt operation, assembly language programming, program structure and design, tools and techniques for program development, design and interface examples in assembly, design and interface examples.
Prerequisites
EE203
Delivery and Teaching Methods
- Face to face
- Lecture
- Question and answer
- Practice
- Problem solving
- Teamwork
Learning Outcomes and Contribution to Programme Outcomes
- 1Demonstrate the transfer of information, from register to register to memory for each instruction
- 2Describe the basis for interaction between the microcontroller and external hardware
- 3Explain the operation of microcontroller hardware, and be able to write programs using timers and counters.
- 4Define the operations performed by each assembly language instruction
- 5Define the operations performed by each C-language instruction for the microcontroller. Interpret and design C programs
- 6Develop mixed C/assembly language software
- 7Explain what occurs within the microcontroller on an interrupt and develop programs using interrupts
Weekly Topics
| Week | Topic |
|---|---|
| 1 | Microcontrollers |
| 2 | Assembly Language Programming |
| 3 | Jump, Loop, and Call Instructions |
| 4 | I/O Ports Programming |
| 5 | Addressing Modes |
| 6 | Arithmetic Instructions and Programs |
| 7 | Logic Instructions and Programs |
| 8 | Single-Bit Instructions and Programming |
| 9 | Timer/Counter Programming in the microcontroller |
| 10 | Serial Communication |
| 11 | Interrupts Programming |
| 12 | Real World Interfacing I: LCD, ADC and Sensors |
| 13 | Real World Interfacing II: Stepper Motor, Keyboard, DAC |
| 14 | Interfacing to External Memory |
| 15 | Review |
| 16 | Review |
Assessment
| Method | Number | Weight |
|---|---|---|
| Midtermexam | 2 | %40 |
| Lab | 1 | %25 |
| Finalexam | 1 | %35 |
| Total | %100 | |
ECTS Workload
| Activity | Number | Duration (hours) | Total |
|---|---|---|---|
| Laboratory | 1 | 15 | 15 |
| Lecture Hours (Including exam week: 16 x lecture hours) | 16 | 5 | 80 |
| Out-of-Class Study Time | 16 | 4 | 64 |
| Projects | |||
| Midterm Exam Preparation | 2 | 10 | 20 |
| Final Exam Preparation | 1 | 15 | 15 |
| Total workload (hours) | 194 | ||
| ECTS equivalent (workload / 30) | 6.5 | ||
Resources
- Textbook 8051 Microcontroller and Embedded Systems Using Assembly and C, Mazidi, Muhammad Ali, Prentice-Hall, 2nd edition, 2005
- Other The 8051 Microcontroller, I.Scott MacKenzie and Raphael C.-W. Phan, Prentice Hall, 2006
- Other Microcontroller Technology: The 68HC11 (4th Edition) by Peter Spasov , Prentice Hall; 4th edition, 2001
- Other 68HC11 Manual by Motorola (available on the Internet)
- Other http://comp.uark.edu/~wuj/teaching/eleg3923/
- Other http://embedded-system.net/picdem-lab-development-kit-for-pic-microcontrollers-microchip.html