Page 1 of 1

Real time clock

Posted: Fri Nov 13, 2009 9:43 am
by echase
I want to interface an RTC to a 887 PIC. What is likely to be the easiest way to do this in Flowcode? RTCs come with various interfaces like I2C, 1 wire, 3 wire, SPI, parallel address (although I think the data is always serial). Which would be easiest to programme? Some claim to be ‘industry standard’ parts. Is there any standard code out here from someone who has done it before?

Re: Real time clock

Posted: Fri Nov 13, 2009 10:39 am
by Benj
Hello

I think some of these devices have been previously covered on the forum.

http://www.matrixmultimedia.com/mmforum ... =21&t=4725
http://www.matrixmultimedia.com/mmforum ... =22&t=5240
http://www.matrixmultimedia.com/mmforum ... f=5&t=6418

Let us know how you get on and which device you choose to go for, the DS1307 seems popular.

Re: Real time clock

Posted: Fri Nov 13, 2009 11:19 am
by echase
Thanks. Might have found those if I had searched for RTC intead of Real Time Clock!

Re: Real time clock

Posted: Fri Nov 13, 2009 11:22 am
by Benj
Hello

Yes I think RTC is quite common term for these items now.

I have asked Sean for his example files for the DS1305 device which are attached below.

Re: Real time clock

Posted: Mon Jul 26, 2010 8:10 pm
by billduck
I can not open the zipped folder. can it be re-posted and the integrity checked?
Thanks, Bill S

Re: Real time clock

Posted: Tue Jul 27, 2010 8:46 am
by Benj
Ok, here is the file.