Frequency Counter

Thread Starter

PaulDFL

Joined Jan 1, 2020
49
That is not the issue. It is like wearing a seat belt. You don't see any effects with or without.
The point is, you can have 10 problems on the board, fixing one problem shows no difference.
Good point.
I’ll re-install the caps.
I’m working to post a full schematic.
It was mentioned if I draw the entire circuit, I could find the source of the problem.
 

KeithWalker

Joined Jul 10, 2017
3,098
Designed a counter using LS circuits.
All was going well up to the last decade.
The circuits track the frequency as designed to 5KHz.
After that the last stage output sends a pulse to the fifth once every four gate times.
Lower the frequency, the pulse stops.
I am assuming you are using the counter as a binary counter and not a BCD counter.
If you are looking at the output of QD, you will see a low pulse on the count of 4 and 9 (see the truth table attached).
Are you sure the circuit is counting the way you expect it to? I rather doubt it. Did you design it or is it from a source on the internet?
74ls390.jpg
 

Thread Starter

PaulDFL

Joined Jan 1, 2020
49
I am assuming you are using the counter as a binary counter and not a BCD counter.
If you are looking at the output of QD, you will see a low pulse on the count of 4 and 9 (see the truth table attached).
Are you sure the circuit is counting the way you expect it to? I rather doubt it. Did you design it or is it from a source on the internet?
View attachment 199008
I use the LEDs to save board space.
I can read a binary number as easily as I can a decimal number.
The counters are decade counters.
 

MrChips

Joined Oct 2, 2009
30,824
I use the LEDs to save board space.
I can read a binary number as easily as I can a decimal number.
The counters are decade counters.
You have LEDs in your circuit?
What is driving the LED?

Do you know that you cannot drive LEDs and take a logic signal from the same output pin?

Here is another reason for paying attention to datasheets.
 

Thread Starter

PaulDFL

Joined Jan 1, 2020
49
You have LEDs in your circuit?
What is driving the LED?

Do you know that you cannot drive LEDs and take a logic signal from the same output pin?

Here is another reason for paying attention to datasheets.
Why has the first four decades not been affected?
I’ve been doing it for years without problems.
The resistor I used drops the LED current to about 10mA.
 

dl324

Joined Mar 30, 2015
16,943
I’ve been doing it for years without problems.
It looks like you're using #24 wire. I've found that anything smaller than #22 has a tendency to pull out when nudged.

I have an LED cube prototype that I've been running for a year or so. Every once in awhile, the multiplexing become erratic and I need to wiggle some wires to restore correct operation. Those wires are using male DuPont connectors that have a snug fit in solderless breadboards.
 

Thread Starter

PaulDFL

Joined Jan 1, 2020
49
It looks like you're using #24 wire. I've found that anything smaller than #22 has a tendency to pull out when nudged.

I have an LED cube prototype that I've been running for a year or so. Every once in awhile, the multiplexing become erratic and I need to wiggle some wires to restore correct operation. Those wires are using male DuPont connectors that have a snug fit in solderless breadboards.
True.
Yes, I do have the nudged wire problem.
That’s why the first thing I do is check for it and a diagonally shifted wire.
This can reach across to the next row and create weird problems.
My protoboard is several years old now.
Some of the places are to loose for the #24 wire so I have to move the wire to another place in the row or move the device. :(
 

MrChips

Joined Oct 2, 2009
30,824
Why has the first four decades not been affected?
I’ve been doing it for years without problems.
The resistor I used drops the LED current to about 10mA.
Another common response: "I’ve been doing it for years without problems."

Did I tell you about the house painter who had been climbing the same ladder for 35 years?
"I’ve been doing it for years without problems."
 

Thread Starter

PaulDFL

Joined Jan 1, 2020
49
Another common response: "I’ve been doing it for years without problems."

Did I tell you about the house painter who had been climbing the same ladder for 35 years?
"I’ve been doing it for years without problems."
We’re moving away from the issue.
None of the above comments are relevant to the 5KHz pulse glitch.
 

dl324

Joined Mar 30, 2015
16,943
Some of the places are to loose for the #24 wire so I have to move the wire to another place in the row or move the device.
Using #22 wire and not abusing the sockets by installing things that are too large (TO-220 leads, #18 wires) will give more trouble free operation.

I have some breadboards from Ali Express that have quality control issues. Most complain about insertion being too difficult because the metal strips don't align well enough with the plastic. My problem has been weak grip, so #24 wire can be problematic.

The breadboards for my cube are from the 70's and are good quality.
 
Top