• Your selection is empty.

    Register the diplomas, courses or lessons of your choice.

Microprocessor project

  • School / Prep

    ENSEIRB-MATMECA

Internal code

EE6EN111

Description

The objective of this course is to teach programming of MICROCHIP’s PIC microcontrollers, which were chosen for their ease of use due to their low complexity. After an introduction to this family of microcontrollers and their specific features, the course begins with writing simple programs in assembly language to illustrate how the microcontroller works (coding and executing instructions, accessing registers, managing internal resources and I/O, etc.). An application board featuring a PIC16F84 serves as the platform, with software development carried out using the MPLABX integrated development environment, which includes a simulator. Programming then continues in the C language with the goal of implementing a project (for example, a quartz clock on an LCD display) using the PICDEM2 development board, which features a PIC16F877 target (more internal resources, debugging capabilities, etc.). Emphasis is placed on the limitations encountered on embedded systems when programming in C (limited memory space, limited processing power, etc.) as well as on interrupt handling.

Read more

Teaching hours

  • TDTutorial9
  • TDMComputer-Based Tutorials3:00 p.m.
  • ITIndividual Assignments10:00 a.m.

Mandatory prerequisites

Microprocessors Course EN114
: Fundamentals of Digital Systems (EN102)

Read more

Syllabus

Introduction to PIC Microcontrollers: An introduction to working with these microcontrollers through three lab exercises:

- Lab 1: Introduction to MPLAB, working with PIC instructions (PIC16F84), managing inputs and outputs

- TP2: Programming in C, using the timer

- TP3: Programming with interrupts, using SLEEP mode and the WATCHDOG, EEPROM access
Introduction to the PICDEM2 development board and the PIC16F877, description of how the LCD display works
Project on the PICDEM2 development board: development of a function library to control the LCD display, application to display the time and temperature, debugging and troubleshooting

Read more

Further information

Introduction to Microcontroller Programming

Read more

Bibliography

handout containing the lab topics + MPLABX software tutorial, project topic, and datasheets for the components used (PIC, PICDEM2 board, LCD display, etc.)

Read more

Assessment of knowledge

Initial assessment / Main session

Type of assessmentNature of assessmentDuration (in minutes)Number of testsEvaluation coefficientEliminatory evaluation markRemarks
ProjectReport1