This application note uses the Timer1 module, from a
mid-range PIC16CXXX microcontroller, to control a
low-power real-time clock. Timer1 was chosen because
it has its own crystal which allows the module to operate
during sleep. The two events that will wake the device
from sleep (for this application) are a keypress and a
Timer1 overflow.M Low-Power Real-Time Clock
AN582
the selected units values are displayed. Upon key release,
Author: Mark Palmer the Timer counts out one second and begins ashing the
Microchip Technology Inc. selected units. The CLR_MIN Key (S3) clears the minutes
and seconds. CLR_MIN is useful for exactly setting the time
INTRODUCTION to the “top of the hour” as announced in radio broadcast……