allenb
01-29-2006, 06:18 AM
I'm somewhat new to microcontrollers and am trying to put together a BS-2 with #27977 LCD display to display elapsed time (minutes/seconds) on my coffee roaster.
I have it working fine using the pause function for approximating a seconds count but need better accuracy.
It was suggested I use the DS-1302 time keeping chip for getting a real seconds count but I am having difficulty finding examples of a BS-2/DS-1302 being used as a stopwatch for displaying elapsed time.
I would appreciate any help from someone who knows how I should wire these two together and where to find examples of code to make them work together as a stopwatch count-up timer.
Question:
Is it overkill to use the timing chip/is there another way to gain accuracy over the "pause" function within the stamp without resorting to an external oscillator/counter? I need to be·(+ -) 1/2·second during a 1 hour time span.
2nd question:
Is it possible to perform the stopwatch action and read a pot using "RCtime" and display both on the same LCD at the same time·using one stamp and one LCD? I've heard that without being able to use interupts that this would not be feasible.
Allen Bartee
·
I have it working fine using the pause function for approximating a seconds count but need better accuracy.
It was suggested I use the DS-1302 time keeping chip for getting a real seconds count but I am having difficulty finding examples of a BS-2/DS-1302 being used as a stopwatch for displaying elapsed time.
I would appreciate any help from someone who knows how I should wire these two together and where to find examples of code to make them work together as a stopwatch count-up timer.
Question:
Is it overkill to use the timing chip/is there another way to gain accuracy over the "pause" function within the stamp without resorting to an external oscillator/counter? I need to be·(+ -) 1/2·second during a 1 hour time span.
2nd question:
Is it possible to perform the stopwatch action and read a pot using "RCtime" and display both on the same LCD at the same time·using one stamp and one LCD? I've heard that without being able to use interupts that this would not be feasible.
Allen Bartee
·