• Your selection is empty.

    Register the diplomas, courses or lessons of your choice.

Microprocessor project

  • School / Prep

    ENSEIRB-MATMECA

Internal code

EE6EN111

Description

The aim of this course is to program MICROCHIP PIC microcontrollers, chosen for their ease of use and low complexity. After a presentation of this family of microcontrollers and their specific features, the activity begins by writing simple programs in assembly language to illustrate microcontroller operation (coding and execution of instructions, access to registers, management of internal resources and inputs/outputs, etc.). An application board incorporating a PIC16F84 is used as a support, with software development carried out using the MPLABX integrated tool chain, including a simulator. Programming is then carried out in C language, with the aim of implementing a project (e.g. a quartz clock on an LCD display) using the PICDEM2 development board featuring a PIC16F877 target (more internal resources, debugging capability, etc.). Emphasis is placed on the limitations encountered on embedded systems when programming in C language (reduced memory space, limited computing power, etc.), as well as on interrupt management.

Read more

Teaching hours

  • TDTutorial9h
  • TDMMachine Tutorial15h
  • TIIndividual work10h

Mandatory prerequisites

microprocessor course EN114
digital systems basics (EN102)

Read more

Syllabus

Introduction to PIC microcontrollers Initiation to the use of these microcontrollers through 3 practical exercises:

- TP1: discover MPLAB, manipulate PIC instructions (PIC16F84), manage inputs/outputs

- TP2: programming in C language, using the timer

- TP3: interrupt programming, use of SLEEP mode and WATCHDOG, EEPROM access
Presentation of the PICDEM2 development board and the PIC16F877, description of LCD display operation
Project on PICDEM2 development board: development of a library of functions to drive the LCD display, application to display time and temperature, debugging tuning

Read more

Further information

Introduction to microcontroller programming

Read more

Bibliography

handout containing practical subjects + MPLABX software tutorial project subject and datasheet of components used (PIC, PICDEM2 board, LCD display, etc.)

Read more

Assessment of knowledge

Initial assessment / Main session - Tests

Type of assessmentType of testDuration (in minutes)Number of testsTest coefficientEliminatory mark in the testRemarks
ProjectReport1