piclist 2000\06\02\064424a >
Thread: Digital Alarm Clock source code and schematics
www.piclist.com/techref/microchip/time.htm?key=clock
flavicon
face BY : Werner Soekoe email (remove spam text)



Hi

Microchip has got a chematic with code. Follow these links:

LCD Clock:
www.microchip.com/Download/Appnote/Category/16CXX/00582b.pdf
http://www.microchip.com/Download/Appnote/Category/16CXX/00582.zip

7SEG LED Clock on 32768Hz Crystal:
www.microchip.com/Download/Appnote/Category/PIC16/00615b.pdf
http://www.microchip.com/10/Appnote/Category/PIC16/00615/indexZIP0.htm

I want to mention that I am building a "CountDown" timer, and I use the
following method to acurately time the seconds:

1. I run the PIC from a 4.194304 MHz Crystal.
2. The PIC then performs 1048576 Instructions per second
3. I set up the Timer Overflow Interrupt with a prescaler of 16
4. The Timer Interrupt then occurs 256 times per second
5. My ISR Increments another counter I defined
6. When that counter overflows from 0xFF to 0X00 (and sets the carry bit), I
know exactly one second has passed, and I update my seconds, minutes, hours
counter accordingly and update the display.

Try this. I hope it helps

Regards,
Werner Soekoe
Information Systems Manager
Free State Legislature
spamwernersspamspamRemoveMEfsl.gov.za
Tel. (051) 407-1109
Fax. (051) 407-1137
Cell. 082 376 8383
Country Code. +27


{Original Message removed}
<000a01bfcc7f$5b3cd710$0a01a8c0@werners> 7bit

See also: www.piclist.com/techref/microchip/time.htm?key=clock
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Digital Alarm Clock source code and schematics

month overview.

new search...