2017-2018 / GERE0027-1

microcontrollers Base

Duration

4h Th, 20h Pr

Number of credits

 Master in environmental bioengineering (120 ECTS)2 crédits 

Lecturer

Bernard Heinesch

Language(s) of instruction

French language

Organisation and examination

Teaching in the first semester, review in January

Units courses prerequisite and corequisite

Prerequisite or corequisite units are presented within each program

Learning unit contents

 
 The microprocessor:
- general aspects: definition, history, internal structure
- programming exercises in assembler


The microcontroller:
- general aspects: definition, selection criteria
- The PIC family and PIC 16F887
- Development environment (EasyPic)
Programming exercises (management of special registers, use of memory, timers, interrupt, watchdog, A/D conversion, RS232 connection,...)
Applications will be carried out on PIC 16F887, using the EasyPic development card and in the Mikrobasic environment offered by Mikroeletronika.
The examples/illustrations of the course will be chosen in the field of climate and environmental measurement and regulation.

Learning outcomes of the learning unit

After completing the course the student is expected to be able to:

  • Describe the internal structure of a microprocessor
  • Program a microprocessor in order to realize basic functions by using an assembler langage.
  • Describe the internal structure of a microcontroller
  • Program a microcontroller in order to realize functions by using a high-level programing langage. Functionalities usualy found in up-to-date commercialised microcontrollers will be used (for example AD conversion, comparators, serial communication, flash memory, timers, watch dog).
This course helps to build the skill : "Conceive technological solutions used to define equipments, systems, infrastructures and services for needs in the field of environment".

Prerequisite knowledge and skills

If no official prerequisites are associated with this course, knowledge and competences developped in the following courses are useful:
- ELEC-0438-1 - Electricity
- INFO2038-1 - Computer science and algorithmic
- GERE-0007-3 - Digital electronics (especially the parts on binary notations and boolean algebra as well as the functioning of the elementary gates)

Planned learning activities and teaching methods

Main parts of the learning activities will be through practical exercices. The student will implement individually a computer program for each course illustrating a specific and important functionality of the microcontroler. An original project integrating all these functionalities will be proposed during the last sessions that will be also used for the final evaluation.

Mode of delivery (face-to-face ; distance-learning)

Face-to-face with Lectures : 2h Practical Works : 16h

Recommended or required readings

Floyd TL. Systèmes numériques. 7ème édition. Reynald Goulet Inc. Canada.
Programming the Z80 (Rodnay Zaks)
Microcontrôleurs PIC:Programmation en Basic (Christian Tavernier), éditions Dunod
EAsyPIC user manual (MikroElectronika)
PIC16F887 datasheet, Microchip

Assessment methods and criteria

Practical examination (100%) : programming a microcontroler for the realisation of a given task

Work placement(s)

Organizational remarks

Since most teaching is focused on practice and teacher-student interaction, attendance is mandatory.

Contacts

Bernard HEINESCH
Unité de Physique des Biosystèmes
Gembloux Agro-Bio Tech (GxABT)
Université de Liège

8, Avenue de la Faculté
5030 Gembloux
BELGIUM

Tel: +32(0)81622492

bernard.heinesch@ulg.ac.be