Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 8 of 8

Thread: [posted] Countdown Timer

  1. #1
    Junior Member
    Join Date
    Sep 2019
    Posts
    3

    [posted] Countdown Timer

    Powered by a Teensy 3.6 accompanied by a ChronoDot ultra-precise real-time-clock (RTC), this little beauty's main mission in life is to display the years (YY), months (MM), days (DD), hours (HH), minutes (MM), and seconds (SS) to my 100th birthday. The festivities will commence at 11:45 a.m. British Summer Time -- which will be 5:45 a.m. Daylight Saving Time in the USA -- on 29 May 2057, so now would be a good time to clear this date on your calendar. You can check out the current state-of-play here.
    Click image for larger version. 

Name:	maxncb-0008-07-countdown-timer-its-alive.jpg 
Views:	67 
Size:	136.3 KB 
ID:	17562

  2. #2
    This is interesting, have you considered what might fail and have you got contingency? It's going to be continuously running for almost 40 years or more? The LEDs will probably get dimmer, but the rest of the electronics are less predictable. Electromigration is an obvious one, but what else? Plastics also deteriorate naturally over time. Don't forget to set an alarm every 10 years for the RTC battery change!

  3. #3
    Junior Member
    Join Date
    Sep 2019
    Posts
    3
    You raise a good question -- I haven't really thought about things degrading (I'm still working on getting the thing working LOL) -- I do like the idea of it using a special pattern/display to remind me when it would be a good time to replace the RTC battery -- also, I can add an ambient light sensor and dramatically dim the display in dim lighting conditions (i.e., at night), thereby extending the life of the LEDs. Call me back in 20 years and I'll tell you how it's going :-)

  4. #4
    Junior Member
    Join Date
    Jan 2020
    Posts
    2

    Countdown Timer

    Hi -

    Im using the countdown timer with the autologout module... I would like to give users the chance to add more time before they are automatically logged out for inactivity.

    Any way to create a "give me more time" link easily w/ javascript that would update the countdown to replace the page load time with the current time w/o actually reloading the page? I know this is probably way off, but I was thinking of something like:

    Code:

  5. #5
    Junior Member
    Join Date
    Sep 2019
    Posts
    3

    Countdown Timer

    Quote Originally Posted by Douglaspom View Post
    Hi -

    Im using the countdown timer with the autologout module... I would like to give users the chance to add more time before they are automatically logged out for inactivity.

    Any way to create a "give me more time" link easily w/ javascript that would update the countdown to replace the page load time with the current time w/o actually reloading the page? I know this is probably way off, but I was thinking of something like:

    Code:
    I'm not sure what you mean -- I don't think we are talking about the same Countdown Timer here -- mine is a physical unit that's counting down to my 100th Birthday -- it sounds like you are talking about something to do with a webpage timing out.

    Sorry

    Max

  6. #6
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,931
    Quote Originally Posted by MaxMaxfield View Post
    I'm not sure what you mean -- I don't think we are talking about the same Countdown Timer here -- mine is a physical unit that's counting down to my 100th Birthday -- it sounds like you are talking about something to do with a webpage timing out.

    Sorry

    Max
    Yeah - that is an odd message I didn't think applied here.

    Caused re-reading of the thread - cool project. One note is on T_3.6 speed - no reason to expect failure that I know of - but one thing unique about the T_3.6 is it bumps internal voltage when running over 120 MHz for HSRUN/High Speed Run mode to the spec speed of 180 MHz. So for ideal long term use if run at 120 MHz or lower as needed it might extend the usable life of the processor maintaining a lower internal voltage.

  7. #7
    Senior Member jim lee's Avatar
    Join Date
    Dec 2016
    Location
    Anacortes, WA
    Posts
    156
    If those are OLEDs, the'll be toast pretty quick unless you have some sort of screen saver written in there. Something that lets them sit blank for all that time no one is bothering with them. I used one for those eyes on a skull and the eye burned into the OLED after a couple Halloweens.

    -jim lee

  8. #8
    Senior Member jim lee's Avatar
    Join Date
    Dec 2016
    Location
    Anacortes, WA
    Posts
    156
    Ok I feel dumb. Those are not OLEDs at all. Should have looked closer first.

    -jim lee

Posting Permissions

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