Microcontrollers and Interfaces Programming (CSCT6102)
Computer Science - COS
Semester: Resit
Level: 500
Year: 2016
1
SCHOOL: H.T.T.T.C DEPARTEMENT: CS LECTURER(S): Dr. DADA Jean-Pierre
COURSE CODE: FUN511 COURSE TITLE: Microcontroller interfaces programming and projects
OPTION: ICT DATE: May …..
th
, 2016 HALL: …. TIME: 1:30 NATURE: RESIT
Instructions: Answer all questions below.
Exercise 1: LCD project
A text based LCD LM016L is connected to a microcontroller PIC16F877.
1. What mean PIC
2. Give the signification of F and 877
3. Complete the bloc diagram below (Appendix 1), suggested by a student.
4. Use ISIS Proteus to design that electronic circuit.
5. Write a program in an environment of your choice (Proton Basic or MiKro C), build and flash it
into the PIC18F452.
6. Simulate and call the examiner as you succeed.
Appendix 1
REPUBLIQUE DU CAMEROON
Paix – Travail - Patrie
***********
UNIVERSITE DE BUEA
***********
ECOLE NORMALE SUPERIEURE D’ENSEIGNEMENT
TECHNIQUE
***********
DIRECTION DES ETUDES
**********
Tél: 33 05 10 69
REPUBLIC OF CAMEROON
Peace – Work – Fatherland
***********
THE UNIVERSITY OF BAMENDA
***********
HIGHER TECHNICAL TEACHER TRAINING
COLLEGE (H.T.T.T.C.) BAMBILI
***********
DIRECTORATE OF STUDIES
**********
P.O.BOX 39 BAMBILI
www.schoolfaqs.net
2
Exercise 2:
Let us consider the table below representing the sequences of a junction light. Only the diodes
lighting are representing in the table.
Sequence 1 Green 1 Red 2 Red 3
Sequence 2 Yellow 1 Red 2 Red 3
Sequence 3 Red 1 Green 2 Red 3
Sequence 4 Red 1 Yellow 1 Red 3
Sequence 5 Red 1 Red 2 Green 3
Sequence 6 Red 1 Red 2 Yellow 3
The junction traffic light is represented as follow:
a) Suggest an electronic circuit able to manage that project, using a PIC18F452 microcontroller.
b) Write al algorithm for the program
c) Write a program in an environment of your choice (Proton Basic or MiKro C), for PIC18F452.
www.schoolfaqs.net