Course detail

Microcontroller Applications

FEKT-NMIAAcad. year: 2013/2014

Students become familiar with advanced functions of C for microcontrollers and with the ways of developing complex applications. Further, the most common peripherals, the way of controlling them and different sensor communication and connections are described. In frame of an individual project, students will design and realize own microcontroller project.

Language of instruction

English

Number of ECTS credits

6

Mode of study

Not applicable.

Learning outcomes of the course unit

The graduate is able:
- describe different microprocessor blocks including advanced functions
- describe principles and basic realization of real time operation system (RTOS)
- identify differences and describe usage of different types of variables
- discuss different types of displays for microprocessor applications
- discuss advantages and disadvantages of different busses for microprocessors
- design connection of different microcontroller peripheral
- design and assemble own device with microcontroller including sw

Prerequisites

Attendant should be able to:
- describe main microcontroller blocks and their function
- design simple C program
- design program for setup of basic peripherals, interrupt control and separate functions and function calls
- analyze simple electronics circuits with passive parts and transistors and choose corresponding way of connecting to the microprocessor.
The subject knowledge on the Bachelor´s degree level is requested.

Co-requisites

Not applicable.

Planned learning activities and teaching methods

Techning methods include lectures and laboratories. Students have to write a single project during the course.

Assesment methods and criteria linked to learning outcomes

Student can obtain up to 30 points for activities in computer labs. An individual project is honored by 30 points (maximally), and the final test can be honored by up to 40 points.

Course curriculum

1. AVR GCC special functions, AVR bootloader.
2. Variables (global, local ...), memory placement
3. Using the pointers, arrays, state machine, in processor programming.
4. Functions, calls, function pointers, tables.
5. RTOS
6. Communication busses usable by microprocessor.
7. Communication with external sensors (pressure, temperature...).
8.. Timers/counters, proper time measurement. PWM.
9. LCD character/graphics displays, controllers, usage. Basics of vector graphic.
10. Power down modes.
11. DC motors and stepper motors.
12. Trends in microcontrollers development, 16 and 32 bit processors.
13. External lecture.

Work placements

Not applicable.

Aims

Deepen the students' knowledge about microprocessor technique and familiarize them with some advanced periphery and technologies.

Specification of controlled education, way of implementation and compensation for absences

The content and forms of instruction in the evaluated course are specified by a regulation issued by the lecturer responsible for the course and updated for every academic year.

Recommended optional programme components

Not applicable.

Prerequisites and corequisites

Not applicable.

Basic literature

BARNETT, R., O'CULL, L., COX, S. Embedded C Programming and the Atmel AVR, 2e. Thomson Delmar Learning, NY 2007 (EN)

Recommended reading

Not applicable.

Classification of course in study plans

  • Programme EECC-MN Master's

    branch MN-EST , 1 year of study, summer semester, elective specialised

Type of course unit

 

Lecture

39 hod., optionally

Teacher / Lecturer

Syllabus

1. Serial communication (asynchronous / synchronous), interfaces RS232C, RS422, RS485, hardware design
2. Interrupt structures, polled and vectored priority system, interrupt controllers
3. Direct memory access - DMA
4. MCS51 family microcontrollers in detail -continuation- on chip peripherals, derivatives
5. MCS51 cont.: Timer T2 capture / compare, Philips, Atmel, Dallas
6. Serial interface IIC - analyze of application microcomputers in consumer electronic, ordering IIC, communication protocol, addressing.
7. Applications IIC
8. Conception of Motorola processors. 68HCxx families, HC11 family, description of hardware, timing
9. HC11 cont.: Memory structure. Programmer´s model, instruction set.
10. 16-bit microprocessors and microcomputers. Family Philips MCS51XA ...
11. Microcomputers RISC architecture. Microcomputers fy ATMEL (AVR) a fy Microchip. Microcomputer modules of further producers and types.
12. Personal computers - architecture, block description, bus structure.
13. Personal computers cont. , I/O system,

Exercise in computer lab

27 hod., compulsory

Teacher / Lecturer

Syllabus

Arithmetical operations, multiplication.
Real time emulator, emulation with or without emulation chip 8051E, simple example.
Conversion binary number to decimal number. Realization of logical functions.
Work with ports and external interrupt. Debug and tested on test module
Work with timer and internal interrupt. Serial communication. Debug and tested on test module.
Connexion and control real time clock. Design, debug and tested on test module.
Connexion and control LCD display. Design, debug and tested on test module. Test.