4060 chip for seconds and hours

GopherT

Joined Nov 23, 2012
8,009
Why are you using two chips, when one will do?
as in post#5
Without access to Q11 (internal on the CD4060), the math gets sticky going for a 3600x turn-up factor (6 seconds ON and 21600 seconds OFF). How would you set the math to get both a 6 second and 21600 second duration off of one chip? It seems much easier with two chips.
 

Dodgydave

Joined Jun 22, 2012
11,285
Without access to Q11 (internal on the CD4060), the math gets sticky going for a 3600x turn-up factor (6 seconds ON and 21600 seconds OFF). How would you set the math to get both a 6 second and 21600 second duration off of one chip? It seems much easier with two chips.

SEE POST #5!!
 

Dodgydave

Joined Jun 22, 2012
11,285
Pin1, with the circuit drawn is 2 to 6 hours delay, the on state is controlled by the discharge of the reset capacitor, this has nothing to do with the hours timing.
 

AnalogKid

Joined Aug 1, 2013
10,988
If by Live you mean the DC power pin, then yes. Since this is a CMOS part, the name for pin 16 is Vdd. The actual name for pin 8 is Vss, but since it always is connected to the system ground, many people call it the ground pin.

ak
 

AnalogKid

Joined Aug 1, 2013
10,988
DD, I missed the significance of your post #5. Now that I've read it, I like the approach. It still requires a large timing capacitor and very low timing current, but on paper it should work. I often use a diode-AND reset circuit with the 4060, so I'll see if that works here.

Edit: Yup, should work. Only one 4060. Besides the timing components, three diodes to force the counter to reset at 5 hours 46 minutes. Or, slow the oscillator down by 4% to fix the cycle at 6 hours with an ON time of 6.25 seconds.

If you want a fixed output pulse width (ON time) while varying the cycle length, it will be easier to do that with two chips, one 4060 and one gate chip to decode the counter reset and create the output pulse.

ak
 
Last edited:

AnalogKid

Joined Aug 1, 2013
10,988
Without access to Q11 (internal on the CD4060), the math gets sticky going for a 3600x turn-up factor (6 seconds ON and 21600 seconds OFF). How would you set the math to get both a 6 second and 21600 second duration off of one chip? It seems much easier with two chips.
This is the essence of DD's idea in post #5 - Set the oscillator to a 12 second period (6 seconds up to form the output pulse, and 6 seconds down), and decode a count of 1800 for the reset signal. For good-enough timing with less logic, decoding 1728 takes only two outputs, and reduces the cycle time to 5.76 minutes. If you adjust the oscillator for a 12.5 second period, 1728 decodes exactly 6 hours.

Update: To be more clear, the values 1800 and 1728 are not binary values. With a clock period of 12 seconds, each of the 4060 outputs has a period of a multiple of that. For example, the period of output Q7 is 1536 seconds. The reset decoding involves combining outputs with periods that add up to the cycle time you want.

ak
 
Last edited:

Thread Starter

Danielpalfrey

Joined Mar 29, 2016
84
Please, excuse my ignorance with this chip, I am trying to break it down to try and understand the chip a little more. I have attached a Diagram, is this correct for the 6 hour circuit
? Or have I miss understood something?
 

Thread Starter

Danielpalfrey

Joined Mar 29, 2016
84
Also, for the protection I think I have come up with an idea. I can use a water sensor to sence when water get to low and cut the power to the pump, In doing this I just use a water container that I know will never fill the propergator tray (It's a deep tray)
 

Dodgydave

Joined Jun 22, 2012
11,285
Is there some reason you don't want to use the circuit in post #5,or similar,like AK recommended, dont understand why you want to reinvent the wheel?
 
Last edited:

AnalogKid

Joined Aug 1, 2013
10,988
For the oscillator part of the circuit, pins 9, 10, and 11, you need to follow the connection diagram that is in the datasheet.

ak
 

Thread Starter

Danielpalfrey

Joined Mar 29, 2016
84
Ok, so to do this, I build exactly as post 5? Sorry, I am been really slow, this is my first day off work in 2 weeks so my heads a little blah. Trying to get the info right before I start building
 
Top