I corrected cd4010 & cd4011 to cd4510 & cd4511. Thanks.That wouldn't cause the count on the hours counter to change.
You have typos in the counter and decoder parts. If you correct them, you won't have others pointing that out.
I corrected cd4010 & cd4011 to cd4510 & cd4511. Thanks.That wouldn't cause the count on the hours counter to change.
You have typos in the counter and decoder parts. If you correct them, you won't have others pointing that out.
I'm pretty sure I'm using a CMOS 7555 to set the clock.The devil and aliens are making sure that your 50 years old (!) 555 oscillator overloads the 5.5V supply with its 400mA supply current pulses each time the output switches. Instead a Cmos 555 clock oscillator should have been used.
I knew that they were typos. Others might not be so kind, so I thought it best to let you make the corrections.I corrected cd4010 & cd4011 to cd4510 & cd4511. Thanks.
I didn't mention how I interfaced one clock stage with the next so I included a schematic. The circuit goes between 1 modular 60 counter for seconds to1 modular 60 counter for minutes and from the minutes counter to the modular 12 hours counter. Could this circuit put two pulses instead of one from the minute counter to the hour counter causing the modulus 12 counter to make an error to advance two counts instead of 1 after 60 minute? I can't tell if there is an error with the minutes counter. Or the problem is really missing bypass capacitors at the power pins of 1 or more ICs? When I set the clock with the100 hz 7555 oscillator in the seconds input the clock advances properly up or down; even the modulus 12 counter switches correctly like about 1 count every 40 seconds.I knew that they were typos. Others might not be so kind, so I thought it best to let you make the corrections.
I'll trace the logic when I get some time.I can't tell if there is an error with the minutes counter.
I'm sorry if I obfuscate you, that is unintentional. It pleases me greatly when you said you'll trace the circuit. I don't know how to do that but I guess you would use a computer application right. Thanks for making me feel great about logic gate design dl324. I have extra circuit boards I ordered of the clock and I'm hoping I don't have to change the design of the circuit. I built 3 similar clocks and all three of them have the same problem of the hour counter advancing two steps sometimes. My paranoia tells me that the clock is trying to protect itself or guard itself from some type of anomalyI don't see how that circuit could cause problems.
One way to eliminate the lack of bypass capacitors as a potential problem is to tack one on the power leads of every chip.
I'll trace the logic when I get some time.
I entered them in a simulator called Digital Works. It's a free simulator, but I had to create my own parts for most IC's.I don't know how to do that but I guess you would use a computer application right.
Your logic worked; that's what counts.Thanks for making me feel great about logic gate design dl324.
I didn't find any logic issues. The counters are synchronous, so glitches in decode can't be the problem.I built 3 similar clocks and all three of them have the same problem of the hour counter advancing two steps sometimes.
I know they're all misbehaving the same way in the up direction but I'm not sure on what count.I entered them in a simulator called Digital Works. It's a free simulator, but I had to create my own parts for most IC's.
Here are the two counters with simplifications that are possible:
Hours:
View attachment 202644 View attachment 202646
Minutes:
View attachment 202645 View attachment 202647
Your logic worked; that's what counts.
I didn't find any logic issues. The counters are synchronous, so glitches in decode can't be the problem.
Does the hour counter always misbehave the same on all three clocks? Is it the same count and in the same direction?
I can't see anything that would cause an extra count on the hours counter. Is the clock to the hours counter just the reset signal from the minutes counter?I know they're all misbehaving the same way in the up direction but I'm not sure on what count.
Is the problem that the hours count goes from 9 to 1 in the up direction?I know they're all misbehaving the same way in the up direction but I'm not sure on what count.
My mistake. That fixed counting down, but up still jumps from 9 to 1.When counting up. When counting down, the preset enable.
I only notice the hour count is wrong when it's 1 hour ahead like 6 o' clock instead of 5 o' clock when is five o' clock. It couldn't be going from 9 to 1 because that's more than one hour ahead. I'm not certain what to think about that.Is the problem that the hours count goes from 9 to 1 in the up direction?
I connected the reset from the minutes counter to the hours counter the way I thought you would and found that hours never increments.
In the down direction, the hours counter never decrements.
Is it possible for you to try the changes marked in red? The boxes indicate connections that should be broken (4 places). Connecting carry out from the previous stage to cin of the following stage is the typical way of cascading when you're using the full count. Connecting the clocks together eliminates problems caused by ripple clocking. I couldn't even leave in the propagation delay from the OR gate.I only notice the hour count is wrong when it's 1 hour ahead like 6 o' clock instead of 5 o' clock when is five o' clock. It couldn't be going from 9 to 1 because that's more than one hour ahead. I'm not certain what to think about that.
Did you happen to install the chips in sockets? They make sockets with integral decoupling caps.To avoid too much work when I get a chance I would try the .1uF bypass capacitors on the hours counter-maybe at where the power leads go into the board, just one .1 microfarad capacitor per board. Maybe I'll put a capacitor on the power input terminals of the cd4511 decoder board which goes to the hour counter displays. There are two cd4511 for the hour display board and the two displays are on the same board connected.
if the brown thing I see in the picture is a decoupling capacitor I did not see any on my sockets. I am assuming they are visible. Thank you for your concern dl324, I'm going to sleep now. Good night.Did you happen to install the chips in sockets? They make sockets with integral decoupling caps.
View attachment 202757
My point was that if you installed the chips in sockets, you could add decoupling caps by inserting sockets with integral caps into the existing sockets. That would be a way to put a cap on every chip without requiring soldering.I did not see any on my sockets.