No, sorry. I am pretty sure the last two counters are working fine. All four are probably good. Why do you think capacitors there would help? Not too keen on following WAGs because soldering can make a mess.Did you try my suggestion?
OK, effects like that might be happening, but probably not at those counters. I get 36 flashes of LED1 for every actuation of the second LED, which is as it should be. It indicates that the last two counters are working correctly. Most likely the problem is upstream of the counters.My thinking is that the breadboard adds extra capacitance to the reset pulse that isn't there with on the PCB, so the counters reset erratically.
No, this suggests that the design is marginal.Folks, I think the time has come to put this one to bed.
The breadboard worked, the PCB doesn't. That suggests the design is good. There is a problem in the implementation.
This device uses components that I don't understand well. The currents are at low levels. I don't have the knowledge or equipment to properly troubleshoot this device.
Adding an oscilloscope to the mix might help but it will be a long road to success.
I think my best bet is to do another breadboard from scratch. Then I could swap sections which might ultimately get me a PCB that works.
I really appreciate the suggestions from everybody in this thread.
Yes, OK, I agree with you.No, this suggests that the design is marginal.
The hallmark of a good clean design is that it works- every time.
I have designed MANY circuits that depend on clean, perfect AC line frequency/phase detection to work correctly, I can attest that it's not trivial to achieve this.
Your zero crosser is almost guaranteed to generate extra pulses that will drive you bonkers until you fix this.
Counting fast/erratic behavior is a clear symptom of this problem.
The PCB pics are in post 16.What happened to the PCB pictures?
Did you post them?
What sort of doctor are you?
Good luck.............
Wow. I better read up on it.I don't know if you are aware, but almost the whole circuit could be replaced with a single ATtiny85 8-pin MCU.
It could accurately output a separate pulse every 1sec, 1min, and 1hour (on separate pins) and even be pre-synced to a real time clock.
I don't think you will regret it. And should you get to the stage where you want to go further, it could be argued that Digilent have the most cost-effective tool set.@kaindub and @Baker Steve
I have ordered a scope from Amazon. It's just a simple hand-held unit. But I think it will do the trick.
How do you know they are more complicated, steep, bad manuals?@kaindub and @Baker Steve
I have ordered a scope from Amazon. It's just a simple hand-held unit. But I think it will do the trick.
I was hesitant because devices tend to be more complicated than necessary, have a steep learning curve, and have very bad manuals. And a scope might be a very frustrating device for me. But after watching some utubes, I think it will be OK. It might be a lot of fun.
Trying a few things at random has not solved this circuit. Indeed, I need the right tools.
Thanks for your support and interest!