Maker Pro
Maker Pro

Build alarm clock

J

jeffrey

Jan 1, 1970
0
I am very interested to know what you have in mind. I initially wanted
an alarm clock that could record the response times, but thought that
would be too difficult to do. I don't have too much time available,
though.

I've sent you an e-mail. Thanks for the help.

Jeff
 
Sjouke said:
Google choose to ignore general practice.

To be fair, this is true. Google's treatment of threads makes life
difficult for some newsreaders, but the internet is a bad place to
resist change. I didn't mean to be as hostile to you as I quite clearly
was, but I don't agree with a lot of usenet OG's on here about there
being a "correct" and "incorrect" way to use google groups. I've been
around on the internet since the 80s, and anyone else who has been on
even half that long has seen that not everything comes out quite the
way it was planned. I, for one, would almost be willing to go back to
the days when blinking text and animated gifs were all we had to
complain about on the web. We probably shouldn't turn Jeffrey's thread
into a flame war though.
 
J

Jasen Betts

Jan 1, 1970
0
["Followup-To:" header set to sci.electronics.basics.]
Thanks. I asked the guy at Radio Shack, and he said that the hardest
part would be finding the relay switch in the alarm clock (the thing
that is triggered when the alarm reaches, say, 5AM). How can I find
that?

open your alarm clock and note the chip that's used.
google for "specification+[CHIP-NUMBER]"
download the PDF and find the alarm pin.

AIUI there's a pin a pin that goes high for an hour or until interrupted
(by snooze or alarm inputs) and also goes high on a signal from the sleep
input.

there's another pin with open-collector output that produses the audio
sognal when the alarm is soundin.

Bye.
Jasen
 
J

Jasen Betts

Jan 1, 1970
0
["Followup-To:" header set to sci.electronics.basics.]
Thanks. I asked the guy at Radio Shack, and he said that the hardest
part would be finding the relay switch in the alarm clock.

he's right, they typically don't have one.
 
J

John Fields

Jan 1, 1970
0
A lot of people might call that a crappy newsreader.

I don't understand why all these militant usenet crusaders are always
whining at the google community because we don't clutter up the
internet by sending the same text over and over and over every time we
reply.

---
One of the reasons is because of "context". That is, if you don't
leave a little of the previous message in your reply, then there's
no way to determine to what/whom you're replying and the recipients
of the post then have to call up and backtrack through the header to
get the message ID of what you're replying to and then display that
message. Extremely inconvenient and extremely inconsiderate of you
and, it seems, most Google posters.

Another reason is that your "Google community" seems to be made up
largely of clueless newbies who wouldn't know what a newsreader, or
netiquette, was if it bit them on the ass.
---
Usenet article headers contain all of the information your newsreader
needs to follow the thread back to the original post. If your reader
can't figure that out then you should be whining at the people that
wrote it, or switching to a better one. I used to use pine about six
years ago, and I am pretty sure it had no problem dealing with this.
Heck, I think even netscape could do it back in the 90s.

---
It's not a question of a newsreader's capabilities, it's a question
of a poster's inconsiderateness.
---
I've used a bunch of software to browse usenet over the past 15 or so
years, and I think google is just great because now I can see all of my
threads no matter where I am, at a friend's house, on a library pc, or
on any of the other pc's in my house.
But anyway, about the topic...

Alarm clocks are among the most obnoxious devices I've ever taken
apart. They seem to do everything in the most complicated manner
possible. I don't understand the rationale behind their design because
it seems a $2 microcontroller, a crystal, and some LEDs would do what
apparently takes a hundred or more components in a $9 alarm clock from
Wal-Mart. It's almost as if they don't want you to reverse-engineer
their product and discover the secret of counting to sixty.

---
Nonsense. It's all in the economics of the thing. A $2
microcontroller is $2, but 100 components at a penny apiece is $1.
Assemble it in China, sell it to Wal-Mart for less than anyone else
can and there's your answer.
---
So if you are up to the challenge, and have a little bit of time to
work on it, you might consider building a clock from scratch.

---
I really don't think that's what he wants to do, based upon his
description of his capabilities, but perhaps Google somehow changes
the meanings of posts?
---
It's not very hard to do (or very expensive), and I happen to be developing a
"build-your-own-alarm-clock" project for engineering students at my
university. I'd be happy to send you a copy of the source code or even
a few programmed chips. It wouldn't be very hard to tweak the
programming to do what you want. In return maybe you and your teachers
could write us a nice letter that we could show to the money people to
prove that we're actually doing something.

---
I see. Here's this poor OP, who can't even figure out how to
trigger a timer from the radio's buzzer/speaker, and you're
suggesting that he jump right into building a design of yours from
scratch? And then send glowing testimonials? ISTM that your
interests lie more with helping yourself out than the OP.
---
You could even build an alarm clock that permanently stores a couple
months worth of wake up time data and lets you read it back later; you
could give out a handful of clocks, and the users could give them back
to you to extract the information from. There'd be no need for them to
remember to write down the times.

---
Geez, I think all he asked for was a simple way to do what he
wanted, not a chance to go global with your crap...

It's pretty easy; a comparator on the speaker to SET an RS latch,
the latch taking a 555 timer out of reset and allowing it to run as
an astable at a 1Hz rate, two BCD counters used to count the 555's
output up to 99 seconds, two BCD to seven-segment decoders, two
seven-segment LED numeric displays, and 14 resistors for the
display. If he can't use the radio's ALARM OFF button to RESET the
latch, then an external switch. Also, perhaps another switch to
reset the display if it gets to be inconvenient to do it with
multiple press-release cycles of the RESET switch.
 
J

John Fields

Jan 1, 1970
0
I think that's going to be largely up to you.
 
John said:
One of the reasons is because of "context". That is, if you don't....

Anyone here remember "Conker's Bad Fur Day?" This cracked me up.
Geez, I think all he asked for was a simple way to do what he
wanted, not a chance to go global with your crap...

Just in case the rest of you share John's suspicion that I'm a usenet
troll trying to make a buck off of some poor high school student, I
want to clarify that people give me lots of money to -give- free
electronics stuff out to kids to help them get started in electronics.

Well, I guess it's not lots of money, but it's more than I get paid, so
it looks like a lot to me.
 
J

John Fields

Jan 1, 1970
0
---
One of the reasons is because of "context". That is, if you don't
leave a little of the previous message in your reply, then there's
no way to determine to what/whom you're replying and the recipients
of the post then have to call up and backtrack through the header to
get the message ID of what you're replying to and then display that
message. Extremely inconvenient and extremely inconsiderate of you
and, it seems, most Google posters.

Another reason is that your "Google community" seems to be made up
largely of clueless newbies who wouldn't know what a newsreader, or
netiquette, was if it bit them on the ass.
---


---
It's not a question of a newsreader's capabilities, it's a question
of a poster's inconsiderateness.
---



---
Nonsense. It's all in the economics of the thing. A $2
microcontroller is $2, but 100 components at a penny apiece is $1.
Assemble it in China, sell it to Wal-Mart for less than anyone else
can and there's your answer.
---


---
I really don't think that's what he wants to do, based upon his
description of his capabilities, but perhaps Google somehow changes
the meanings of posts?
---


---
I see. Here's this poor OP, who can't even figure out how to
trigger a timer from the radio's buzzer/speaker, and you're
suggesting that he jump right into building a design of yours from
scratch? And then send glowing testimonials? ISTM that your
interests lie more with helping yourself out than the OP.
---


---
Geez, I think all he asked for was a simple way to do what he
wanted, not a chance to go global with your crap...

It's pretty easy; a comparator on the speaker to SET an RS latch,
the latch taking a 555 timer out of reset and allowing it to run as
an astable at a 1Hz rate, two BCD counters used to count the 555's
output up to 99 seconds, two BCD to seven-segment decoders, two
seven-segment LED numeric displays, and 14 resistors for the
display. If he can't use the radio's ALARM OFF button to RESET the
latch, then an external switch. Also, perhaps another switch to
reset the display if it gets to be inconvenient to do it with
multiple press-release cycles of the RESET switch.

-----------------------------------------------------------
Reply from stickyfox, which he emailed instead of posting here:
It's probably just because you can't see half of them. Switch to
Google.

---
I think not. I post to abse (alt.binaries.schematics.electronic)
quite often, and Google would make that impossible. Plus, if I want
to post something that I don't want the Google "community" to read,
I can also post that to abse through my provider, who archives
binaries.
---
To clarify, I am not in the business of selling alarm clocks. I am in
the business of designing easy-to-understand projects to introduce
electronics to college students. Since our OP is a soon-to-be-college
student with an interest in electronics, and since by remarkable
coincidence I happen to be designing a nearly identical project, I am
just offering to share my work with someone who asked for help.
Probably a foreign concept to a professional circuit designer such as
yourself, but be assured there are places in the world where it
happens.

---
Hmmm... A barb, faulting me for not being as altruistic as you think
I should be? LOL, if that's what you think, you should have
examined my posting history before putting your foot in your mouth.
---
And all I said was that maybe he could give us a line and tell
us how it went, so that the university will buy me more parts that I
can mail out to more kids so those kids can win more science fair
medals.

---
The problem I have with that is that it sounds like they'll be
getting the medals under false pretenses. That is, tyaking a medal
by merely assembling a kit which you provide for them and displaying
it at a science fair without doing any of the in-the-trenches "This
is how it works" grunt work.
---
It is probably easier to solder a single microcontroller to some LEDs
and buttons than it would be to build a timer from scratch using timers
and discrete logic. And it's almost certainly easier than trying to
meld an alarm clock and a stopwatch together into a device that a
semi-conscious high school kid can operate.

---
Well, for a solution to the OP's immediate problem, easier may be
better, but for a science fair project I think not.

In any case, let's take a look at it from the OP's POV and see if we
can determine which way is easier.

My way is a 7555 and two passives for a 1 second clock, an HC02 for
the start-stop latch, a comparator for the alarm trigger, an 8 bit
binary counter to count the 1 second pulses from the 555, 8
low-current LEDs to indicate the state of the counter, 8
current-limiting resistors for the LEDs, and a momentary switch or
two.

Your way is a µC with an external RC that you can trim, (or a
ceramic resonator) 8 IOs and current limiting resistors for the
LEDs, a comparator for the alarm trigger and a couple more IOs for
the switches. Plus, all that code. Somebody's got to write it,
debug it, and burn it into the micro.

So, bottom line, hardware, with what washes out I've got left a
quad NAND or NOR to make a gated clock and an RS latch from and an 8
bit counter, and you've got left a micro and a comparator (or if you
want to get a micro with an on-board ADC or comparator, just the
micro) PLUS, the software overhead.

Three chips for me and one for you.

So, from the OP's POV, your way is probably easier because you're
going to be doing all the work. Congratulations, you win!

I guess what'll have to happen for everything to work out right is
that he'll need to send you a radio to modify and to use to get the
code working and then you'll send him as many programmed chips as he
needs to finish his project, plus instructions on how to modify the
radios?

Better you than me, bucko!

Good luck...
 
J

John Fields

Jan 1, 1970
0
-----------------------------------------------------------
Reply from stickyfox, which he emailed instead of posting here:


---
I think not. I post to abse (alt.binaries.schematics.electronic)
quite often, and Google would make that impossible. Plus, if I want
to post something that I don't want the Google "community" to read,
I can also post that to abse through my provider, who archives
binaries.
---


---
Hmmm... A barb, faulting me for not being as altruistic as you think
I should be? LOL, if that's what you think, you should have
examined my posting history before putting your foot in your mouth.
---


---
The problem I have with that is that it sounds like they'll be
getting the medals under false pretenses. That is, tyaking a medal
by merely assembling a kit which you provide for them and displaying
it at a science fair without doing any of the in-the-trenches "This
is how it works" grunt work.
---


---
Well, for a solution to the OP's immediate problem, easier may be
better, but for a science fair project I think not.

In any case, let's take a look at it from the OP's POV and see if we
can determine which way is easier.

My way is a 7555 and two passives for a 1 second clock, an HC02 for
the start-stop latch, a comparator for the alarm trigger, an 8 bit
binary counter to count the 1 second pulses from the 555, 8
low-current LEDs to indicate the state of the counter, 8
current-limiting resistors for the LEDs, and a momentary switch or
two.

Your way is a µC with an external RC that you can trim, (or a
ceramic resonator) 8 IOs and current limiting resistors for the
LEDs, a comparator for the alarm trigger and a couple more IOs for
the switches. Plus, all that code. Somebody's got to write it,
debug it, and burn it into the micro.

---
Oops... forgot to mention design change.

The 7555 goes away and is replaced by a gated RC oscillator made
from the two gates left over in the RS latch, so my lineup is: one
comparator, one quad something-or-other, and one 8 bit binary
counter.
---
 
(in an effort to keep my disagreement with John off of the thread)
The problem I have with that is that it sounds like they'll be
getting the medals under false pretenses. That is, tyaking a medal
by merely assembling a kit which you provide for them and displaying
it at a science fair without doing any of the in-the-trenches "This
is how it works" grunt work.
Your way is a µC with an external RC that you can trim, (or a
ceramic resonator) 8 IOs and current limiting resistors for the
LEDs, a comparator for the alarm trigger and a couple more IOs for
the switches. Plus, all that code. Somebody's got to write it,
debug it, and burn it into the micro. ....
So, from the OP's POV, your way is probably easier because you're
going to be doing all the work. Congratulations, you win!

You make an excellent point about ethics. And in your defense, you may
not have seen all of the details because of my inconsiderate posting
habits.

However, the code is already written, debugged, and burned onto chips,
which will be handed out to students on request. There is a powerpoint
slideshow and a handout explaining how it all works, and all of the
information will be placed on the web for anyone who cares to download
it and compile the source. The only special favor I offered was to add
a simple feature to the code.

So the work has already been done. I was just giving Jeffrey a heads up
on some research material that will be in the public domain as soon as
I finish proofreading it. So I don't see any ethical problems with it.
He could spend the money on a development kit, buy his own chips, and
do all of this himself, but the work involved would be more of an
obstacle than a learning experience. It's also a little less practical
for him right now since he is unfamiliar with the hardware and pressed
for time.

Had all of this happened a couple of weeks from now, he could very well
have seen it on the web and emailed me to request a chip anyway.

If Jeffrey is investigating the waking habits of students, his project
is more biological or psychological than electrical in subject matter.
He's looking for a tool to help him complete his research, not someone
to do the project for him. I don't expect him to smelt the iron and
forge his own typewriter so he can write the report.
 
F

Fred Bloggs

Jan 1, 1970
0
You make an excellent point about ethics. And in your defense, you may
not have seen all of the details because of my inconsiderate posting
habits.

However, the code is already written, debugged, and burned onto chips,
which will be handed out to students on request. There is a powerpoint
slideshow and a handout explaining how it all works, and all of the
information will be placed on the web for anyone who cares to download
it and compile the source. The only special favor I offered was to add
a simple feature to the code.

So the work has already been done. I was just giving Jeffrey a heads up
on some research material that will be in the public domain as soon as
I finish proofreading it. So I don't see any ethical problems with it.
He could spend the money on a development kit, buy his own chips, and
do all of this himself, but the work involved would be more of an
obstacle than a learning experience. It's also a little less practical
for him right now since he is unfamiliar with the hardware and pressed
for time.

Had all of this happened a couple of weeks from now, he could very well
have seen it on the web and emailed me to request a chip anyway.

If Jeffrey is investigating the waking habits of students, his project
is more biological or psychological than electrical in subject matter.
He's looking for a tool to help him complete his research, not someone
to do the project for him. I don't expect him to smelt the iron and
forge his own typewriter so he can write the report.

There is no well-defined experiment, there is no justification for such
an experiment, and Jeffrey can't understand 90% of what you write. That
kid's electronics knowledge consists of putting a new battery in his
toothbrush. Hopefully he'll sucker you into sending him that
whatever-it-is you have, and shove it under his bed. If Jeffrey wants to
do an electronics project, then RS sells excellent Mims kits for him to
rig up, write up, and demonstrate any number of interesting projects,
quickly and with comprehension. Jeffrey is not interested in
electronics, to him electronics is just cheap packaged items at a store
counter, he is interested in other things.
 
J

John Fields

Jan 1, 1970
0
(in an effort to keep my disagreement with John off of the thread)

---
Misplaced effort. Most of the fun we have here is disagreeing with
each other. ;)
---
You make an excellent point about ethics. And in your defense, you may
not have seen all of the details because of my inconsiderate posting
habits.

However, the code is already written, debugged, and burned onto chips,
which will be handed out to students on request. There is a powerpoint
slideshow and a handout explaining how it all works, and all of the
information will be placed on the web for anyone who cares to download
it and compile the source. The only special favor I offered was to add
a simple feature to the code.

---
Something doesn't seem quite right here, in that Jeffrey _already_
has an alarm clock and only needs to get the alarm signal out of it
to trigger the waking time circuitry. Doing it my way, all he has
to do is go out and buy some hardware, cobble it together according
to a schematic I would generate for him in a few hours, and VOILA!
Fait accompli.

Your way would require him to wait until you could finish the new
code, test it, burn it into a chip and send him the chip. How long
do you think that would take? Then, after the wait, he'd still have
to go out and buy all the stuff to build your alarm clock and the
waking time circuitry around your chip. Doesn't sound to me like
something that would go very quickly.
---
So the work has already been done. I was just giving Jeffrey a heads up
on some research material that will be in the public domain as soon as
I finish proofreading it. So I don't see any ethical problems with it.
He could spend the money on a development kit, buy his own chips, and
do all of this himself, but the work involved would be more of an
obstacle than a learning experience. It's also a little less practical
for him right now since he is unfamiliar with the hardware and pressed
for time.

---
See above. All I have to do is come up with a schematic and a parts
list, and the rest is up to him. Your way, he's got to wait for the
chip. And if it doesn't work, then what? Do you relish
troubleshooting circuitry using a microcontroller with a novice on
the dirty end???
---
Had all of this happened a couple of weeks from now, he could very well
have seen it on the web and emailed me to request a chip anyway.

---
LOL, If frogs had wings...

But, why would he have? Your chip would be the implementation of an
alarm clock. Something he already has, but which doesn't do quite
what he needs it to, so neither would _your_ alarm clock.
---
If Jeffrey is investigating the waking habits of students, his project
is more biological or psychological than electrical in subject matter.
He's looking for a tool to help him complete his research, not someone
to do the project for him. I don't expect him to smelt the iron and
forge his own typewriter so he can write the report.

---
It doesn't matter what Jeffrey's motives are, what matters is that
he gets what he asked for. Which is, simply, a device which counts
and displays the number of seconds which elapse between when an
alarm signal occurs and when the alarm signal is shut off.

If you want to do that for him, and supply him with working
hardware, by all means go for it.

If he wants help from me all he has to do is request a schematic.
 
J

John Fields

Jan 1, 1970
0
You make an excellent point about ethics. And in your defense, you may
not have seen all of the details because of my inconsiderate posting
habits.

However, the code is already written, debugged, and burned onto chips,
which will be handed out to students on request. There is a powerpoint
slideshow and a handout explaining how it all works, and all of the
information will be placed on the web for anyone who cares to download
it and compile the source.
 
B

Bill Bowden

Jan 1, 1970
0
Alarm clocks are among the most obnoxious devices I've ever taken
apart. They seem to do everything in the most complicated manner
possible. I don't understand the rationale behind their design because
it seems a $2 microcontroller, a crystal, and some LEDs would do what
apparently takes a hundred or more components in a $9 alarm clock from
Wal-Mart. It's almost as if they don't want you to reverse-engineer
their product and discover the secret of counting to sixty.

Yes, I agree, and that's why I wrote a PIC program to do all the clock
functions; time display, alarm, snooze, external load control,
daylight saving time adjustment, and other features using a PIC16f628
for a cost of about $3

Schematic and program are here:

http://ourworld.compuserve.com/homepages/Bill_Bowden/pic_ck.htm

-Bill
 
Top