PDA

View Full Version : Real Time Clock



savnik
- 7th December 2006, 12:07
I am looking for code to make real time clock for pic16f88.
I will use it with LCD with 2 lines.
In first line show the time. Like this : 00:00:00 ,
and the second line the date-month and year. Like this : 07-012-2006
Any help is aceptable.

sayzer
- 7th December 2006, 12:44
Com'on Savnik,

Don't do this to us! You are an experienced member of this forum! :) :)

1. http://www.picbasic.co.uk/forum/showthread.php?t=423
2. http://www.picbasic.co.uk/forum/showthread.php?t=2129
3. http://www.picbasic.co.uk/forum/showthread.php?t=632


--------------------------

savnik
- 7th December 2006, 13:05
Com'on Savnik,

Don't do this to us! You are an experienced member of this forum! :) :)

1. http://www.picbasic.co.uk/forum/showthread.php?t=423
2. http://www.picbasic.co.uk/forum/showthread.php?t=2129
3. http://www.picbasic.co.uk/forum/showthread.php?t=632


--------------------------
Thank you , but i don't think i am an experience member.
I have see these links.

sayzer
- 7th December 2006, 13:11
OK.

Do you want to use RTC chip or you want to use a timer module of the PIC to do this?

if you use a timer module, it has its own headache; may become too complicated at some point. You can see that in the links I posted.

if you use an RTC chip, it is easier and you get less headache (if any).

------------------------

savnik
- 7th December 2006, 13:24
I want to use a timer module of the PIC to do this.

BobK
- 8th December 2006, 02:02
Hi Savnik,

If you want a RTC using a timer module then look at the #2 example above. It does not have the day, month, & year but with a small amount of your time, you should be able to add that part to the program. I have built both clocks as posted and I thought they were very good projects. I have also built numerous projects using the DS1337 RTC chip. Using the 1337 I was able to add routines for DST.

HTH,

BobK