Countdown Clock
 
Notifications
Clear all

Countdown Clock

31 Posts
15 Users
0 Reactions
16.8 K Views
kostyun
Posts: 2178
Guest
Topic starter
(@kostyun)
Member
Joined: 20 years ago
[#2089]

Looking for help/assistance on a DIYC countdown clock.

Idea that I have is a programmable PIC that can count down to a certain set date.

Would need a simple application to set the time, and the date to countdown to.

I would like the hardware to be based on a Dallas RTC, a PIC16F688, and some sort of latching output. (595/7803 or other.) there would be a connector on the board to allow the connection of whatever method of "displaying" the countdown that a person would want, weither it be LED's or SSR's.

Board would contain a serial connector to allow the programming of the board.


30 Replies
pete
Posts: 562
 pete
(@pete)
Honorable Member
Joined: 20 years ago

you forgot battery backup


Reply
Posts: 2630
(@dynamoben)
Famed Member
Joined: 19 years ago

I would use a DS1307. I've personally used for a project and it worked well. Battery backup life is about 11 years (unpowered).

http://www.sparkfun.com/commerce/product_info.php?products_id=99

I'm a little fuzzy on what you are trying to do with it.


Reply
Posts: 496
(@wombat)
Honorable Member
Joined: 19 years ago

Did you see Aurbo's Design.
He is a Circuit for it he is just working on the code to run the pic.

might be worth looking at
Wombat


Reply
Posts: 2168
(@djulien)
Noble Member
Joined: 19 years ago

Would need a simple application to set the time, and the date to countdown to.

I was also thinking about that a while back. I concluded that using buttons like on a wrist-watch or alarm clock would be the simplest. For example, for setting the time you could hold one button down to advance the hours, and another button to advance the minutes. For the date, one button for day of month, another button for month.

For display, I was thinking of just using regular display channels as the output, but modifying the firmware to handle the button pressing and inject the counters into the Renard data stream. While you are holding down a button (and for a few seconds after), channels 1 - 8 on whatever controller you're setting the date or time for would display the current number, so you could see it count up as you hold the button. After you let go of the button, then it would just show the current date or time value, ticking down gradually.

For the actual run-time display, a 7-segment type display would probably work best. That is, channels 1 - 7 are the first digit, skip 8, 9 - 15 are the second sigit, skip 16, etc. (for however many digits and PICs are needed). Basically, there would need to be groups of channels within the Renard packet stream that are placeholders for the digits, and then the controller with the clock on it would substitute in the current values of the count-down values. Or maybe there doesn't need to be place-holders, and the clock Renard controller would just inject some additional channels into the stream. I hadn't finished thinking thru whether to always put the clock at the beginning or end of the Renard chain, or allow it to be anywhere within the chain. I got side-tracked on a bunch of other stuff, so I didn't get back to this. I may revisit it when I get back to a PC-less Renard controller I've been looking into.

don


Reply
Page 1 / 7
Share: