Microcontrollers (MECE228) Course Detail

Course Name Course Code Season Lecture Hours Application Hours Lab Hours Credit ECTS
Microcontrollers MECE228 4. Semester 3 2 0 4 5
Pre-requisite Course(s)
N/A
Course Language English
Course Type Compulsory Departmental Courses
Course Level Bachelor’s Degree (First Cycle)
Mode of Delivery Face To Face
Learning and Teaching Strategies .
Course Coordinator
Course Lecturer(s)
Course Assistants
Course Objectives This course aims to introduce the basics of embedded control. Students will have a sound knowledge on: microcontrollers, microcontroller architecture, assembly programming, microcontroller peripherals, high-level embedded programming and real-time operating systems. Students will have the chance to experience hands-on exercises to practice microcontroller programming and interfacing. Students will work on several projects to understand the important role of microcontrollers in real world applications.
Course Learning Outcomes The students who succeeded in this course;
  • 1. to learn fundamental principles of embedded control and microcontrollers,
  • 2. to understand and practice on design and implementation of mechatronic products based on microcontrollers, sensors, actuators and embedded software programming,
  • 3. to learn how to process real time data with a microcontroller to meet the design specifications.
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 Bellek sistemleri, Oku-yaz bellekler, salt oku bellekler, Aritmetik
2 Sadeleştirilmiş PIC18 mikrodenetleyici blok çizeneği, mikrodenetleyici işleyişine giriş, kümeli bellek adresleme Laboratuvar deneyi: MPLAB ve ICD2’nun kullanılışı
3 Çevirme (assembly) diline giriş Laboratuvar deneyi: LED ve 7-bölütlü göstergelerin bağlanması
4 Introduction to assembly language Lab Experiment: Interfacing LEDs and seven segment displays
5 Discrete I/O ports Lab Experiment: Building a 2-digit adder-subtractor.
6 Koşullu dallanma ve ve döngüler Laboratuvar deneyi: Zaman ölçerler ve kesmeler
7 Indirect memory adressing Lab Experiment: Capture operation, building a tocometer
8 Subroutine calling instructions and the program memory stack Lab Experiment: PWM operation, fan motor speed control
9 Timers, Programming timers in assembly language Laboratory hands-on examination
10 Zamanölçer kesmeleri, zamanölçerlerin C dilinde programlanması Laboratuvar deneyi: Analog sayısal dönüşüm, duyucu bağlanması
11 Compare operation, Programming the compare module in C language Lab Experiment: Builing a fan speed controller with temperature feedback and display
12 Capture operation, Programming the Capture module in C language Lab Experiment: Builing a model elevator
13 PWM operation, Programming the PWM module in C language Lab Experiment: Builing a model elevator (cont’d)
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
15 Exam Week
16 Exam Week

Sources

Evaluation System

Requirements Number Percentage of Grade
Attendance/Participation - -
Laboratory - -
Application - -
Field Work - -
Special Course Internship - -
Quizzes/Studio Critics - -
Homework Assignments - -
Presentation - -
Project - -
Report - -
Seminar - -
Midterms Exams/Midterms Jury - -
Final Exam/Final Jury - -
Toplam 0 0
Percentage of Semester Work
Percentage of Final Work 100
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. X
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. X
7 An ability to express creative and original concepts and ideas effectively in Turkish and English language, oral and written, and technical drawings.
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 Consciousness 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.

ECTS/Workload Table

Activities Number Duration (Hours) Total Workload
Course Hours (Including Exam Week: 16 x Total Hours)
Laboratory
Application
Special Course Internship
Field Work
Study Hours Out of Class
Presentation/Seminar Prepration
Project
Report
Homework Assignments
Quizzes/Studio Critics
Prepration of Midterm Exams/Midterm Jury
Prepration of Final Exams/Final Jury
Total Workload 0