4017 Frustration

MrChips

Joined Oct 2, 2009
34,807
My circuit suggestion was intended for TS to learn how to cascade CD4017 Johnson counters.
For 60 discrete LEDs showing seconds, you only need two CD4017.
The same applies for 60 minutes.
Add another two for 12 hours.
Total: six CD4017 and 132 LEDs.
 
Add another two for 12 hours.
And that would need a 2 input AND gate to select the 12th output and a clock output.
He could use (no - he shouldn't) a Quad 2 IN NAND gate. Two gates to act as an AND gate and two to form a clock signal. But that's a poor way to generate a precision clock signal. I can see the clock running minutes fast or slow every day.

I don't know why I'm following this thread anylonger. I've said all I can on the subject. Now it's time for breakfast.
 

Thread Starter

electrongod1

Joined Sep 8, 2018
40
Following up on what I was saying about being confused once every hour I came up with these drawings. Look at them closely. The first two clocks represent 12:59 (one minute before 1:00) which looks suspiciously close to 12:00. And 1:00. The difference between both clocks is ONE minute. My proposal (second set of clocks) was to have 48 LED's around the hour circle (inside or out - I drew them outside). Every 15 minutes the hour LED progresses one position so that at 12:59 it looks more like it's almost 1:00. ((NOTE: I put the digital times in the middle to display the intended time. You don't need digital in the middle of analog. It's just there for clarity in my examples)) The shaded rectangles represent lit LED's.
View attachment 367463View attachment 367464
Now look at the difference:
View attachment 367465View attachment 367466
While both clocks clearly look like 1:00, the 12:59 clock looks far more like almost 1:00 than the first clock.
Exactly what I have in mind! I didn't add the 48 that you have which is a great idea as my wiring is already pretty intense. Now I need to get the minutes cascading properly.
 

Attachments

dl324

Joined Mar 30, 2015
18,326
Now I need to get the minutes cascading properly.
What is it not doing correctly?

Operating at 5V, you're going to have a current of about 4mA which exceeds the minimum and typical current when overloading the CD4017 outputs. Adding more red LEDs for hours hands probably isn't going to be as bright as you expect.
 

Thread Starter

electrongod1

Joined Sep 8, 2018
40
What is it not doing correctly?

Operating at 5V, you're going to have a current of about 4mA which exceeds the minimum and typical current when overloading the CD4017 outputs. Adding more red LEDs for hours hands probably isn't going to be as bright as you expect.
Cycle 1: LED #1 lights green while the remaing 11 cascade blue.
Cycle 2: LED #2 light green for 1 second, LED #3 lights green while the remainong cascade blue.
Cycle 3: Led #4 lights green for 1 second, LED #5 lights green while the remaining cascade blue.
Cycle4: LED #6 lights green for 1 second, LED #7 lights green while the remaining cascade blue.
Cycle 5: LED #8 lights green for a second, LED #9 lights green While the remaining cascade blue.
Cycle 6: LEDs 10,11, and 12 cycle in 1 second intervals in green with LEDs 1,2 and 3 in blue.
Entire sequence repeats.
1 cycle is LEDs 1-12
What i want is:
Cycle 1: LED #1 lights green while remaing cascade blue.
Cycle 2: LED #1 turns off, #2 lights green while remaining cascade blue.
Cycle 3: LED #2 turns off, #3 lights green while remaining cascade blue.
Cycle 4: LED #3 turns off, #4 lights green while remaining cascade blue.
Cycle 5: LED #4 turns off, #5 lights green while remaining cascade blue.
Cycle 6: LED #5 off, #6 on rest cascade blue.
Cycle 7: LED #6 off, #7 on, Rest cascade blue.
Cycle 8: LED 7 off, #8 on, rest cascade blue.
Cycle 9: LED #8 off, #9 on, rest cascade blue.
Cycle 10: LED #9 off, #10 on, rest cascade blue.
Cycle 11: LED #10 off, #11 on, rest cascade blue.
Cycle 12 LED #11 off, #12 on, rest cascade blue.
Repeat to Cycle 1.
 
Last edited:
Top