real time logger?


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    Yep, it is possible, The reason I pointed out the above links
    If I remember correctly all three of the examples have a way to start and stop. They are basically running off an interrupt. Enable/ Disable ?

    Write value to EEPROM at the same place the LCD is updated.

    One of the pitfalls, maybe, you only have a certain amount of time between clock updates to work on something else. (look at Paul's example) Could maybe split routines up...Odd seconds do this...Even seconds do that...?

    All kinds of possibilities.
    Dave
    Always wear safety glasses while programming.

  2. #2
    Join Date
    Mar 2008
    Posts
    79


    Did you find this post helpful? Yes | No

    Default

    I'm starting to like this idea
    SO for IF I wanted to use this (Clicky) example
    DO you reckon I could use that, but still have enough time to poll 4 1 wire devices and keep the clock running? All I need to do with the timer really is make it read from the eeprom on startup display the hours minutes and seconds on the lcd display, start counting then get on with the rest of the program with the timer counting in the background.
    All I'd need to do with the timer is write to the eeprom anywhere upto every 10 seconds or so, that way if the program loses power at any time, then the current timer data will be in the eeprom, when it is powered up next it reads from the eeprom and carries on counting from where it left off
    Hopefully that made sense as I'm pretty hopeless at expressing how I see things in my mind even though they make sense to me lol

  3. #3
    Join Date
    Nov 2003
    Location
    Wellton, U.S.A.
    Posts
    5,924


    Did you find this post helpful? Yes | No

    Default

    As I mentioned before, I do not use one wire stuff so I do not know how long it takes. But I would think a 10 second resolution on the timer will buy you enough time.
    Dave
    Always wear safety glasses while programming.

Similar Threads

  1. Real Time Clock
    By in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 2nd June 2012, 04:52
  2. Real time clock ICs
    By Eng4444 in forum mel PIC BASIC Pro
    Replies: 66
    Last Post: - 20th October 2008, 16:05
  3. Real time clock... what a headache!
    By Eng4444 in forum mel PIC BASIC
    Replies: 2
    Last Post: - 8th June 2006, 21:56
  4. please read it ( real time)
    By moud_man in forum mel PIC BASIC Pro
    Replies: 11
    Last Post: - 20th September 2005, 14:38
  5. Timer in real time
    By martarse in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 29th July 2005, 14:24

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts