Question: Q3. The PIC microcontroller has useful modules such as Timer Module (Timer0, Timer! and Timer2) for precise timing applications and EEPROM modules for storage of
Q3. The PIC microcontroller has useful modules such as Timer Module (Timer0, Timer! and Timer2) for precise timing applications and EEPROM modules for storage of important values or parameters in memory for future usage.
a) Explain THREE (3) modes of operations ofTimer0 and TWO (2) applications of the timers that can be used in daily life. (7 marks)
b) A customer needs an application to use the PIC microcontroller to generate pulse of 32ms through Pin RBI to an external device. Design a programme to generate the pulse by using Timer0. The relevant registers must be used. (7 marks)
c) Design a programme that can write a string in the EEPROM using I2C communication and later read the memory and display it to an LCD display. (11 marks)
*microcontroller used is PIC16F877A
This is related to microcontroller subject
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
