I was finally able to make an 1 bit up down counter but may problems is that when I reach 9 and fed in the up clock using the push button the display should still be 9 but it keeps looping back to 0. The same problems occurs when the display is 0 and I fed in the down clock. Any suggestion on how to fix the problem?
Here's a picture of the circuit I made, the supply and ground is the only part cut out from the pic
I was finally able to make an 1 bit up down counter but may problems is that when I reach 9 and fed in the up clock using the push button the display should still be 9 but it keeps looping back to 0. The same problems occurs when the display is 0 and I fed in the down clock. Any suggestion on how to fix the problem?
Here's a picture of the circuit I made, the supply and ground is the only part cut out from the pic
power on then clear so that display = "0"
when counting UP press a button so that UP is from 0,1,2,.....,9 only and not looping from 0,1,2....,9,0,1,2,...9
and when I want to count DOWN press another button so that count will go, for example from 5,4,3,....,1,0 only again not looping from 3,2,1,0,9,8,7
power on then clear so that display = "0"
when counting UP press a button so that UP is from 0,1,2,.....,9 only and not looping from 0,1,2....,9,0,1,2,...9
and when I want to count DOWN press another button so that count will go, for example from 5,4,3,....,1,0 only again not looping from 3,2,1,0,9,8,7
The Tcup will go Low at a count of '9' ,, the Tcdn will go Low at a count of '0'
If you used the Tcup and Tcdn to control the Output state of a Bistable IC, for example a 4013 [ or equivalent HC bistable type ], then use the Bistable outputs to enable/disable Gating logic of the the Up and Down clocks to the 192.
Remember that for either the Up clock or Down clock to count the 192, the non counting clock input must be held High.
I'm sorry fors asking again, but how do I connect the Tcup and Tcdn? I tried connecting the Tcup to pin 5(D1) of the 4013IC and pin 1(Q1) to the up clock of the BCD up/down counter and pin 3 (clock) of the 4013 to one of the output of the 555 timer. Is this correct?
I'm sorry fors asking again, but how do I connect the Tcup and Tcdn? I tried connecting the Tcup to pin 5(D1) of the 4013IC and pin 1(Q1) to the up clock of the BCD up/down counter and pin 3 (clock) of the 4013 to one of the output of the 555 timer. Is this correct?
As you want to Up count from 0 to 9 and then ignore any further Up counts, it waits for Down counts and counts down from 9 to 0 and then ignores any further down counts.
If the counter is say '5' it will either count Down or Up depending upon the switch pressed.
The problem is the TCup occurs at the 9th count on falling edge of the clock pulse and lasts for the duration of the Low of the clock pulse.
So as the Up clock rises to a High [ which it has to be for the the Down clock to be Enabled] the counter steps onto '0'. Then you get the TCdn low pulse.
I will run some LTSpice sims and see if I can suggest a solution.