bcd counter made to count to 60

Discussion in 'Homework Help' started by ali8tor, Sep 9, 2012.

  1. ali8tor

    ali8tor Thread Starter Member

    Joined:
    May 29, 2012
    Messages:
    35
    Location:
    Aussie
    hi

    Im trying to make a bcd counter using 4510 ic that counts up to 60 and resets which is displayed on two 7 segment displays (4511 ic). I seriously need help.

    thanks
  2. bertus

    bertus Administrator Staff Member

    Joined:
    Apr 5, 2008
    Messages:
    12,608
    Location:
    Amsterdam,Holland (GMT + 1)
    Hello,

    Can you show us what you have got upto now?
    (post a schematic)
    Can you tell us where you got stuck?

    Bertus
    ali8tor likes this.
  3. ScottWang

    ScottWang Well-Known Member

    Joined:
    Aug 23, 2012
    Messages:
    1,794
    Location:
    Taiwan, Asia (GMT +8)
    Do you just want to count up to 60, and no count down?
    If do so, then you can use CD4518, that's easier than CD4510, CD4510 is designed for Count up/down, it's needs more control.
    ali8tor likes this.
  4. BMorse

    BMorse Senior Member

    Joined:
    Sep 26, 2009
    Messages:
    2,673
    Location:
    Vermontville, Michigan (GMT -5)
    ali8tor likes this.
  5. ali8tor

    ali8tor Thread Starter Member

    Joined:
    May 29, 2012
    Messages:
    35
    Location:
    Aussie
    Hi

    I just need it to count to 60 and reset, i've connected up two 4510 ic to two 4511. ive attached the schematic, cheers

    Attached Files:

    • bcd.png
      bcd.png
      File size:
      20.4 KB
      Views:
      24
  6. bertus

    bertus Administrator Staff Member

    Joined:
    Apr 5, 2008
    Messages:
    12,608
    Location:
    Amsterdam,Holland (GMT + 1)
    Hello,

    The schematic is to tiny to read properly.
    What I can see is that you use two separate pulse sources.
    This is not correct.
    You can feed the carry of the fast counter to the clock of the slow counter.
    Also I do not see the detection of the number 60 in your schematic.

    Bertus
    ali8tor likes this.
  7. ali8tor

    ali8tor Thread Starter Member

    Joined:
    May 29, 2012
    Messages:
    35
    Location:
    Aussie
    oh yup, i actually don't know how to wire up the bcd counter in a way where it counts up to 60, the circuit right now counts to 99 and resets. am i suppose to use logic gates to make it count to 60?
  8. MrChips

    MrChips Moderator Staff Member

    Joined:
    Oct 2, 2009
    Messages:
    9,790
    Do you want the counter to stop when 60 is reached?
    Do you want the counter to continue counting 59-60-00-01?
    Or do you want the counter to count 58-59-00-01...?
    ali8tor likes this.
  9. bertus

    bertus Administrator Staff Member

    Joined:
    Apr 5, 2008
    Messages:
    12,608
    Location:
    Amsterdam,Holland (GMT + 1)
    Hello,

    Wich bits show a 6 at the high (slow) counter?
    Detect them to reset the high (slow) counter.

    Bertus
    ali8tor likes this.
  10. ali8tor

    ali8tor Thread Starter Member

    Joined:
    May 29, 2012
    Messages:
    35
    Location:
    Aussie
    Hi

    I would like it to go 59-60-00-01?

    thanks
  11. ali8tor

    ali8tor Thread Starter Member

    Joined:
    May 29, 2012
    Messages:
    35
    Location:
    Aussie
    Hi bertus

    i think it would detect 0110?
  12. MrChips

    MrChips Moderator Staff Member

    Joined:
    Oct 2, 2009
    Messages:
    9,790
    Now, be careful. If you are counting seconds or minutes, you will be counting 61 seconds or minutes.
    ali8tor likes this.
  13. ali8tor

    ali8tor Thread Starter Member

    Joined:
    May 29, 2012
    Messages:
    35
    Location:
    Aussie
    Hello there

    I managed to fix it up a bit and now the circuits counting to 59 and resetting which is close to what i want. But i need to see decimal 60 before it resets and starts counting again. I've attached the circuit

    thanks guys :)

    Attached Files:

  14. MrChips

    MrChips Moderator Staff Member

    Joined:
    Oct 2, 2009
    Messages:
    9,790
    Then you want it to count 58-59-60-01-02...

    which is a lot easier to do with a microcontroller.
  15. ali8tor

    ali8tor Thread Starter Member

    Joined:
    May 29, 2012
    Messages:
    35
    Location:
    Aussie
    exactly, would you know how to make the circuit do that?

    thankyou
  16. elec_mech

    elec_mech Senior Member

    Joined:
    Nov 12, 2008
    Messages:
    1,324
    Location:
    Virginia, USA
    To do what you've asked, you need to have the circuit reset at 61. You're resetting at 60 so when the count turns from 59 to 60, you'll see 59 then 00.

    To do this, I'd suggest a CD4078 using the NOR output. This accepts eight inputs. You'll feed the outputs from both CD4510s to the CD4078. You'll need to add some NOT gates.

    Tens digit:
    A: Straight to CD4078
    B: Through NOT gate to CD4078
    C: Through NOT gate to CD4078
    D: Straight to CD4078

    Ones digit:
    A: Through NOT gate to CD4078
    B: Straight to CD4078
    C: Straight to CD4078
    D: Straight to CD4078

    So, Tens = Decimal 6, binary 0110 converts to 0000 into CD4078, Ones = Decimal 1, binary 0001 converts to 0000 into CD4078.

    The CD4078 will then output a logic 1 on the NOR output which you need to feed to the reset pins on BOTH CD4510s.
  17. MrChips

    MrChips Moderator Staff Member

    Joined:
    Oct 2, 2009
    Messages:
    9,790
    Not quite correct. You need to preload (reset) to 01.
  18. elec_mech

    elec_mech Senior Member

    Joined:
    Nov 12, 2008
    Messages:
    1,324
    Location:
    Virginia, USA
    Whoops, sorry, I missed the 60 to 01 and thought I saw 60, 00, 01. Thank you MrChips.

    In that case, the output of the CD4078 goes to the reset pin of the CD4510 for the tens digit and to pin 1 of the CD4510 for the ones digit. The preset inputs on CD4510 for the ones digit need to be set to 0001 where P1 is high and P2-P4 are low. Then the display will show 59, 60, 01, 02.

    Also, your schematic shows a 60Hz clock. Are you counting in seconds or something else? If the former, it should be 1Hz.
  19. MrCarlos

    MrCarlos Member

    Joined:
    Jan 2, 2010
    Messages:
    264
    Location:
    Guadalajara, Jalisco México
    Hello ali8tor

    If you want to see the 60 in the Display´s you must reset on 61, otherwise you never will see the 60.
    Let me named the Q’s Outputs As:

    Units Counter: Q8, Q4, Q2, Q1,
    Tens Counter: Q80, Q40, Q20, Q10.
    So, The Q’s Outputs are true when It Is High.
    Therefore: you Must detect when the counter Reach: 0110 0001(Binary) 61(Decimal).
    The input Reset is True when it si high.

    The AND gate statemente say:
    Until All inputs are high its output will be high.
    You could use one 3 input AND gate to detect our 61 and its output connected to the MR on the counters.

    Take a look the attached image. See if it is good for you.
    This counter will cycle from 0 to 60 and start again.

    regards
    at your service

    Attached Files:

  20. elec_mech

    elec_mech Senior Member

    Joined:
    Nov 12, 2008
    Messages:
    1,324
    Location:
    Virginia, USA
    Hi MrCarlos - much more elegant using the 3-input AND gate than the 8-input NOR gate with NOT gates I suggested. I love this site - I'm always learning something new or another way to solve a problem.

    A couple of notes - as MrChips pointed out to me, the OP wants the output to look like 59, 60, 01, 02, . . . so the OP will need to use the preset inputs. On further thought, the OP should probably use the presets on the tens place 4510 as well and tie P1-P4 low. In this way, the OP can reset the circuit to 01 instead of 00 using a button if desired.

    I also notice you tie the CO pin from the ones 4510 to the clock pin of the tens 4510 - I assume this is a form of ripple counting? I just noticed the OP did this in the last schematic posted as well. The datasheet shows using a CD4071 fed by the clock signal and the CO from the ones IC and outputting into the clock input of the tens 4510. I would suggest the OP use parallel clocking to avoid extra parts - connect the clock signal to both clock pins of the 4510s. Connect pin 7 (CO) from the ones 4510 to pin 5 (CI) of the tens 4510.
Similar Threads
Forum Title Date
Homework Help Sequential Counter Sep 22, 2014
Homework Help mod 5 down counter Sep 20, 2014
Homework Help JK flip-flops up-down counter from 0 to 9 Sep 17, 2014
Homework Help State transition graph for illegal counter Sep 9, 2014
Homework Help 4 digit up/down counter Sep 2, 2014

Share This Page