John Fields wrote:
(snip)
Actually, yes! Please!
My experience with electronics is somewhat limited - I've done some
projects, but they've all been simple "hack it apart and change it"
stuff, mostly on old video game systems (turning my NES into a portable
system, making a light pen for my Commodore 64, etc.). I can read a
schematic, and I'm sure any symbols I don't know can be found online.
I've found a few projects which are close (ticking out time using an
array of chips/crystals rather than using a BASIC stamp or other
programmed chip to count off time, which I've done before & didn't
like), but all of them are much more complex than what I'm looking for
(a twelve-hour hours/minutes display in two rows), usually including
dozens of LEDs to count out 24-hours and even seconds. I'd like to see
if I can make one running off batteries rather than A/C, which means
I'd need a crystal since I wouldn't have the 60Hz line.
Like I said, though, my current experience is too limited to allow me
to be creative, since I don't have much idea of where to start.
Hm... So your requirements are straight forward:
- One X-tal ocsillator
- One divider/counter to bring the oscillator frequency down to 1/60Hz
- One divide by 60 (minutes) counter. All six ouputs to drive a LED and the
rollover to clock the hour counter.
- One divide by 12 or 24 (hours) counter, all four or five outputs to drive
a LED.
- All powered by battery.
You can get almost every X-tal you want if only you are willing to pay for
it. Cheapest ones I'm aware of are in the simple quarz clocks. They contain
an oscillator and divider that gives a pulse every second alternating on two
different outputs. Powered by a 1.5V battery you have a 1/2Hz clock. You
only need a transistor the amplify the 1.5V pulse to the level required by
the subsequent logic.
As you want binary output you will need three binary counters. But as the
range of the counters is not a power of two, you will need to reset them
once they've counted to 29, 59 and 11(or 23) respectively. That means for
the divide by 30 counter you should detect the value 29dec or 11101bin and
reset the counter at the next clockpuls. IMHO best counters for this purpose
are the classic 163 counters. Of course the CMOS version so CD40163B for
instance. The divide by 30 counter requires two of then plus a four input
NAND gate for the reset. Similar for the minutes counter. Decode 59dec or
111011bin to reset the counter. If you want a 12 hour clock, you need only
one CD40163B and decode 11dec or 1011bin for the reset.
At 5V or 6V the CD40163b can provide the 1mA required to drive a low power
LED. You can use buffers to increase this current but for a battery powered
circuit I'd stick on the low power LEDs.
petrus bitbyter