I had some beef with my (very) old alarm
clock. Β It had a radio which was nice to
wake up to, but two problems:
1) I would be in bed and think βWait, did I
set the alarm?β Β I would have to get up,
turn on the light and look at the position
of the tiny black sliding switch.
2) When I wake up in the morning and
turn off the alarm, itβs still set to go off
the next morning. Β When I started this
project I had a roommate. Β I would wake
up 5AM on Monday and take off on a
business trip. Β 5AM Tuesday it would go
off again. Β Too bad for him!
I decided to retrofit it, ripping out the chip that runs the
show, replacing it with a microcontroller I could program
as I liked. Β All in all, it was an awful lot of work, but it feels
good to have it work my way.
Thereβs a second 4-digit display on top that shows the
alarm time. Β If this is lit, the alarm is set. Β You can tell at a
glance whether itβs set.
Turning it off in the morning turns it off for tomorrow as
well. Β I find it a lot easier to think of what time I want to get
up tomorrow as I go to bed, rather than when I wake up.
I added a new 3-way toggle switch on top. Β Pulling
it to the right turns on the radio to listen right now.
Clicking it to the left once makes the alarm active
(and the top display goes on), pushing it left again
turns it off. Β Two of the switches that I salvaged
from inside I reattached to the left of the display to
set the hours and the minutes. Β If the alarm is set,
these buttons change the alarm time, if not, they
set the clock time.
The alarm time increments in steps of 5 minutes,
since I never need to wake up at 6:03. Β Another
somewhat unique feature is that thereβs no AM or
PM. Β This saves me from setting it wrong and it
would only be a problem if I wanted to sleep for
more than 12 hours!
For more detail: Alarm Clock Retrofit using PIC16F877