Skip to content

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

  1. LO-1In a typical microcomputer system will have information about the structure and operation.
  2. LO-2Operations of the microcomputer system applies the mathematics of binary numbers.
  3. LO-3Different types of microprocessors / microcontrollers and to make comparisons between the work selects the appropriate one.
  4. LO-4Microprocessor/microcontroller-based system designs.
  5. LO-5Microprocessor / microcontroller system uses in industrial applications in a modular way.
  6. LO-6Developing a new microprocessor / microcontroller systems, knowledge and understanding will have to follow.
  7. LO-7Develops the logic of embedded system programming.
  8. 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

WeekTopicPreparation / method
1General structure of the microcomputer system
2Examining CPU architecture
3Microprocessors and microcontrollers
comparison
4Adjusting the system clock
5Demonstrating the general purpose inputs-outputs
6Writing an example code via GPIOs and introducing the Integrated Development Environment (IDE) in detail.
7Configuration and usage of pins as a digital output via an example application
8MID-TERM EXAM
9Configuration and usage of pins as a digital input via an example application
10Register coding and array usage with binary number base. Explanation of binary, decimal and hexadecimal concepts.
11Single and multiple Analog-to-Digital Converter reading applications with various numbers of potentiometers.
12Coding of a transfer function from an analog temperature sensor to a microcontroller and simultaneous graphical monitoring of the temperature value
13The 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.
14Interrupt generation and a sample application.
15I2C protocol and a sample application on microcontroller
16Final 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

  1. PO-1Designs, assembles, tests, and operates analog and digital electronic circuits.
  2. PO-2Develops hardware- and software-based systems using computer programming and microcontroller applications.
  3. PO-3Designs, analyzes, and implements industrial automation, robotics, and control systems.
  4. PO-4Identifies hydraulic, pneumatic, and electromechanical systems; installs and implements their circuits.
  5. 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.
  6. PO-6Applies fundamental technical and engineering sciences in the analysis of mechatronic systems; performs physics- and mathematics-based calculations.
  7. 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.
  8. PO-8Identifies mechatronic systems and explains the interaction between their components.
  9. PO-9Identifies, uses, and applies sensor technologies and measurement techniques.
  10. PO-10Prepares technical drawings in accordance with engineering drawing standards; performs design and simulation using professional software required in the field.
LO-1LO-2LO-3LO-4LO-5LO-6LO-7LO-8
PO-100000000
PO-200000000
PO-300000000
PO-400000000
PO-500000000
PO-600000000
PO-700000000
PO-800000000
PO-900000000
PO-1000000000

ECTS workload

ActivityCountHoursTotal
Course duration(including the exam week: total course hours)16464
Final Exams11515
Out of class studying hours (prestudy, reinforcement)15460
Midterm Exam 211515
Total workload154
Total workload / 305
ECTS credit5
Course form Open in new tab