Turn on a Led after 12000 seconds using a BS2 and perhaps the DS1302 or CD4060
Archiver
Posts: 46,084
Hi, again:
Is the CD4060B, 2-Hz external clock a better choice, than the DS1302?
As I told, I need to count seconds (only) , and turn on a led at seconds
number 1200 (example) .
Thanks in advance: Joe
Jon Williams <jwilliams@p...> wrote:You can't change the rules of access for the DS1302; and you don't have
to access or worry about all of the registers either. If your project
doesn't care about the actually time of day and you're simply using the
DS1302 as a timing element, then just grab the seconds and minutes
registers. You'll have to do a small bit of math to get to a single
word, but that's a no-brainer.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: joe terk [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=3v4qod8J-u4lSGGqrHuzG3hM0nBVctpP-Rugn1Z1zZkoLnc-EZCwRE-dRA4NAa-d9MwpNnro57pw]joeterk1@y...[/url
Sent: Saturday, June 26, 2004 1:47 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Turn on a Led after 12000 seconds using a BS2 and
perhaps the DS1302
Hi,
I need to turn on a led after a period of
time.
I was using the DS1302 but the
DS1302 source code has to many variables.
( LOWNIB , HIGHNIB, ..... )
I am triying to use a simple "word" variable
like W2 and turn the led on after
24600 seconds (exapmple)
Something like :
If w2 = 24600 then led
.
.
.
Led:
high 8. ..
.
.
Is the DS1302 good for that?
( I don't need minutes, only second!! )
Any help is welcome. Thanks: Joe
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and Body of the message will be ignored.
Yahoo! Groups Links
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
[noparse][[/noparse]Non-text portions of this message have been removed]
Is the CD4060B, 2-Hz external clock a better choice, than the DS1302?
As I told, I need to count seconds (only) , and turn on a led at seconds
number 1200 (example) .
Thanks in advance: Joe
Jon Williams <jwilliams@p...> wrote:You can't change the rules of access for the DS1302; and you don't have
to access or worry about all of the registers either. If your project
doesn't care about the actually time of day and you're simply using the
DS1302 as a timing element, then just grab the seconds and minutes
registers. You'll have to do a small bit of math to get to a single
word, but that's a no-brainer.
-- Jon Williams
-- Applications Engineer, Parallax
-- Dallas Office
Original Message
From: joe terk [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=3v4qod8J-u4lSGGqrHuzG3hM0nBVctpP-Rugn1Z1zZkoLnc-EZCwRE-dRA4NAa-d9MwpNnro57pw]joeterk1@y...[/url
Sent: Saturday, June 26, 2004 1:47 PM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] Turn on a Led after 12000 seconds using a BS2 and
perhaps the DS1302
Hi,
I need to turn on a led after a period of
time.
I was using the DS1302 but the
DS1302 source code has to many variables.
( LOWNIB , HIGHNIB, ..... )
I am triying to use a simple "word" variable
like W2 and turn the led on after
24600 seconds (exapmple)
Something like :
If w2 = 24600 then led
.
.
.
Led:
high 8. ..
.
.
Is the DS1302 good for that?
( I don't need minutes, only second!! )
Any help is welcome. Thanks: Joe
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and Body of the message will be ignored.
Yahoo! Groups Links
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
[noparse][[/noparse]Non-text portions of this message have been removed]