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 Accumulated knowledge on mathematics, science and mechatronics engineering; an ability to apply the theoretical and applied knowledge of mathematics, science and mechatronics engineering to model and analyze mechatronics engineering problems. X
2 An ability to differentiate, identify, formulate, and solve complex engineering problems; an ability to select and implement proper analysis, modeling and implementation techniques for the identified engineering problems. X
3 An ability to design a complex system, product, component or process to meet the requirements under realistic constraints and conditions; an ability to apply contemporary design methodologies; an ability to implement effective engineering creativity techniques in mechatronics engineering. (Realistic constraints and conditions may include economics, environment, sustainability, producibility, ethics, human health, social and political problems.) X
4 An ability to develop, select and use modern techniques, skills and tools for application of mechatronics engineering and robot technologies; an ability to use information and communications technologies effectively. X
5 An ability to design experiments, perform experiments, collect and analyze data and assess the results for investigated problems on mechatronics engineering and robot technologies.
6 An ability to work effectively on single disciplinary and multi-disciplinary teams; an ability for individual work; ability to communicate and collaborate/cooperate effectively with other disciplines and scientific/engineering domains or working areas, ability to work with other disciplines.
7 An ability to express creative and original concepts and ideas effectively in Turkish and English language, oral and written.
8 An ability to reach information on different subjects required by the wide spectrum of applications of mechatronics engineering, criticize, assess and improve the knowledge-base; consciousness on the necessity of improvement and sustainability as a result of life-long learning; monitoring the developments on science and technology; awareness on entrepreneurship, innovative and sustainable development and ability for continuous renovation.
9 Be conscious on professional and ethical responsibility, competency on improving professional consciousness and contributing to the improvement of profession itself.
10 A knowledge on the applications at business life such as project management, risk management and change management and competency on planning, managing and leadership activities on the development of capabilities of workers who are under his/her responsibility working around a project.
11 Knowledge about the global, societal and individual effects of mechatronics engineering applications on the human health, environment and security and cultural values and problems of the era; consciousness on these issues; awareness of legal results of engineering solutions.
12 Competency on defining, analyzing and surveying databases and other sources, proposing solutions based on research work and scientific results and communicate and publish numerical and conceptual solutions.
13 Consciousness on the environment and social responsibility, competencies on observation, improvement and modify and implementation of projects for the society and social relations and be an individual within the society in such a way that planing, improving or changing the norms with a criticism
14 A competency on developing strategy, policy and application plans on the mechatronics engineering and evaluating the results in the context of qualitative processes.

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