Electronics4you
Member
How can I combine the real time clock/calender IC PCF8563 from Philips with a PIC microcontroller?
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Electronics4you said:How can I combine the real time clock/calender IC PCF8563 from Philips with a PIC microcontroller?
It uses I2C Bus, so connect it to PIC with 2 wires (SDA and SDL). Use Software or Hardware I2C in the PIC to interface the IC. Use commands from Datasheet of PCF8563 to set and retrieve date info.The PCF8563 is a CMOS real time clock/calendar optimized for low power consumption. A programmable clock output, interrupt output and voltage-low detector are also provided. All address and data are transferred serially via a two-line bidirectional I²C-bus. Maximum bus speed is 400 kbit/s. The built-in word address register is incremented automatically after each written or read data byte.
It should be around 5 Minutes per year (depending on Crystal used, Voltage and Temperature...).upand_at_them said:How accurate is that chip? My current project uses a 32k crystal on Timer1 of a 16F628 for a RTC, in addition to the main functions of the program. Accuracy is about 4 seconds per 24 hours.
Mike
upand_at_them said:How accurate is that chip? My current project uses a 32k crystal on Timer1 of a 16F628 for a RTC, in addition to the main functions of the program. Accuracy is about 4 seconds per 24 hours.
Mike