bcd counter made to count to 60

Thread Starter

ali8tor

Joined May 29, 2012
43
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
 

ScottWang

Joined Aug 23, 2012
7,397
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.
 

Thread Starter

ali8tor

Joined May 29, 2012
43
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
 

Attachments

bertus

Joined Apr 5, 2008
22,270
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
 

Thread Starter

ali8tor

Joined May 29, 2012
43
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?
 

MrChips

Joined Oct 2, 2009
30,704
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...?
 

Thread Starter

ali8tor

Joined May 29, 2012
43
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 :)
 

Attachments

elec_mech

Joined Nov 12, 2008
1,500
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.
 

elec_mech

Joined Nov 12, 2008
1,500
Not quite correct. You need to preload (reset) to 01.
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.
 

MrCarlos

Joined Jan 2, 2010
400
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
 

Attachments

elec_mech

Joined Nov 12, 2008
1,500
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.
 
Top