60 second timer issue

Discussion in 'Homework Help' started by Jacob Riggs, Mar 18, 2015.

  1. Jacob Riggs

    Thread Starter New Member

    Mar 18, 2015
    4
    0
    Hi, I am trying to create a 60 second timer which counts to 60 and then resets to 00 and continues to count up. The design must be done with a 74LS163 for the ones digit and an asynchronous counter designed with J/K flip-flops for the tens digit. Both are connected to 74LS48 BCD to Seven Segment decoders.

    Currently, I am capturing the 6 from the tens counter and the 1 from the ones counter and wiring this to both the clears of the J/K flip-flops and the clear of the 74LS163. This causes it to reset from 60 to 01. If I instead only capture the 6 from the tens counter, it will reset at 59 to 00.

    How can I reset at 60 without displaying a 01 immediately after it resets?
     
  2. JoeJester

    AAC Fanatic!

    Apr 26, 2005
    3,373
    1,157
    Post your schematic
     
  3. Papabravo

    Expert

    Feb 24, 2006
    10,135
    1,786
    Why do you want a timer with 61 states?
    How does clearing the '163 cause it to display a 1?
    There's a strange disturbance in the farce, Luke.
     
  4. LDC3

    Active Member

    Apr 27, 2013
    920
    160
    If it's a continuous counter, why would you display 60, 00, 01? That would take 61 seconds to complete one rollover.
    You would want it to display either 59, 60, 01 ... or 59, 00, 01 ...
     
  5. Jacob Riggs

    Thread Starter New Member

    Mar 18, 2015
    4
    0
    I can't seem to upload the file from this computer (or open it to screenshot, this computer does not have the software), but will be able to tomorrow morning. As for your questions, this is a homework assignment, which is why it is in the homework help thread. I do not control the criteria of the assignment.
     
  6. Papabravo

    Expert

    Feb 24, 2006
    10,135
    1,786
    A sixty second timer that has sixty one states is a foolish foolish thing and you need to say so.

    I'll bet you'll just go ahead and follow orders like a good little trooper? The world needs more of that fer sure!
     
  7. MrChips

    Moderator

    Oct 2, 2009
    12,420
    3,355
    You really need a counter that goes 00 - 01 . . . 58 - 59 - 00 - 01 . . .

    Use two 74LS160.
     
  8. Bill B

    Active Member

    Nov 29, 2009
    61
    0
    Are you sure you understand the assignment? Keep in mind, 0 to 59 is 60 states. In other words, if you increment 60 times starting at 0, you will end up at 59. I would ask for a clarification. I agree with the others, a counter with 61 states makes no sense at all.
     
    Last edited: Mar 19, 2015
  9. Alec_t

    AAC Fanatic!

    Sep 17, 2013
    5,773
    1,103
    Do you want the display to show 0-59 or 1-60?
     
  10. Jacob Riggs

    Thread Starter New Member

    Mar 18, 2015
    4
    0
    Here are the criteria and the information I was given in order to create the circuit. These are not subject to change. If I tell my teacher that this is a "foolish foolish thing", he will likely tell me to follow the lab as it is written.

    Design a digital Sixty Second Timer that counts from 00 to 60. This design has two control inputs and two output displays. The two inputs are Clock and Reset. The Clock signal is a 1 Hz square wave that controls the count rate. The Reset signal, when it is a logic zero, resets and holds the count at zero. When the Reset signal is a logic one, counting is enabled. When the count reaches sixty seconds, the counting resets to zero.

    · The two output displays are common cathode seven-segment.

    · Each display will use a 74LS48 BCD-To-Seven-Segment display driver in Design Mode. (DEC_BCD_7 in PLD Mode)

    · The ones-unit display (0-9) is controlled by a synchronous counter designed with a 74LS163 MSI counter IC. (CNTR_4BIN_S in PLD Mode)

    · The tens-unit display (0-6) is controlled by an asynchronous counter designed with SSI logic gates (J/K).

    · Any additional logic may be used as needed to support the counter designs.

    I have also included a picture of my current schematic. Thanks for any help!
     
  11. Jacob Riggs

    Thread Starter New Member

    Mar 18, 2015
    4
    0
    Ok, our teacher just walked into the room and said that he will now accept 00-59. GG
     
  12. WBahn

    Moderator

    Mar 31, 2012
    17,715
    4,788
    My guess is that his thinking was that the timer would take one second to go from 59 to 60 and then immediately reset from 60 to 00 and then take the remainder of that second to go from 00 to 01. The user would likely never see the 60 displayed because it would be so brief.

    I'm more disappointed in them requiring you to do the tens digit as an asynchronous counter, particularly if they aren't requiring you to do the design verification that asynchronous logic requires in order to do it right.
     
Loading...