Binary clock

Discussion in 'General Electronics Chat' started by arthur92710, Jan 19, 2008.

  1. arthur92710

    Thread Starter Active Member

    Jun 25, 2007
    307
    1
    I want to build a binary clock.
    I have a SN74HC163 4-Bit Synchronous Binary Counter. Would it work for a clock?
     
  2. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    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.
     
  3. arthur92710

    Thread Starter Active Member

    Jun 25, 2007
    307
    1
    The 163 is all I have so thats what I will use. Ti wont send free 162's.:mad:
    how would the circuit look?
     
  4. adrian.dmc

    Active Member

    Feb 22, 2007
    52
    0
    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...
     
  5. HarveyH42

    Active Member

    Jul 22, 2007
    425
    5
    You might actually consider purchasing a few parts... But I guess that mean finding a job first, which of course is never any fun. :)
     
  6. arthur92710

    Thread Starter Active Member

    Jun 25, 2007
    307
    1
    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?
     
  7. adrian.dmc

    Active Member

    Feb 22, 2007
    52
    0
    Which gates? Depends on what you want to do...

    One question: do you have any idea of what you are doing?
     
  8. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    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.
     
  9. arthur92710

    Thread Starter Active Member

    Jun 25, 2007
    307
    1
    Ok so what do I need to make a binary clock?
     
  10. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
    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.
     
  11. arthur92710

    Thread Starter Active Member

    Jun 25, 2007
    307
    1
    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.
     
  12. adrian.dmc

    Active Member

    Feb 22, 2007
    52
    0
    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...
     
  13. arthur92710

    Thread Starter Active Member

    Jun 25, 2007
    307
    1
    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....
     
  14. thingmaker3

    Retired Moderator

    May 16, 2005
    5,072
    6
    "NOT gate" is another name for "inverter."
     
  15. adrian.dmc

    Active Member

    Feb 22, 2007
    52
    0
    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.
     
  16. Dave

    Retired Moderator

    Nov 17, 2003
    6,960
    144
  17. arthur92710

    Thread Starter Active Member

    Jun 25, 2007
    307
    1
    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?
     
  18. adrian.dmc

    Active Member

    Feb 22, 2007
    52
    0
    You will need a clock and for that you will need a 555 2 resistors and 1 capacitor.

    To know how to use the 555 go to: http://www.kpsec.freeuk.com/555timer.htm. You need a clock with a period of 1 minute.
     
  19. arthur92710

    Thread Starter Active Member

    Jun 25, 2007
    307
    1
    Ok I can get thee 555 to work. How fast does it have to go? Let me see... 1Hz
     
  20. adrian.dmc

    Active Member

    Feb 22, 2007
    52
    0
    1Hz = 1 second. Where X Hz = 1/(period)
     
Loading...