Microcontrollers
Vocational School of Technical SciencesMechatronics
- Code
- MKD001
- Term
- 2026-2027 Fall Semester
- Theory
- 3
- Prac.-Lab
- 1-0
- Credit
- 3.5
- AKTS
- 5
- Course type
- Required
- Level
- Associate
- Language
- Turkish
- Category
- expertise / field courses
- Prerequisites (recommended)
- -
- Lecturer
- Associate Professor Dr. EMREHAN YAVŞAN
Course objective
Microprocessor / Microcontroller setting up a system, a basic level of teaching students how to write and post the program to run on this system.
Learning outcomes
- LO-1In a typical microcomputer system will have information about the structure and operation.
- LO-2Operations of the microcomputer system applies the mathematics of binary numbers.
- LO-3Different types of microprocessors / microcontrollers and to make comparisons between the work selects the appropriate one.
- LO-4Microprocessor/microcontroller-based system designs.
- LO-5Microprocessor / microcontroller system uses in industrial applications in a modular way.
- LO-6Developing a new microprocessor / microcontroller systems, knowledge and understanding will have to follow.
- LO-7Develops the logic of embedded system programming.
- LO-8Establish the microcontroller based systems and control them.
Course content
General Structure of Microcomputer System, Comparison of Microprocessors and Microcontrollers, Microprocessor / Microcontroller System Installation, Programming, Programming.
Weekly topics
| Week | Topic | Preparation / method |
|---|---|---|
| 1 | General structure of the microcomputer system | |
| 2 | Examining CPU architecture | |
| 3 | Microprocessors and microcontrollers comparison | |
| 4 | Adjusting the system clock | |
| 5 | Demonstrating the general purpose inputs-outputs | |
| 6 | Writing an example code via GPIOs and introducing the Integrated Development Environment (IDE) in detail. | |
| 7 | Configuration and usage of pins as a digital output via an example application | |
| 8 | MID-TERM EXAM | |
| 9 | Configuration and usage of pins as a digital input via an example application | |
| 10 | Register coding and array usage with binary number base. Explanation of binary, decimal and hexadecimal concepts. | |
| 11 | Single and multiple Analog-to-Digital Converter reading applications with various numbers of potentiometers. | |
| 12 | Coding of a transfer function from an analog temperature sensor to a microcontroller and simultaneous graphical monitoring of the temperature value | |
| 13 | The concept of Digital-Analog Converter (DAC) and a practical example. Generation of a sine signal using a DAC and timer peripherals and observation of the signal on an oscilloscope. | |
| 14 | Interrupt generation and a sample application. | |
| 15 | I2C protocol and a sample application on microcontroller | |
| 16 | Final Exam |
Sources and materials
- Lecture notes
- STM32F1x and STM32F4x Reference manuals
- Other sources
- STM32F1x and STM32F4x app. notes and datasheets
- Exams
- Detailed solution of the midterm exam questions will be given in the first lecture following the midterm exam.
Assessment
- Arasınav 1 %30
- Dönem Sonu Sınavı %70
Relation to programme outcomes
- PO-1Designs, assembles, tests, and operates analog and digital electronic circuits.
- PO-2Develops hardware- and software-based systems using computer programming and microcontroller applications.
- PO-3Designs, analyzes, and implements industrial automation, robotics, and control systems.
- PO-4Identifies hydraulic, pneumatic, and electromechanical systems; installs and implements their circuits.
- PO-5Works individually or as a team member with awareness of occupational health and safety, quality, environmental, and ethical responsibilities; prepares technical reports, develops projects, communicates effectively in written and oral form, and demonstrates foreign language proficiency required for the profession.
- PO-6Applies fundamental technical and engineering sciences in the analysis of mechatronic systems; performs physics- and mathematics-based calculations.
- PO-7Utilizes knowledge of materials and manufacturing techniques in the design and production of mechatronic systems; operates machine tools and applies flexible manufacturing techniques within Computer-Aided Manufacturing (CAM) processes.
- PO-8Identifies mechatronic systems and explains the interaction between their components.
- PO-9Identifies, uses, and applies sensor technologies and measurement techniques.
- PO-10Prepares technical drawings in accordance with engineering drawing standards; performs design and simulation using professional software required in the field.
| LO-1 | LO-2 | LO-3 | LO-4 | LO-5 | LO-6 | LO-7 | LO-8 | |
|---|---|---|---|---|---|---|---|---|
| PO-1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| PO-2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| PO-3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| PO-4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| PO-5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| PO-6 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| PO-7 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| PO-8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| PO-9 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| PO-10 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
ECTS workload
| Activity | Count | Hours | Total |
|---|---|---|---|
| Course duration(including the exam week: total course hours) | 16 | 4 | 64 |
| Final Exams | 1 | 15 | 15 |
| Out of class studying hours (prestudy, reinforcement) | 15 | 4 | 60 |
| Midterm Exam 2 | 1 | 15 | 15 |
| Total workload | 154 | ||
| Total workload / 30 | 5 | ||
| ECTS credit | 5 | ||