Pish posh... It took a while but I have the timing and decoding down to an elegant solution, one that leads to semi-independent adjustability of the on and off times, with power-on reset, a single 4060, no other gate packages, no uC, and most important of all -- ***no 555***.I know that you wanted a discrete logic solution but something like is begs to be done via a mcu.
I think you will likely find the posted solutions quite "fragile": it may work well in an airconditioned environment for a few days but once exposed to the elements, or over a long period of time, it may not be able to keep accurate timing - all depends on your needs obviously.I'll stick to the solution already posted
In discrete land:It should activate for 6 seconds every 6 hours.
How do you go from extremely helpful in some posts to captain chaos in another post? Have you even read the OPs posts? Or is this your project? If so, yes, I am happy to report that all of your Solution options will work (depending on what kind of output you need). Danny, If you need verification for additional options for your projects, please open a new thread.In discrete land:
solution #1: find a 1-hr counter, and feed it a 1/6Hz signal;
solution #2: find a 6-hr counter, and feed it a 1Hz signal;
solution #3: find a 24-hr watch, and feed it a 6Hz signal;
solution #4: find a smart phone and set the timer to 6hr / repeat.
...
None of your "solutions" address the only tricky part of the OP request - the 6 second activation time. Four of your "solutions" still require a very long period timebase clock. In fact, #1 is almost identical to what I posted. I notice that you offered no help in how to "find a 1-hr counter" or "find a 6-hr counter".In discrete land:
solution #1: find a 1-hr counter, and feed it a 1/6Hz signal;
solution #2: find a 6-hr counter, and feed it a 1Hz signal;
solution #3: find a 24-hr watch, and feed it a 6Hz signal;
solution #4: find a smart phone and set the timer to 6hr / repeat....
Actually, it all depends on the oscillator timing capacitor. +/-10% parts are readily available and cheap, and more than stable enough over the 40C temperature range of a typical home project.but once exposed to the elements, or over a long period of time, it may not be able to keep accurate timing - all depends on your needs obviously.
Without getting into bizzaro parts, the lowest frequency crystal is a 32.768 kHz watch crystal, and that isn't even a real crystal. Still, it would need a 30-bit counter to divide all the way down to 6 hours, and the cycle gating becomes much more complex because it locks you into multiples of a 1 Hz period, and neither 6 nor 21,600 are binary increments.If you can, try to stick to a crystal oscillator if you think it needs to work reliable over a wide range of temperature.
An RC circuit time constant can change with temperature.I feel the question I asked originally has been answered. I have to put the circuit together to test to confirm. Sine the timer is to power a propergator it will not be exposed to the elements. It will be nice and snug in a 12 degree room. So I don't fully understand stand how the elements come into play?
No need for heatsinks. The parts in this circuit are not intended to be attached to any kind of thermal management, and there is absolutely no need. Once you stated that the circuit will be operating indoors, all thermal issues with the circuit's accuracy and stability went away. I can go into more detail about why the thermal issue was brought up, and how changes in the air temperature *might* affect the circuit's timing accuracy, but since you have stated some very broad tolerances, none of that matters. I think you should concentrate on learning how the circuit operates.I could use heat sinks to cool more efficiently on the hotter months?
#define SW_DURATION (6sec) //sw on for 6 seconds
#define SW_PERIOD (/*1hr+30min+*/20sec) //every /*1hr+30min+*/20 seconds