Real Time Clock
Grogorosky
Posts: 6
Is possible to make a Real Time Clock with the Stamp 2? If not, someone has any experience with it? Any advice? ...thanks...
Comments
http://forums.parallax.com/showthread.php?p=552892
http://forums.parallax.com/showthread.php?p=531080
http://forums.parallax.com/showthread.php?p=625915
http://forums.parallax.com/showthread.php?p=574815
http://forums.parallax.com/showthread.php?p=553075
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
This forum and its people is absolutely·GREAT!
' {$STAMP BS1}
' {$PBASIC 1.0}
start:FOR B0=1 TO 12' hours
FOR B1=0 TO 59' minutes
FOR B2=0 TO 59' seconds
DEBUG # B0,":",# B1,":",# B2,CR
PAUSE 781
NEXT
NEXT
NEXT
GOTO start
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"If you build it, they will come."
that do counting, timing and remain relatively accurate. The program
statements are timing sensitive so be aware of any mods.
The Brain Timer handles minutes, and Tiny Timer does seconds.
The others are sequential counters that can be modified for time.
These work on Penguin Robot's BS2px-24 microcontroller.
penguin_tiny_timer.bpx
http://forums.parallax.com/showthread.php?p=677138
penguin_brain_timer.bpx
http://forums.parallax.com/showthread.php?p=686766
penguin_basic_counter.bpx
http://forums.parallax.com/showthread.php?p=691831
penguin_continuous_counter.bpx
http://forums.parallax.com/showthread.php?p=685643
humanoido
thanks for your post!
In my understanding is very difficult to make a RTC with a standard cristal clock, probably for a short term clock could work (i.e. 2 or 3 hours clock), but even calibrating the loops the clock will carry milliseconds (more or less milliseconds) in the minutes, it will carry minutes in a day, and hours in a week, and so on. That´s why all depend of the cristall basically.... best regards...