Building digital clock, need a clock pulse

E

Eric

Guest
I'm building a digital clock out of TTL 74xx chips (namely 7447, 7490,
7497, 7412), and I now need a clock pulse to run it. I was thinking of
using a quartz crystal resanator to run it, and I currently have a
32.768 Khz chip (which I would divide by 256 twice to get 1 hz) and a
1 Mhz chip I could also use. However I have tried finding a circuit
that will work with the crystals and can get none of the simpler ones
working, and don't want to take the time building a very complex one
unless I know it will work. If possible, could someone give me a link
to a circuit I can use to run one of these crystals. I am also open to
other suggestions as for different ways to get a clock pulse if
anybody thinks this is not the best method. Thanks is advance.
 
On 3 May 2004 10:59:29 -0700, eric51@nycap.rr.com (Eric) wrote:

I'm building a digital clock out of TTL 74xx chips (namely 7447, 7490,
7497, 7412), and I now need a clock pulse to run it. I was thinking of
using a quartz crystal resanator to run it, and I currently have a
32.768 Khz chip (which I would divide by 256 twice to get 1 hz)
---

32768 Hz
---------- = 128 Hz, so that won't work.
265

But,

32768 Hz
---------- = 1 Hz, so that will.
32768
---

and a
1 Mhz chip I could also use. However I have tried finding a circuit
that will work with the crystals and can get none of the simpler ones
working, and don't want to take the time building a very complex one
unless I know it will work. If possible, could someone give me a link
to a circuit I can use to run one of these crystals.
---
http://www.semiconductors.philips.com/acrobat/datasheets/74HC_HCT4060_CNV_2.pdf
---

I am also open to
other suggestions as for different ways to get a clock pulse if
anybody thinks this is not the best method. Thanks is advance.
---
If you use the 4060 it'll give you a divide by 16384, so you'll need
one more stage of ripple counter to get to 32768, which you can get by
connecting half of an HC74 wired as a divide by two to Q13 of the
4060.

--
John Fields
 
Eric,

You must have a sine wave oscillator. The catalogs are full of oscillators
with TTL/CMOS outputs. Are you for real using 74XX logic? You should at
least look at 74HC/HCT. They (National) used to make single chip clock
circuits.

Tam
"Eric" <eric51@nycap.rr.com> wrote in message
news:86705037.0405030959.5a6e1121@posting.google.com...
I'm building a digital clock out of TTL 74xx chips (namely 7447, 7490,
7497, 7412), and I now need a clock pulse to run it. I was thinking of
using a quartz crystal resanator to run it, and I currently have a
32.768 Khz chip (which I would divide by 256 twice to get 1 hz) and a
1 Mhz chip I could also use. However I have tried finding a circuit
that will work with the crystals and can get none of the simpler ones
working, and don't want to take the time building a very complex one
unless I know it will work. If possible, could someone give me a link
to a circuit I can use to run one of these crystals. I am also open to
other suggestions as for different ways to get a clock pulse if
anybody thinks this is not the best method. Thanks is advance.
 
John Fields wrote:

On 3 May 2004 10:59:29 -0700, eric51@nycap.rr.com (Eric) wrote:


I'm building a digital clock out of TTL 74xx chips (namely 7447, 7490,
7497, 7412), and I now need a clock pulse to run it. I was thinking of
using a quartz crystal resanator to run it, and I currently have a
32.768 Khz chip (which I would divide by 256 twice to get 1 hz)
---^---


---

32768 Hz
---------- = 128 Hz, so that won't work.
265
32768 Hz
-------- = 0.5 Hz, won't work either, but is closer ;-)
2 * 256

If you use real old TTL chips you need enough power to require a mains
connection, in which case you could use the 50/60 Hz line frequency as
the clock source.

--
Cheers
Stefan
 
On Mon, 03 May 2004 13:34:11 -0500, John Fields
<jfields@austininstruments.com> wrote:

On 3 May 2004 10:59:29 -0700, eric51@nycap.rr.com (Eric) wrote:

I'm building a digital clock out of TTL 74xx chips (namely 7447, 7490,
7497, 7412), and I now need a clock pulse to run it. I was thinking of
using a quartz crystal resanator to run it, and I currently have a
32.768 Khz chip (which I would divide by 256 twice to get 1 hz)

---

32768 Hz
---------- = 128 Hz, so that won't work.
265
---
Oops...

Misread the OP the first time, but 32768/256*256 = 0.5Hz, so it still
won't work
---

But,

32768 Hz
---------- = 1 Hz, so that will.
32768
---

and a
1 Mhz chip I could also use. However I have tried finding a circuit
that will work with the crystals and can get none of the simpler ones
working, and don't want to take the time building a very complex one
unless I know it will work. If possible, could someone give me a link
to a circuit I can use to run one of these crystals.

---
http://www.semiconductors.philips.com/acrobat/datasheets/74HC_HCT4060_CNV_2.pdf
---

I am also open to
other suggestions as for different ways to get a clock pulse if
anybody thinks this is not the best method. Thanks is advance.

---
If you use the 4060 it'll give you a divide by 16384, so you'll need
one more stage of ripple counter to get to 32768, which you can get by
connecting half of an HC74 wired as a divide by two to Q13 of the
4060.

--
John Fields
 
"Eric" <eric51@nycap.rr.com> wrote in message
news:86705037.0405030959.5a6e1121@posting.google.com...
I'm building a digital clock out of TTL 74xx chips (namely 7447, 7490,
7497, 7412), and I now need a clock pulse to run it. I was thinking of
using a quartz crystal resanator to run it, and I currently have a
32.768 Khz chip (which I would divide by 256 twice to get 1 hz) and a
1 Mhz chip I could also use. However I have tried finding a circuit
that will work with the crystals and can get none of the simpler ones
working, and don't want to take the time building a very complex one
unless I know it will work. If possible, could someone give me a link
to a circuit I can use to run one of these crystals. I am also open to
other suggestions as for different ways to get a clock pulse if
anybody thinks this is not the best method. Thanks is advance.
You could cascade two 74HC4060 chips to produce 1Hz, these are chips
specifically designed for use with 32k768Hz crystals and include 13 bit
counters internally. If you really want to re-invent the wheel and do it
discretely, use a CMOS unbuffered inverter such as a HEF4069UB or a
MM74HCU04:

http://he.fi/photo/ua5-dissection/sheets/mm74hcu04.pdf

Mark.
 
Eric wrote:
I'm building a digital clock out of TTL 74xx chips (namely 7447, 7490,
7497, 7412), and I now need a clock pulse to run it. I was thinking of
using a quartz crystal resanator to run it, and I currently have a
32.768 Khz chip (which I would divide by 256 twice to get 1 hz) and a
1 Mhz chip I could also use. However I have tried finding a circuit
that will work with the crystals and can get none of the simpler ones
working, and don't want to take the time building a very complex one
unless I know it will work. If possible, could someone give me a link
to a circuit I can use to run one of these crystals. I am also open to
other suggestions as for different ways to get a clock pulse if
anybody thinks this is not the best method. Thanks is advance.

Eric,

Why TTL?

Unless your specific purpose is nostalgic, ie., to be able to say "this
is a clock made from 74xx class logic, then there are better ways which
could allow you to make a clock with more features, capable of being
modified easily, and still very educational if that is also something
you are after.

One option would be to use a microcontroller, such as a PIC or AVR.
This would be a more software/algorithm type approach.

Second option would be to use a CPLD or FPGA. This would give you all
the opportunity to exercise logic skills as with 74xx, but you can make
a vastly more sophisticated clock and change it easily a few days after
you finish when you decide you want some crazy new feature.


In any case, have fun with your project.


Good day!



--
____________________________________
Christopher R. Carlen
Principal Laser/Optical Technologist
Sandia National Laboratories CA USA
crcarle@sandia.gov
 
Eric wrote:
I'm building a digital clock out of TTL 74xx chips (namely 7447, 7490,
7497, 7412), and I now need a clock pulse to run it. I was thinking of
using a quartz crystal resanator to run it, and I currently have a
32.768 Khz chip (which I would divide by 256 twice to get 1 hz) and a
1 Mhz chip I could also use. However I have tried finding a circuit
that will work with the crystals and can get none of the simpler ones
working, and don't want to take the time building a very complex one
unless I know it will work. If possible, could someone give me a link
to a circuit I can use to run one of these crystals. I am also open to
other suggestions as for different ways to get a clock pulse if
anybody thinks this is not the best method. Thanks is advance.

Good for you! Use those 74xx chips (or CMOS functional equivalents).
They're a great way to learn. I built my first digital clock with 74xx,
back in 1972.

As for a clock source, use the voltage mains. Here in the U.S.,
half-wafe rectified secondary of the power supply transformer gives 60
Hz. Long-term stability of themains is excellent. Use some kind of
low-pass filter to block any hash, then divide-by-12 and divide-by-5
stages (a couple 7490's) to get your 1 Hz. That's what I did, and the
TTL clock with INCANDESCENT 7-segment display is still working all these
years later.
 
Michael <NoSpam@att.net> wrote in message news:<4099B313.EC2585DF@att.net>...
Eric wrote:

I'm building a digital clock out of TTL 74xx chips (namely 7447, 7490,
7497, 7412), and I now need a clock pulse to run it. I was thinking of
using a quartz crystal resanator to run it, and I currently have a
32.768 Khz chip (which I would divide by 256 twice to get 1 hz) and a
1 Mhz chip I could also use. However I have tried finding a circuit
that will work with the crystals and can get none of the simpler ones
working, and don't want to take the time building a very complex one
unless I know it will work. If possible, could someone give me a link
to a circuit I can use to run one of these crystals. I am also open to
other suggestions as for different ways to get a clock pulse if
anybody thinks this is not the best method. Thanks is advance.


Good for you! Use those 74xx chips (or CMOS functional equivalents).
They're a great way to learn. I built my first digital clock with 74xx,
back in 1972.

As for a clock source, use the voltage mains. Here in the U.S.,
half-wafe rectified secondary of the power supply transformer gives 60
Hz. Long-term stability of themains is excellent. Use some kind of
low-pass filter to block any hash, then divide-by-12 and divide-by-5
stages (a couple 7490's) to get your 1 Hz. That's what I did, and the
TTL clock with INCANDESCENT 7-segment display is still working all these
years later.
I'll second that.

Use the mains as a clock source, over the long term it is MUCH more
stable than a XTAL oscillator. A standard watch crystal will give you
something in the order of +/- 15 seconds per month or worse. My mains
clock (50Hz here in Australia) is accurate to tens of seconds a year
or better.
If you are powering your clock from a plugpack then use an AC plugpack
and tap off the AC voltage, clip it with some diodes and dropper
resistors and feed into your TTL divider chip. You might also need
some filtering as suggested.
My old TTL clock is still working 20 years on, and is still a talking
point, esp with it's 0.1 second display which ticks over ten times a
second. Non-Electronics types think that it must be super accurate!
:->
Mine also has an AM/PM display using another 7seg display ("A" or
"P"), and I have two set switches, one for fast and one for slow. One
really neat feature is that I use center-off switches and floating
4000 series CMOS inputs, so when I open the switch I get a third
"50Hz" "superfast" mode by picking up the 50Hz mains hum from the
switch wiring!

To lower power consumption I run my LED's at 0.5mA per segment and
they work great day or night. You have to find the right types though,
not all work off this low a current.

Forget all that rubbish about using FPGA's, CPLD's and
microcontrollers, they are sacrilege for this application!

Have fun.

Regards
Dave :)
 
Michael wrote:
... divide-by-12 and divide-by-5 stages (a couple 7490's) to get your 1 Hz.
Nope! Not 7490. That's a decade counter, of course. I don't recall
the number of the 74xx that I used but I do remember it's a ripple
counter.
 
On Fri, 07 May 2004 03:24:39 GMT, Michael <NoSpam@att.net> wrote:

Michael wrote:
... divide-by-12 and divide-by-5 stages (a couple 7490's) to get your 1 Hz.

Nope! Not 7490. That's a decade counter, of course. I don't recall
the number of the 74xx that I used but I do remember it's a ripple
counter.
---
You can't do a divide by twelve with a single decade counter, but it
doesn't matter, since what you want is a divide by sixty and that's
easy to do with two, so the outcome is the same.

--
John Fields
 
On Fri, 07 May 2004 03:24:39 GMT, the renowned Michael
<NoSpam@att.net> wrote:

Michael wrote:
... divide-by-12 and divide-by-5 stages (a couple 7490's) to get your 1 Hz.

Nope! Not 7490. That's a decade counter, of course. I don't recall
the number of the 74xx that I used but I do remember it's a ripple
counter.
Whew, that was a LONG time ago.

7490: divide-by-5 and divide-by-2, can be used to make a divide-by-10
7492: divide-by-6 and divide-by-2, can be used to make a divide-by-12
7493: divide-by-8 and divide-by-2, can be used to make a divide-by-16

Best regards,
Spehro Pefhany
--
"it's the network..." "The Journey is the reward"
speff@interlog.com Info for manufacturers: http://www.trexon.com
Embedded software/hardware/analog Info for designers: http://www.speff.com
 
Spehro Pefhany wrote:
On Fri, 07 May 2004 03:24:39 GMT, the renowned Michael
NoSpam@att.net> wrote:

Michael wrote:
... divide-by-12 and divide-by-5 stages (a couple 7490's) to get your 1 Hz.

Nope! Not 7490. That's a decade counter, of course. I don't recall
the number of the 74xx that I used but I do remember it's a ripple
counter.

Whew, that was a LONG time ago.

7490: divide-by-5 and divide-by-2, can be used to make a divide-by-10
7492: divide-by-6 and divide-by-2, can be used to make a divide-by-12
7493: divide-by-8 and divide-by-2, can be used to make a divide-by-16

Best regards,
Spehro Pefhany

Yup. Too long for me. 7492 sounds right. But so does 7493. Darn
databook is a good 12 feet away, the casters on this chair don't work so
good, and my legs are worse!
 

Welcome to EDABoard.com

Sponsor

Back
Top