MOD-6 Counter

Discussion in 'The Projects Forum' started by elole1, Jan 3, 2012.

  1. elole1

    Thread Starter New Member

    Jan 3, 2012
    3
    0
    Hi guys. I gt a question about this MOD-6 Counter. (110)
    Basically, what I could do now is to get the number to change from 0..1..2..3..4..5..0..1..2..3..4..5 . But then, I'm trying to make it look cooler by making it change from 0..1..2..3..4..5..4..3..2..1..0 . It seems that I gt a lot of error when making an attempt to make it like this. I have been trying this for the past few days. Any kind soul willing to help me? :)

    With regards,
    Lewis.
     
  2. MrChips

    Moderator

    Oct 2, 2009
    12,452
    3,371
    You can create a mod-6 counter with three flip-flops. To do what you are suggesting will require four flip-flops.
     
  3. elole1

    Thread Starter New Member

    Jan 3, 2012
    3
    0
    The 3 chips will be the one setting it to be a MOD-6 counter(110). So meaning the other chip I'll use it to make it count up and down?
     
  4. MrChips

    Moderator

    Oct 2, 2009
    12,452
    3,371
    While that is correct, I would look at it differently. The fourth flip-flop will be used to identify the count down sequence as new states.
    0-1-2-3-4-5-C-B-A-9-0.

    Remember, what you are building is a state machine. Use Karnaugh maps for this.
     
  5. elole1

    Thread Starter New Member

    Jan 3, 2012
    3
    0
    Hello Mr Chips, Do you mind explaining how can I use k-map for Mod-6 counter? Sorry, i'm a beginner. ):
     
  6. MrChips

    Moderator

    Oct 2, 2009
    12,452
    3,371
Loading...