DM1588 Sensor Programming for Media Technology 6.0 credits

Sensorprogrammering för medieteknik

This course will focus on the programming of embedded platforms and how they can be used with sensors and actuators in the design of interactive applications.
  • Education cycle

    First cycle
  • Main field of study

    Computer Science and Engineering
  • Grading scale

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

Course offerings

Spring 20 sensor4media for programme students

  • Periods

    Spring 20 P4 (6.0 credits)

  • Application code


  • Start date


  • End date


  • Language of instruction


  • Campus

    KTH Campus

  • Tutoring time


  • Form of study


  • Number of places

    No limitation

  • Target group

    Searchable for CMETE.

  • Part of programme

Intended learning outcomes

After passing the course, the students should be able to:

  • explain basis for digital logic and design of digital electronics
  • program an embedded platform
  • use a programmable embedded platform with sensors and actuators
  • explain basic principles of electronics and logic of different sensors that is on market
  • at a general level describe the electronics and logic of different sensors available on market
  • explain the functioning of different sensors and actuators (e.g. ultrasonic sensors, temperature and humidity sensors, light sensors, accelerometers, magnetometers, pressure sensors, simple electrical and mechanical actuators),
  • recommend sensors that are appropriate to analyse a specific input modality
  • recommend actuators that are appropriate to implement a specific output modality
  • identify sensor technology appropriate for a specific task
  • program simple applications that uses input sensors and actuators
  • suggest sensor technology for design of an interactive application

in order to

  • be able to program embedded platforms and use sensors and actuators in design of interactive applications.

Course main content

The course gives an introduction to sensors and actuators and how they can be programmed and used in a commercial embedded system (as Arduino and Raspberry Pi). The course has both a theoretical part in which different properties of sensors and actuators and their respective input and output signals are examined and understood, as well as a practical part directed towards realisation of an interactive multi-modal installation.



Completed courses DD1318 Programming and scientific computations and DD1320 Applied computer science or the equivalent.


Information about the course literature will be announced in the course memo.

Required equipment


  • LAB1 - Laboratory work, 3.0, grading scale: P, F
  • PRO1 - Project, 3.0, grading scale: A, B, C, D, E, FX, F

The examiner decides, in consultation with KTH's coordinator for disabilities (Funka), about possible adapted examination for students with documented, permanent disabilities. The examiner may permit other examination format for re-examination of individual students.

Requirements for final grade

Offered by

EECS/Human Centered Technology



Course syllabus valid from: Autumn 2019.
Examination information valid from: Autumn 2019.