How to count from 0 to 4 only using a 74193 or 74191?

Discussion in 'The Projects Forum' started by nivekevin, Oct 5, 2010.

  1. nivekevin

    Thread Starter New Member

    Oct 5, 2010
    9
    0
    Hi! I am wondering how can I allow the 74193 or 74191 (synchronous 4 bit up/down counter) chips to count from 0 to 4 or 4 to 0 only (i just want it to count for 5 clock cycles... meaning that after that the counting would reset to 0 again... i guess some logic gates are needed to implement it... any suggestions/ advices?

    Thanks in advance! :)
     
  2. Wendy

    Moderator

    Mar 24, 2008
    20,764
    2,534
    There are several ways. I'd use a 3 input AND gate with one or two inverters to detect the binary number 100 (or 101), and feed the output of the AND gate to the reset pin. Other people may have better ideas.
     
  3. nivekevin

    Thread Starter New Member

    Oct 5, 2010
    9
    0

    Thanks for the prompt reply! I think i get a better idea already. :)
     
  4. gootee

    Senior Member

    Apr 24, 2007
    447
    50
    Feed Bit 3 to Reset? (Or AND bits 1 and 3 and feed that to Reset?)
     
Loading...