Calender IC PCF8563

Status
Not open for further replies.
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.
 
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
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

Mike,

I did this a couple of years ago and got much better accuracy than that. I used the special events trigger on ccp1 to reset the timer to 32767 I.E. 1 less than the crystal frequency.

I can did the code out if it would help at all.

Mike.
 
reply

Your tutorials always come in handy Nigel.

I hope my website will come in handy the way yours does
except mine is only for robotics.

Anyway here is a update of my website
I am working on the hardware for the sercurity robot and will post it as soon as I get a hold on my friends digital camera.
Also my tutorials for my spybot
which is a begniner project for the newbies will becoming
july 5.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…