- Semester
- Area Elective
- Type
- Elective
- 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
Contribution level ranges from 0 (none) to 5 (highest).
| PO | Programme outcome | Contribution level |
|---|---|---|
| PO1 | Gain sufficient knowledge in mathematics, science and computing; be able to use theoretical and applied knowledge in these areas to solve engineering problems related to information systems. | 3 |
| PO2 | To be able to identify, define, formulate and solve complex engineering problems; to be able to select and apply appropriate analysis and modeling methods for this purpose. | 0 |
| PO3 | Designs a complex system, process, device or product under realistic constraints and conditions to meet specific requirements; applies modern design methods for this purpose. | 0 |
| PO4 | To be able to develop, select and use modern techniques and tools required for the analysis and solution of complex problems encountered in information systems engineering applications; to be able to use information technologies effectively. | 0 |
| PO5 | Designs and conducts experiments, collects data, analyzes and interprets results to investigate complex engineering problems or research topics specific to the discipline of information systems engineering. | 0 |
| PO6 | Can work effectively in disciplinary and multidisciplinary teams; can work individually. | 0 |
| PO7 | a. Communicates effectively both orally and in writing; writes effective reports and understands written reports, prepares design and production reports, makes effective presentations, gives and receives clear and understandable instructions. b. Knows at least one foreign language. | 0 |
| PO8 | To be aware of the necessity of lifelong learning; to be able to access information, to be able to follow developments in science and technology and to be able to renew himself/herself continuously. | 0 |
| PO9 | a. Acts in accordance with the principles of ethics, gains awareness of professional and ethical responsibility. b. Gains knowledge about the standards used in information systems engineering applications. | 0 |
| PO10 | a. Gains knowledge about business life practices such as project management, risk management and change management. b. Gains awareness about entrepreneurship and innovation. c. Gains knowledge about sustainable development. | 0 |
| PO11 | a. To be able to acquire knowledge about the universal and social effects of information systems engineering applications on health, environment and safety and the problems of the era reflected in the field of engineering. b. Gains awareness of the legal consequences of engineering solutions. | 0 |
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