Datasheet
16
PICPLC16 v6 Development System
PICPLC16 v6 Development System
MikroElektronika
page
11.0. Real-Time Clock (RTC)
As a result of the built-in DS1307 circuit, the PICPLC16 v6 development system is capable of keeping the real time. The main features
of the real-time clock are as follows:
- providing information on seconds, minutes, hours, days in a week and dates including correction for a leap year
- I
2
C serial interface
- automatic power-fail detection
- power consumption less than 500nA
A real-time clock is widely used in alarm devices, industrial controllers, consumer devices etc. The real-time clock provided on the
PICPLC16 v6 development system is used to generate an interrupt at pre-set time. In order to establish connection between the
microcontroller and the real-time clock it is necessary to set switches 4, 5 and 6 on the DIP switch SW10 to the ON position.
Figure 11-2: Real-time clock and microcontroller connection schematic
Figure11-1: Real-time clock
Quartz-crystal provides
accuracy of the clock signal
used by the real-time clock
3V battery enables the operation
of the real-time clock when the
power supply is off
Real-time clock is connected to the microcontroller via pins RC4, RC3 and RB0