Programming of Microcontrollers

Subject description

The subject is a logical continuation of the Introduction to computer programming although it can be regarded as an independent unit as well. It is sectioned into three main topics:

-Introduction to C programming with emphasis on differences between C and JavaScript:

  -script languages and compilers

  -operating systems

  -operators

  -data types

-objects and variables

-C programming language

  -data structures

  -programming techniques

  -low-level operations

-Learning board Arduino

  -basics of embedded systems

  -connecting and control of peripheral devices

  -multitasking and real-time systems

  -basic interrupt mechanism

The subject is taught in programs

Objectives and competences

Students will have basic knowledge of C programming language. They will learn basic microcontroller principles, device connecting and basic real time systems principles.

Teaching and learning methods

Lectures, practical demonstrations, laboratory work, individual work with advanced students, web technologies, homeworks

Expected study results

After successful completion of the course, students should be able to:

-list and describe basic components of a microcomputer system

-explain the role of the basic computer components and how they work

-explain disturbing physical phenomena that can be solved using programmatic solutions

-identify the challenges that come with embedded, multitasking, and real-time systems

-develop a simple embedded system

-evaluate the significance of time and memory efficiency of a program solution

-build a reliable real-time system

-evaluate the efficiency of a specific solution in terms of the usage of resources, market price, reliability and maintainability

Basic sources and literature

1. I. Fajfar, J. Olenšek: Osvojimo C – C89, C99 in primeri programiranja mikrokrmilnikov, Založba FE, 2020

2. S. G. Kochan: Programming in C (4th Edition), 2014

3. K. N. King: C Programming – A Modern Approach, 2008

4. H. Schildt: Teach Yourself C, McGraw-Hill, 1997

5. R. P. Halpern: C for Yourself: Learning C Using Experiments, Oxford University Press, 1997

5. How C Programming Works (www.howstuffworks.com)

6. Spletna stran, www.cprogramming.com

Stay up to date

University of Ljubljana, Faculty of Electrical Engineering Tržaška cesta 25, 1000 Ljubljana

E:  dekanat@fe.uni-lj.si T:  01 4768 411