Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/21/07 09:45
Modified:
  12/21/07 09:47

Read: times


 
#148574 - It\'s all relative , ya
Responding to: ???'s previous message
Andy Neil said:
Ap Charles said:
its simple Time period . Wheteher 30 min has passed or not

To know whether a time period has "passed", you have to know when it started.

If you've had a reset, how will you know:

a. that a time period was started, and

b. when it started...



Thats why we are using an RTC?
Ok , let me explain, Initialize the RTC when you have to check that whether 30min has passed or not in a particular time of a *DAY*. keep saving what you read after every 1min or 30sec as per application requirement. Now when you have an unfortunate reset check the RTC current time with the previous stored time , that would put you to the path. In case you do counting with the microcontroller you are gone .
Best/
AP




List of 11 messages in thread
TopicAuthorDate
Long duration timer            01/01/70 00:00      
   Any MCU can do this with ease            01/01/70 00:00      
      Long duration timer            01/01/70 00:00      
   I would not trust MCU for this but an RTC            01/01/70 00:00      
      Wrong end of stick            01/01/70 00:00      
         Wrong end of right stick            01/01/70 00:00      
            It's all relative            01/01/70 00:00      
               It\'s all relative , ya            01/01/70 00:00      
                  I see            01/01/70 00:00      
                     ya            01/01/70 00:00      
         Ap is right            01/01/70 00:00      

Back to Subject List