PDA

View Full Version : Count Down Timers



CocaColaKid
- 28th October 2005, 14:13
I would like some suggestions on what to use for a count down timer. There are actually two timers needed, one for counting down seconds and another for counting down minutes. The seconds one will have a maximum duration of 60 seconds and the minutes one will be 60 minutes. This is to simplify our powder coat painting baking oven operation.

mister_e
- 28th October 2005, 17:22
why not using RTC. Read actual time, then do the math according to your need... just need to poll the RTC register.

OR use the AC line as time base then count secondes+minutes+hours.

OR use the internal tick to generate 1 seconde time base then...

OR a PAUSE loop then...

It's all depend of what else your PIC will need.

NavMicroSystems
- 28th October 2005, 17:34
.... This is to simplify our powder coat painting baking oven operation.

For this kind of application I would guess timing is not really critical, you certainly don't need an accuracy of a tenth of a second (or even a second)

So a simple loop should do.