Im discussing this problem on another forum in parallel with this one.
I just copied what was there into here.
---
So the big problem I am facing today is to make this 7493 IC count to 7....
In the proteus simulator, is working fine, but in reality,
it stops to 4, doesnt matter the wiring I put on it !!!
I tried separately this circuit and now is counting up to 16, for 2IC's 7493 - the one I was using all the time and a brand new one.
So this is telling me the 7493 is a good chip, undamaged !!! GOOD !
Then, I switched to another NAND gate on the chip. Also I switched to another AND gate on the chip. You know, to try other gates from the 4 they have, in the idea maybe 1 gate is busted but the others are good.
I got the same result. It is counting and stops at 4.
It is counting to 3 actually (lit 2 leds), but when is trying to count to 4, is resetting. Like the wiring is connected for a 4 counts.... like this:
I became suspicious on my AND IC and I read carefully on it again, and it says CD4081BE. So it appears to be the right chip for an AND gate... But it behaves like a NOT gate...
It might be what you just said mister @dl324, being CMOS, easily damaged by ESD, either by me or from the guy I take it from, or board I scrap it.
---
I believe it is time to make a NEW and Glorious AND gate from discrete components. I only need 1 so its not a big deal.
I never built any logic gate before. This is my first time. And my first instinct is to make if from diodes. Like in this example:
I assume that RL is a 10k?
I am also thinking to test both IC's -theNAND and theAND- and see if they are doing what they should...before building a discrete gate.
And I just tested theAND gate. It does what it say it does. When A and B are to gnd, or one is on (+) and the other is on (-), the J output stays LOW. But when both A and B are to High, the output J gets High.
BUT... with an interesting side effect. When 1 or both A and B inputs are not connected to (+) or (-), when they are floating, the output J gets High....
Ta-ta-tam !!! This may be the reason mister @dl324 was saying these chips categories dont match eachother? the TTL and CMOS? May be.
One answer is certain. If one of the inputs (or both) gets in a tristate mode (not - not +) then it's output is High, and is certainly confusing/overriding the counter.
So, I solved this --floating problem-- by inserting 2x10k on each input pin (on A and B) and indeed solved it. I only had to put 1x10k on a single pin and the output wasnt High when floating. Also, it didnt affected the normal operation at all. Only when both A and B were High the output got High. The rest of the cases, is staying Low. Which is good.
I immediately inserted into my counter circuit. Absolutly no effect, it is still counting to 4. Incredible !!!
I also put 10k on the NAND inputs, and outputs, everywhere. No effect on the counting at all, still counting to 4. Again, incredible !
What a puzzle to descifre!