MF2042 Embedded Systems for Mechatronics, I 6.0 credits

Inbyggda system för Mekatronik, I

The overall aim of the course is to provide an understanding of the design and implementation of embedded systems in the context of Mechatronic products, with emphasis on basic technologies and elements of design.

Offering and execution

Course offering missing for current semester as well as for previous and coming semesters

Course information

Content and learning outcomes

Course contents *

The course includes

  • Lectures to provide overview and inspiration.
  • Tutorials where new tools and techniques are introduced through detailed instruction.
  • Laboratory exercises where the tools and techniques are used on a set of tasks.
  • Each week of the course focuses on a specific theme. The exercises are modularized according to these themes.

Intended learning outcomes *

After the course, you should be able to:

1. Provide examples of existing embedded systems based products and describe the special requirements placed in developing such systems.

2. Use modern integrated development environments for microcontroller/processor programming and their features for testing and debugging.

3. Understand the basics of Model-Based Development, and apply it in the context of embedded systems development.

4. Describe and explain the basic operation of microcontrollers/microprocessors, their internal features and peripherals.

5.  Develop basic microcontroller programs for mechatronic applications, including the usage of I/O and communication peripherals.

6. Describe, explain and apply some of the basic concepts of communication protocols, in particular with reference to the Controller Area Network (CAN).

Course Disposition

No information inserted

Literature and preparations

Specific prerequisites *

A Bachelor of Science, mechanical engineering, or the equivalent

Have passed the course MF1016 or gained equivalent experience in electrical engineering.

Have passed the course DD1320/DD1321 or gained equivalent experience in programming techniques.

Recommended prerequisites

Bachelor level in Machine Design including Electrical Engineering, Programming and a basic course in mechatronics.

The course builds upon knowledge and experiences with

- Programming, preferably including the C-language and basic machine level/assembly language programming.

- Previous experience with sensors and actuators (at least one course where basic concepts and laboratory exercises were included)

- Matlab/Simulink, or similar tools for modeling and simulation.

Basic courses/knowledge in control theory and signal processing are preferred but not required.


No information inserted


All course material and literature will be available on-line.

Examination and completion

Grading scale *

A, B, C, D, E, FX, F

Examination *

  • LAB5 - Laborations, 3.0 credits, Grading scale: P, F
  • TEN2 - Examination, 3.0 credits, Grading scale: A, B, C, D, E, FX, F

Based on recommendation from KTH’s coordinator for disabilities, the examiner will decide how to adapt an examination for students with documented disability.

The examiner may apply another examination format when re-examining individual students.

Opportunity to complete the requirements via supplementary examination

No information inserted

Opportunity to raise an approved grade via renewed examination

No information inserted


Martin Törngren

Further information

Course web

Further information about the course can be found on the Course web at the link below. Information on the Course web will later be moved to this site.

Course web MF2042

Offered by

ITM/Machine Design

Main field of study *

Mechanical Engineering

Education cycle *

Second cycle

Add-on studies



Jad El-khoury, 08-790 6877,

Ethical approach *

  • All members of a group are responsible for the group's work.
  • In any assessment, every student shall honestly disclose any help received and sources used.
  • In an oral assessment, every student shall be able to present and answer questions about the entire assignment and solution.

Supplementary information

You will be offered to do a mid-course written test - KS. Results from this KS can be then used as an alternative to answering an equivalent part in the final written examination TEN2. The KS results can only count for the coming ordinary exam (and cannot be carried over to future re-exams).