Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Repeat on/off delay Timer

Status
Not open for further replies.

Ebonic

Junior Member level 2
Junior Member level 2
Joined
Oct 14, 2011
Messages
24
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
USA
Activity points
1,539
Hi All


Frist:
I'am new to this forum and know a little about electronics. I''m also thirteen.
I searched the forum for a similar project.Before posting here.But? Could not find any thing to what i need.

I build a astable 555 timer for clocking the time period of 10s appox
five secs (On) five secs (Off). Just to learn how the astable circuit works.
And build one for the frist time.It work perfectly .My timer might need to be faster or slower for my project.But i dont know.
But? I may need to use the 4060 as my timer.Plus counter. What do u think.

**broken link removed** Here's a circiut that i came across searching for timers.
This timer is about 30% of the ciruit i could use.The 555IC and the Binary 4060 and 4020 cmos counters IC set-up.I don't want to use a relay. They draw to much current for my project.I was thinking a Mosfet as the on/off switch. My total ciruit needs to draw 2mA or less. My supply voltage will be 3.6Vs my 555 IC input supply voltage is 3V-15V same go's for the the binary counter.

**broken link removed**
Here's another timer that might be even closer to my needs.But? I have
no clue. this uses diodes as logic coding on the output.

What i need to Build
I want to make a repeat delay timer switch.
I will need a 4060 maybe 2 and 4020 counters as in the links.
I can't use a microcontroller, becuase i don't know anything about
programming a microcontroller or writting code.
My timer needs to run a full week and repeat its self
from week to week.
So. I need the timer to be (on) for 9Hours starting 8:30AM ending at 5:30pm and
(off) for 15Hours in a 24 hour day. Mon thru Sat then completely (off) on Sunday.Then turns back
on the following Monday morning to start all over again.
I may need to use some of logic decoder or diode logic.But? don't
know how this will work into the circuit.For the Switch
i will use a N-channel MosFet to switch on/off the battery
pack which this timer will be connected to.


P.S. I hope some one on this forum is willing to help me with my project.
 
Last edited by a moderator:

Hi,

Welcome to the Wacky World of Electronics! My first thought is that you might have some problems getting this to work reliably with just a 555 as your time reference. First of all, it's very difficult to get accurate time delays of the length you need (9 hours). Over time everything will drift and your circuit won't know if its Saturday morning or Tuesday night. I would suggest you use a crystal oscillator with the 4060.

You're going to need some other counters to keep track of time, and then some decoding to determine when to turn your MOSFET on and off. Maybe you need something like this:

1) Oscillator/counter that produces 1 second clock.
2) A counter that counts 0-59 to count minutes
3) A counter that counts 0-23 to count hours
4) A counter that counts 0 to 6 to count days
5) A decoder/comparator to determine if the outputs of the 3 counters is within the 'on' range.

Or just a 20-bit counter that counts 0 to 604799 (604800 seconds in a week)
Or a 14-bit counter that counts 0 to 10079 (10080 minutes/week) with an input clock with a 1 minute period

Or a microprocessor (but that would be too easy).

Good luck,

Barry
 

Try this simple repeating timer I used this for fan (defines off and on time) :
 

Attachments

  • A Repeating Timer Circuit No.7_1306065069600.jpeg
    A Repeating Timer Circuit No.7_1306065069600.jpeg
    315.2 KB · Views: 229
  • pcb.bmp
    2.3 MB · Views: 178
I have attached a Meeting timer that I designed for someone on another forum some years ago.

This is not exactly what you want, but it should give you a starting point.

You don't need the thumb wheel switches since you don't need to change the modulo value of the counters.
 

Attachments

  • Meeting Timer p1.gif
    Meeting Timer p1.gif
    22.5 KB · Views: 248
  • Meeting Timer p2.gif
    Meeting Timer p2.gif
    21.4 KB · Views: 205

tpetar

I would like to use this circuit. But i need 9 hour on 15 hours off.
Plus I do not want to use a relay on the output to use as the on/off switch.
I want to use a N-channel pwer switching MosFet.

How would i get this by using the 4060 ossillator. The 4060 has the ability to go up to 2/14 power.
Also a crystal could make it more accurate. But? I can't find a crystal at 0.03125Hz
How accurate is the circuit you posted for your fan project.

I see ljcox used a crystal with the 4060. It has an astable on the 4060. But? ljcox used a standard
crystal. my FQ for the timing is not a standard crystal. So i may not beable to get a crystal that
i can use. Thoughts?
 

Hi,

Honestly, using MCU will solve this problem easily, also the time and accuracy will be improved and you still can work on 2mA power requirement. Using non-MCU design will create few hidden issue, but accuracy will be low.

I am not saying one can not do with non-MCU, but component count and accuracy will be issue, moreover you are thirteen years only, good time to start exploring MCU's. The future is MCU's. there are 8-pin DIP package from Microchip or Atmel, comes with free software in C or Basic (BASCOM-AVR), download cables are low cost or you can do them your self.

Programming is not hard, it's a bit tricky in C, but Basic (BASCOM-AVR) is easy to learn. Explore them.

You also can check-out Arduino tools, they are easy to learn and design for your age group, Arduino - HomePage.

Sparkfun have them in US. https://www.sparkfun.com/

Sorry guy for proposing MCU concept, not to discredit your ideas, this solution defiantly can be done in non-MCU design no question about it, just sharing my 2-cent worth.

M.Pathma
 

Barry

I would like to use a crystal or crystal ossillator with the 4060.But?
They don't make 0.03125Hz standard crystals.
Where would i find a 20bit counter. The 4060 counter has bti-16384 plus astable time on board.
Which way is better? To use with the lease amount of parts to use.
 

Hi,
With this circuit time period is in 30min. Not so precise, vary in each cycles 1-2sec. Of course relay can be replaced with MOSFETs no problem.

Look this:

Wichit Sirichote web:
**broken link removed**
 

Attachments

  • !!! 24h Timer 4060.rar
    282.1 KB · Views: 168
  • !!! Miniature Real-Time Controller AT89C2051.rar
    786.8 KB · Views: 146
  • !!! Miniature Real-Time Controller PIC16F84.rar
    3.2 MB · Views: 186
  • Circuit Ver 1.1 - Optocoupler, rele-led 12V, standard 7seg display.jpg
    Circuit Ver 1.1 - Optocoupler, rele-led 12V, standard 7seg display.jpg
    193.5 KB · Views: 243
tpetar

I would like to use this circuit. But i need 9 hour on 15 hours off.
Plus I do not want to use a relay on the output to use as the on/off switch.
I want to use a N-channel pwer switching MosFet.

How would i get this by using the 4060 ossillator. The 4060 has the ability to go up to 2/14 power.
Also a crystal could make it more accurate. But? I can't find a crystal at 0.03125Hz
How accurate is the circuit you posted for your fan project.

I see ljcox used a crystal with the 4060. It has an astable on the 4060. But? ljcox used a standard
crystal. my FQ for the timing is not a standard crystal. So i may not beable to get a crystal that
i can use. Thoughts?

The crystal in the circuit I posted is 32.768 kHz.This is 2^16 so if the counter is a modulo 32768, (ie. 16 stages) then the output frequency is 1 Hz.

The 4060 is a 14 stage, so you need 2 more flip flops to give you 1 Hz.

I think you will find that most Crystal clocks & watches use this crystal. So you can obtain one from an old clock.

9 Hours is 9 * 3600 = 32400 seconds. 15 Hr is 54000 sec. So you need a counter & gating so that you set a flip flop & reset the counter at 9 Hr then reset it (& the counter) at 15 Hr.

2^16 = 65536, so you would need a 16 stage counter to count the 1 second pulses with gating as I described above.

Len

---------- Post added at 09:44 ---------- Previous post was at 09:28 ----------

Try this simple repeating timer I used this for fan (defines off and on time) :

This is a very crude timer & is not viable for a 9 /15Hr timer.
 
Last edited:

tpetar

I'm not looking to make a time clock. I making a electronic timer switch.
Which stays on for 9Hs off for 15Hs.
Also. Yes? A microcontroller would make this easzier. But? I'd rather do it with logic ICs first.
And i have the 4060 chips.And switching Mosfets.
 

tpetar

I'm not looking to make a time clock. I making a electronic timer switch.
Which stays on for 9Hs off for 15Hs.
Also. Yes? A microcontroller would make this easzier. But? I'd rather do it with logic ICs first. This sensible if you want to learn about digital logic.
And i have the 4060 chips.And switching Mosfets.
You need an accurate oscillator - hence the need for a crystal.

If you do it with a simple RC oscillator, it will not be accurate.

I have attached a paper I wrote (based on one written by a college called Norm McLeod) some years ago. It will introduce you to digital logic.

Later, I'll post a diagram that will outline how you can do what you want.

Len
 

Attachments

  • Logic Circuits.pdf
    173.3 KB · Views: 240

Hi All

**broken link removed** Here's a circiut that i came across searching for timers.
This timer is about 30% of the ciruit i could use.The 555IC and the Binary 4060 and 4020 cmos counters IC set-up.I don't want to use a relay. They draw to much current for my project.I was thinking a Mosfet as the on/off switch. My total ciruit needs to draw 2mA or less. My supply voltage will be 3.6Vs my 555 IC input supply voltage is 3V-15V same go's for the the binary counter.

**broken link removed**
Here's another timer that might be even closer to my needs.But? I have
no clue. this uses diodes as logic coding on the output.
I could not find the circuits that these links are supposed to point to. They led to the home pages.

I did a brief seach for the circuits, but could not find them.

I'm happy to help you, but I don't have the time to spend seaching. It would have been better if you had extracted the diagrams from the sites and attached them here.

Len



Len
 
Last edited by a moderator:

ljcox

I somewhat understand what your saying. But? I don't understand how to put the parts together.
What i need to have the timing set at on pins 9,10,11 for Rt & Ct or pins 10,11 for the watch crystal timing set up.
If need 9Hs for the mosfet to stay on dosen't the ossillator timer needs to pluse 0.50 secs on and 0.50 secs off.
to flip pin 3 16,348 2^14 But? you must set pin 7 buy dividing 0.5/ by 16 which gives you the crystal 0.03125Hz for the timing on pin7 Q4 16bit.
that pluses 50sec on 50sec off. Throughts? This is what i think is what i need to do. Yes or No.
Or do i need more counters to divide down to 0.03125Hz this is what I'm not understanding. Help?

---------- Post added at 18:01 ---------- Previous post was at 17:59 ----------

ljcox


I will repost them again.



links

Electronic Timer Switch

**broken link removed**

**broken link removed**

Electronics timer by CD4060
 
Last edited:
ljcox

I somewhat understand what your saying. But? I don't understand how to put the parts together. I understand that, my diagram will help you.
What i need to have the timing set at on pins 9,10,11 for Rt & Ct or pins 10,11 for the watch crystal timing set up. See the attachment of the meeting timer that I posted previously. That shows how thw crystal is connected to the 4060.
If need 9Hs for the mosfet to stay on dosen't the ossillator timer needs to pluse 0.50 secs on and 0.50 secs off. You can't buy a 2 Hz crystal.
to flip pin 3 16,348 2^14 But? you must set pin 7 buy dividing 0.5/ by 16 which gives you the crystal 0.03125Hz for the timing on pin7 Q4 16bit.
that pluses 50sec on 50sec off. Throughts? This is what i think is what i need to do. Yes or No. No. See below.
Or do i need more counters to divide down to 0.03125Hz this is what I'm not understanding. Help?

---------- Post added at 18:01 ---------- Previous post was at 17:59 ----------

ljcox


I will repost them again.

I have to go out shortly. So I suggest that you look at the meeting timer that I posted previously. Concentrate on the crystal & 4060 part. Ignore the rest.

I'll draw a block diagram for you when I return in an hour or 2.

Len
 

Len

look at post #14 I listed those links again.I hope the links work this time.

Ebonic.
 

Yes, I was able to view those links. They are useful for you as background reading.

I have attached extracts from the Meeting Timer circuit.

I'll draw a block diagram for you shortly.
 

Attachments

  • Meeting Timer extracts.gif
    Meeting Timer extracts.gif
    10.4 KB · Views: 215

Here is the promised block diagram.

Once you understand it, I'll help you to fill in the detail.

The final result will be simpler than the BD appears to imply.

Len
 

Attachments

  • Block diagram.jpg
    Block diagram.jpg
    338.9 KB · Views: 197

I did an internet search for "Modulo 60 Counters" & many hits appeared.

This is a good one Electronics 48

It introduces you to a variety of concepts & to counters of various modulos.

Len
 

I'm not looking to make a time clock. I making a electronic timer switch.
Which stays on for 9Hs off for 15Hs.
Also. Yes? A microcontroller would make this easzier. But? I'd rather do it with logic ICs first.
And i have the 4060 chips.And switching Mosfets.

Could you be interested in building the timer circuit using

6pcs 4017
1pc 4060
1pc crystal 32768Hz
+ a few resistors, capacitors and small diodes (and N-channel MOSFET)

If it is ok for you, I will draw it for you.

Kerim
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top