Microcontrollers (EE222) Course Detail

Course Name Course Code Season Lecture Hours Application Hours Lab Hours Credit ECTS
Microcontrollers EE222 3 2 0 4 7
Pre-requisite Course(s)
CMPE 102
Course Language English
Course Type N/A
Course Level Bachelor’s Degree (First Cycle)
Mode of Delivery Face To Face
Learning and Teaching Strategies Lecture, Experiment.
Course Coordinator
Course Lecturer(s)
  • Asst. Prof. Dr. Mehmet Efe ÖZBEK
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 Adequate knowledge of subjects related to mathematics, natural sciences, and Electrical and Electronics Engineering discipline; ability to apply theoretical and applied knowledge in those fields to the solution of complex engineering problems. X
2 An ability to identify, formulate, and solve complex engineering problems, ability to choose and apply appropriate models and analysis methods for this. X
3 An ability to design a system, component, or process under realistic constraints to meet desired needs, and ability to apply modern design approaches for this. X
4 The ability to select and use the necessary modern techniques and tools for the analysis and solution of complex problems encountered in engineering applications; the ability to use information technologies effectively X
5 Ability to design and conduct experiments, collect data, analyze and interpret results for investigating complex engineering problems or discipline-specific research topics. X
6 An ability to function on multi-disciplinary teams, and ability of individual working. X
7 Ability to communicate effectively orally and in writing; knowledge of at least one foreign language; active report writing and understanding written reports, preparing design and production reports, the ability to make effective presentation the ability to give and receive clear and understandable instructions. X
8 Awareness of the necessity of lifelong learning; the ability to access knowledge, follow the developments in science and technology and continuously stay updated. X
9 Acting compliant with ethical principles, professional and ethical responsibility, and knowledge of standards used in engineering applications. X
10 Knowledge about professional activities in business, such as project management, risk management, and change management awareness of entrepreneurship and innovation; knowledge about sustainable development. X
11 Knowledge about the impacts of engineering practices in universal and societal dimensions on health, environment, and safety. the problems of the current age reflected in the field of engineering; awareness of the legal consequences of engineering solutions. X

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