[SOLVED] CD4017 reset issue

MisterBill2

Joined Jan 23, 2018
27,530
The problem with the counter that does not reset is that internally the reset pulse is too short, but with theother 4017 the pulse is longer. The two devices are different brands I suspect. I have run into this problem before, that different brands of the same part number are just a bit different. And the timing between the output going zHigh and the reset action happening is not specified.
A cheap trick could be a diode OR of outputs 4 and 5 to do the full reset to zero.
 

Thread Starter

Sebbi

Joined Mar 24, 2024
15
The problem with the counter that does not reset is that internally the reset pulse is too short, but with theother 4017 the pulse is longer. The two devices are different brands I suspect. I have run into this problem before, that different brands of the same part number are just a bit different. And the timing between the output going zHigh and the reset action happening is not specified.
A cheap trick could be a diode OR of outputs 4 and 5 to do the full reset to zero.
Thanks for that hint, I'll try this. All other solutions have not been working unfortunately. I'll let you know how it's going.
 

Thread Starter

Sebbi

Joined Mar 24, 2024
15
The problem with the counter that does not reset is that internally the reset pulse is too short, but with theother 4017 the pulse is longer. The two devices are different brands I suspect. I have run into this problem before, that different brands of the same part number are just a bit different. And the timing between the output going zHigh and the reset action happening is not specified.
A cheap trick could be a diode OR of outputs 4 and 5 to do the full reset to zero.
Unfortunately it didn't work.
But what I have noticed is that when I for example connect Q1 (Pin 2) with Reset (Pin 15) the sequence goes Q0, Q2, Q3, Q4.... Normally I'd expect that it will be reset on Q1 and jump back to Q0 but Q1 is simply skipped and then continues with Q2, 3, 4....
Any ideas?
 

MisterBill2

Joined Jan 23, 2018
27,530
One more possibility is to add a small capacitor from the reset input to the common, 0.001 mfd. That might stretch the pulse enough to make it function as needed, or it might stop it from working at all.
This certainly is an unusual condition to need to deal with.
 

Thread Starter

Sebbi

Joined Mar 24, 2024
15
One more possibility is to add a small capacitor from the reset input to the common, 0.001 mfd. That might stretch the pulse enough to make it function as needed, or it might stop it from working at all.
This certainly is an unusual condition to need to deal with.
Unfortunately it didn't work. Nothing changed on eh behavior of the LEDs and the sequence.

Try a 1k resistor between pins 10 & 15. Together with pin 15's input capacitance it should do the trick!
I also tried this but also with no effect.

The fact that confuses me most is that the circuit is working perfectly when I put all parts on a breadboard. The only difference is that on the breadboard I have SMD parts and on the breadboard THT parts. But should make no difference!?
 

BobTPH

Joined Jun 5, 2013
11,517
Unfortunately it didn't work. Nothing changed on eh behavior of the LEDs and the sequence.



I also tried this but also with no effect.

The fact that confuses me most is that the circuit is working perfectly when I put all parts on a breadboard. The only difference is that on the breadboard I have SMD parts and on the breadboard THT parts. But should make no difference!?
Something is wired wrong.

Edited tadd: Are the pinouts of the SMT parts the same as the THT ones?
 
Last edited:

eetech00

Joined Jun 8, 2013
4,705
Unfortunately it didn't work. Nothing changed on eh behavior of the LEDs and the sequence.



I also tried this but also with no effect.

The fact that confuses me most is that the circuit is working perfectly when I put all parts on a breadboard. The only difference is that on the breadboard I have SMD parts and on the breadboard THT parts. But should make no difference!?
You don't clearly identify the "perfectly working" circuit, causing confusion.
Are there two separate breadboards?
Which breadboard is "working perfectly"? SMB or THT?

Can you post a photo of the "bad" breadboard?
 

MisterBill2

Joined Jan 23, 2018
27,530
OK, it slipped past me that one version was surface mount construction. There might even be some functional differences that are not very obvious. Time to take another look at the data sheets, and more of the pages.
 

Thread Starter

Sebbi

Joined Mar 24, 2024
15
You don't clearly identify the "perfectly working" circuit, causing confusion.
Are there two separate breadboards?
Which breadboard is "working perfectly"? SMB or THT?

Can you post a photo of the "bad" breadboard?
Sorry I was ill for a while.

THT version is working good, SMD is not.
I'm attaching some photos but I'm not sure if that helps...
 

Attachments

Thread Starter

Sebbi

Joined Mar 24, 2024
15
OK, it slipped past me that one version was surface mount construction. There might even be some functional differences that are not very obvious. Time to take another look at the data sheets, and more of the pages.
Yeah I did that already... many times... but I can't find an error.
 

Thread Starter

Sebbi

Joined Mar 24, 2024
15
IT WORKS!!

My circuit was fine the whole time. The problem was the circuit board itself. I ordered the board correctly but it was produced incorrectly. The connection Q9 was connected to the reset instead of Q4 (both are next to each other). Apparently it doesn't work if you connect multiple outputs to the reset. Therefore all tests in that direction failed. I have now removed Q9 and manually connected Q4 to RESET. Now it works.

Many thanks to all who have supported me here!
 
Top