Binary clock

beenthere

Joined Apr 20, 2004
15,819
It would be kind of a pain to use, as it counts up to F (hexidecimal). An 'HC160 or 'HC162 count in decimal, so they would be simpler to use.


You have the right idea, though. A clock is just several sets of counters with displays showing the state of the count. A little external logic so the first two pairs short count at 60 and the third at 12, and you have a clock.
 

adrian.dmc

Joined Feb 22, 2007
53
It is exactly the same using a 74160/74161/74162/74163 in a project like a clock if there's one IC to each digit. You say you have "a" not "some" 74HC163 IC's, if you only one IC you can't do a clock you need at least 3 ICs: 2 for the minutes and one (I recommend two) for the hours; and obviously some raw gates.

If you want I can help you make such a thing...
 

Thread Starter

arthur92710

Joined Jun 25, 2007
307
Ha! purchase! they send free parts. if they dont I'll look some where else.

I do have "some" 74HC163's 5 to 10 I have to check. So all I need is those gates. Which ones?
 

beenthere

Joined Apr 20, 2004
15,819
The '163's count from 0 to F. For a decimal count, you have to use an external AND gate so the next clock after a count of 9 resets the counter to 0. CMOS is easier - you use 4029's with pin 9 low, so they count in decimal. You also get to be sloppy with Vcc and use anything up to 15 volts.

Besides counting seconds and minutes and hours you need decoders to drive your indicators. Plus a clock source.
 

beenthere

Joined Apr 20, 2004
15,819
Whoops - you really want to make one that has an output read as binary numbers?

Sorry if I missed that - I'm busy designing a Nixie tube clock, and my head is in a very decimal place.
 

Thread Starter

arthur92710

Joined Jun 25, 2007
307
yes I want it to have a binary output. With leds.
and also I would like that it has decimal. I will have a few 7 seg displays coming from china so I could use them here.
 

adrian.dmc

Joined Feb 22, 2007
53
Ok... So you will need gates for (I cannot precise which gates because I don't have time):
1. reseting the counters - AND gates (74xx08) - without thinking a lot I would say 3 AND gates (each 74xx08 contains 4 AND gates) for each counter.
2. enabling the next counter - AND and OR gates (74xx32) - again without thinking a lot I would say 2 AND gates and 1 OR gate (each 74xx32 contains 4 OR gates) for each counter.

PS: one 74xx04 (6 NOT gates) will be useful too.

Not much help but...
 

Thread Starter

arthur92710

Joined Jun 25, 2007
307
Thats alot of help. Thanks but what would the xx be? Like a HC or LS right? But what would be the best? Mabey a cmos for low power use? What would that be?

Whats a NOT gate? I dont think ive heard of them. I do digital electonics at school. We learned And, or, inverter, exclusive or, exclusive and, and the ?NOT? Im not very sure....
 

adrian.dmc

Joined Feb 22, 2007
53
If you are HC's in 163s you should also use HC in the others. Only one advice that IC type/family is very sensitive so try not to touch the pins with out hands.
 

Thread Starter

arthur92710

Joined Jun 25, 2007
307
Oh so there the same NOT and inverter, just a different name.
So the parts list so far...
5 AND gates
1 OR
6 NOT
And the counter hc163
What else?
 
Top