Microcontrollers (EE222) Course Detail

Course Name Course Code Season Lecture Hours Application Hours Lab Hours Credit ECTS
Microcontrollers EE222 Area Elective 3 2 0 4 7
Pre-requisite Course(s)
(CMPE102 veya CMPE113)
Course Language English
Course Type Elective Courses
Course Level Natural & Applied Sciences Master's Degree
Mode of Delivery Face To Face
Learning and Teaching Strategies Lecture, Experiment.
Course Coordinator
Course Lecturer(s)
  • Asst. Prof. Dr. Ali HOSSEINGHOLIPOORASL
Course Assistants
Course Objectives Basic microcontroller structure. Memory organization and addressing, addressing modes. Assembly language programming, C programming. Interrupts, interrupt programming. Interfacing with input and display devices. Timers, capture, compare and PWM operations. Serial communication. I2C Interface. A/D Conversion
Course Learning Outcomes The students who succeeded in this course;
  • Ability to write simple programs in assembly language (1,3,11)
  • Ability to write C programs for utilizing microcontroller resources such as I/O ports, timers, capture-compare-pwm modules, analog to digital converters, interrupts (1,3,11)
  • Be able to use microcontrollers as building blocks in electronic systems. (5)
  • Ability to run, and experimentally validate and debug code written in assembly language for a microcontroller system (1,2,11)
  • Ability to run, and experimentally validate and debug code written in C language for a microcontroller system (1,2,11)
  • Ability to describe recent microcontroller types and brands and their application fields (9,10)
Course Content Basic microcontroller structure, memory organisation and addressing, addressing modes, assembly language programming, C programming, interrupts, interrupt programming, interfacing with input and display devices, timers, capture, compare and PWM operations, serial communication, I2C interface, A/D conversion.

Weekly Subjects and Releated Preparation Studies

Week Subjects Preparation
1 Memory systems, Read-write, Read-only Memories, Arithmetic logic unit Glance at Lecture Notes 1
2 Simplified PIC18 microcontroller block diagram, introduction to microcontroller operation, Banked memory addressing Lab Experiment: Using MPLAB and ICD2 programmer/debugger Review last week and Glance this week’s topics from the lecture
3 Introduction to assembly language Lab Experiment: Interfacing LEDs and seven segment displays Review last week and Glance this week’s topics from the lecture
4 Introduction to assembly language Lab Experiment: Interfacing LEDs and seven segment displays Review last week and Glance this week’s topics from the lecture
5 Discrete I/O ports Lab Experiment: Building a 2-digit adder-subtractor. Review last week and Glance this week’s topics from the lecture
6 Conditional Branching and loops Lab Experiment: Timers and interrupts Review last week and Glance this week’s topics from the lecture
7 Indirect memory adressing Lab Experiment: Capture operation, building a tocometer Review last week and Glance this week’s topics from the lecture
8 Subroutine calling instructions and the program memory stack Lab Experiment: PWM operation, fan motor speed control Review last week and Glance this week’s topics from the lecture
9 Timers, Programming timers in assembly language Laboratory hands-on examination Review last week and Glance this week’s topics from the lecture
10 Timer interrupts, Programming timers in C language Lab Experiment: ADC, interfacing a sensor Review last week and Glance this week’s topics from the lecture
11 Compare operation, Programming the compare module in C language Lab Experiment: Builing a fan speed controller with temperature feedback and display Review last week and Glance this week’s topics from the lecture
12 Capture operation, Programming the Capture module in C language Lab Experiment: Builing a model elevator Review last week and Glance this week’s topics from the lecture
13 PWM operation, Programming the PWM module in C language Lab Experiment: Builing a model elevator (cont’d) Review last week and Glance this week’s topics from the lecture
14 Analog to digital and digital to analog conversion, programming ADC module in C language Overview of other microcontroller types and brands Laboratory hands-on examination Review last week and Glance this week’s topics from the lecture
15 Fİnal examination week Review last week and glance at this week’s topics from related book chapter
16 Fİnal examination week Review last week and glance at this week’s topics from related book chapter

Sources

Course Book 1. PIC Microcontroller and Embedded Systems Using Assembly and C for PIC18, Mazidi M. A., McKinlay R. D., Causey D.

Evaluation System

Requirements Number Percentage of Grade
Attendance/Participation - -
Laboratory 13 40
Application - -
Field Work - -
Special Course Internship - -
Quizzes/Studio Critics - -
Homework Assignments - -
Presentation - -
Project - -
Report - -
Seminar - -
Midterms Exams/Midterms Jury 2 30
Final Exam/Final Jury 1 30
Toplam 16 100
Percentage of Semester Work 100
Percentage of Final Work 0
Total 100

Course Category

Core Courses X
Major Area Courses
Supportive Courses
Media and Managment Skills Courses
Transferable Skill Courses

The Relation Between Course Learning Competencies and Program Qualifications

# Program Qualifications / Competencies Level of Contribution
1 2 3 4 5
1 Ability to apply knowledge on Mathematics, Science and Engineering to advanced systems. X
2 Implementing long-term research and development studies in the major fields of Electrical and Electronics Engineering. X
3 Ability to use modern engineering tools, techniques and facilities in design and other engineering applications. X
4 Graduating researchers active on innovation and entrepreneurship.
5 Ability to report and present research results effectively.
6 Increasing the performance on accessing information resources and on following recent developments in science and technology.
7 An understanding of professional and ethical responsibility.
8 Increasing the performance on effective communications in both Turkish and English.
9 Increasing the performance on project management.
10 Ability to work successfully at project teams in interdisciplinary fields.

ECTS/Workload Table

Activities Number Duration (Hours) Total Workload
Course Hours (Including Exam Week: 16 x Total Hours) 16 3 48
Laboratory 6 2 12
Application
Special Course Internship
Field Work
Study Hours Out of Class
Presentation/Seminar Prepration
Project
Report
Homework Assignments 7 11 77
Quizzes/Studio Critics
Prepration of Midterm Exams/Midterm Jury 2 10 20
Prepration of Final Exams/Final Jury 1 20 20
Total Workload 177