Real time clock

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
echase
Posts: 429
Joined: Mon Jun 11, 2007 11:55 am
Has thanked: 49 times
Contact:

Real time clock

Post 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?

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Real time clock

Post 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.

echase
Posts: 429
Joined: Mon Jun 11, 2007 11:55 am
Has thanked: 49 times
Contact:

Re: Real time clock

Post by echase »

Thanks. Might have found those if I had searched for RTC intead of Real Time Clock!

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Real time clock

Post 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.
Attachments
RTC.zip
(106.41 KiB) Downloaded 1412 times

billduck
Posts: 159
Joined: Thu Jul 01, 2010 1:57 am
Has thanked: 23 times
Been thanked: 16 times
Contact:

Re: Real time clock

Post by billduck »

I can not open the zipped folder. can it be re-posted and the integrity checked?
Thanks, Bill S

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: Real time clock

Post by Benj »

Ok, here is the file.
Attachments
RTC.zip
(1.62 KiB) Downloaded 1358 times

Post Reply