i'm pretty new to making circuits; i just want to ask how to make an up AND down counter [ counts up then down ] and an n-counter [ 0, 1, 2, 3, 4, 5, 0, 1, 2... ] i already made an up counter and a down counter [see below].
i tried making a switched up/down counter by modifying one of these two circuits: Q'+QX where the Q's are those from a JK flipflop and the X is the switch indicating an up or down counting. the down count works perfectly fine, but when switched to an up counter, it counts 1 , 3 , 7 then F; and it doesn't go back to a lower count either.
i forgot to mention that we were allowed to use 74190 IC's but i'm clueless on how to use them.![Frown :( :(](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
here are the up / down counters:
i tried making a switched up/down counter by modifying one of these two circuits: Q'+QX where the Q's are those from a JK flipflop and the X is the switch indicating an up or down counting. the down count works perfectly fine, but when switched to an up counter, it counts 1 , 3 , 7 then F; and it doesn't go back to a lower count either.
i forgot to mention that we were allowed to use 74190 IC's but i'm clueless on how to use them.
here are the up / down counters:
Attachments
Last edited: