Kamis, 03 Juni 2010

TIMER PILIH

Selective timer alarm.

Description.
A timer circuit using IC 4060 is given here. The IC 4060 is a 14 stage binary counter with a built-in oscillator.R2, R7, C1 are the components that determine the frequency of the oscillator and the outputs will become high one after other and only one at a time. The last five outputs are only used here. The high pulses from the outputs are used to trigger the NE555 IC. Here NE555 is wired as a monostable multivibrator. The buzzer will produce the alarm when the output of IC2 goes high. The duration of the alarm depends on the components C3 and R5.The duration can be adjusted by varying the value of C3.The alarm will automatically turn OFF after the predetermined time. The trigger pin of IC2 will be normally positive. When the Q1 is forward biased by the positive pulse at its base from IC1, the capacitor C2 becomes charged and reduces the voltage at trigger pin of IC2.This triggers the IC.When the capacitor is fully charged the pin 2 becomes again positive.
The maximum duration from timer IC 4060 will be at pin 3. The times decrease by half in the pins 2, 3, 15, and 13 respectively. The timer duration can be varied by varying the capacitor C1.
Circuit diagram with Parts list.
selective-timer-alarm-circuit
Notes.
  • Use 6V DC for powering the circuit.
  • Assemble the circuit on a good quality PCB.
  • Mount the ICs on holders.
  • The switch S2 can be a single pole five throw rotary switch.
  • The switch S1 can be a push button switch.
  • S1 is used to reset the timer.
  • S2 is used to select the alarm time.
  • R7 can be used for the fine adjustment of alarm time.

Timer Circuits With 4060B

Build a reliable timer to switch devices on and off - from 30 seconds to 24 hours

electronics | electric circuit

There are many applications for which a timer is very useful to turn a device on or off automatically after a preset interval - for example, switching off an irrigation system after 30 minutes of use, turning off a battery charger to prevent overcharging, etc.

Timing short intervals of milliseconds to minutes can easily be achieved using a NE555 timer chip. Unfortunately, this device is not suitable for timing longer intervals, and so a suitable alternative is required.

Binary Counting with the 4060B


4060B CMOS IC

The 4060B (pictured above) is a CMOS binary counter. Using a resistor and a capacitor, the counting speed can be set by the user very easily. The pins of the 4060B integrated circuit output the running count in binary as shown below:

0 = 0000000000
1 = 0000000001
2 = 0000000010
3 = 0000000011
4 = 0000000100
5 = 0000000101
6 = 0000000110
7 = 0000000111
8 = 0000001000

Each of the binary 1's and 0's is called a bit (much as the numbers 0,1,2...8,9 are called digits in the decimal number system). The furthest right bit represents 1, the next to the left represents 2, the next represents 4, the next 8, the next 16 and so on doubling every time you move one position to the left. Therefore 000010000 is binary for 16, and 000100000 is binary for 32.

To keep things simple, let's assume the count is increased by one every second. The rightmost bit (the 1's bit) will be off for one second, on for one second, off for one second and so on...

0000000001, 0000000010, 0000000011

The fifth bit from the right (the 16's bit) is therefore off for 16 seconds (when the count is 0-15), then on for 16 seconds (when the count is 16-31), then off for 16 seconds (when the count is 32-47), and so on.

With this knowledge, we can make a very accurate timer utilising our 4060B binary counter chip. Let's say we want a 16 second timer: we start the 4060B counter from 0, and wait until the 16's bit goes from 0 to 1. At that exact time we know that 16 seconds have elapsed. Similarly if we start the counter again, and wait until the 32's bit goes from 0 to 1, we know that 32 seconds have elapsed.

A timer which can only time, 1, 2, 4, 8, 16, 32, 64, 128, and so on seconds would not be very useful, but since we can adjust the speed of the count, any time interval from seconds to 24+ hours can be accurately timed.

4060B Timer

A schematic of the 4060B chip is provided below:

schematic of the 4060B integrated circuit

The pins labelled in red Q4-Q14 are the binary outputs: Q4 for the 16's, Q5 for the 32's, Q6 for the 64's and so on up to Q13 for the 8192's, and Q14 for the 16384's.

Just three external components are required to control the 4060B counter - two resistors and one capactor. The frequency of the internal oscillator (i.e. the speed of the count) is set according to the equation given at the bottom of the schematic below:

The external components required to set the counting speed of the 4060B

Since Q14 represents the 16,384's and Q4 represents the 16's - we know it will take 1,024 times longer (16,384 / 16) for Q14 to flip from 0 to 1 than it takes Q4. So, for an example 2-hour timer (=7,200 seconds), we just need to fine-tune the circuit so that Q4 turns on after 7,200 / 1,024 seconds = 7.03 seconds, knowing that if that is done correctly, after exactly 2 hours Q14 will flip from 0 to 1.

Putting Together the Timer Circuit

24 hour timer circuit with the 4060B CMOS IC

The circuit shown above (from Ron J's Circuit Page) is a timer which energises a relay after a preset time has elapsed. It can be set to time an interval from 30 seconds to 24 hours.

The orange arrow labelled Range should be connected to a pin on the 4060B chip selected from the RANGE table. If for example, you require a timer to time 3 hours, connect it to pin number 1 on the chip since that pin corresponds to the time range 2hrs to 4hrs.

3 hours is 10,800 seconds, and we are using the output from pin 1 to trigger the relay. Looking at the SETUP table entry for pin 1 we see that we divide our target time (10,800 seconds) by 256 to obtain the on/off time for the yellow LED at pin 7 = 42.28 seconds. Therefore, if we adjust the potentiometer R4 so that the yellow LED turns on after approximately 42 seconds, we'll know that the relay will be energised after approximately 3 hours.

Timer Circuit

The diode D1 makes this a one-shot timer. This means that after the programmed time delay of 3 hours, the relay will stay on until the circuit is reset. If the diode is omitted from the circuit then you get a repeating timer with the relay off for 3 hours, on for 3 hours, off for 3 hours, and so on until the circuit it reset.

NEW For a repeat timer with different ON/OFF durations - for example, 1 hour OFF, 1 minute ON, 1 hour OFF, 1 minute ON etc - click here to read our new article Repeat Timer Circuit.

Buy a Timer Circuit

This is one of the most complicated circuits discussed on the REUK.co.uk website. Therefore, if you need a timer circuit for a particular application, email neil@reuk.co.uk with details of your exact requirements and we'll happily put together a bespoke solution.
NEW Have a look at the new REUK Super Timer - our all new repeating relay timer circuit which can be programmed with ON and OFF durations from 1 second to 99 hours.

REUK SUPER TIMER

User programmable 12V powered 10A rated repeating relay timer. 1 second to 99 hours ON and OFF times

Buy of REUK SUPER TIMER.
(1-5: £19.99 each, 5+: £18.99 each)

REUK SUPER TIMER. User programmable 12V powered 10A rated repeating relay timer. 1 second to 99 hours ON and OFF times

Additional Information

Every day we receive requests for 12VDC powered repeating timers with various ON and OFF durations designed to control a huge array of different items including irrigation systems, aquarium pumps, battery chargers, testing systems, heating and cooling systems, feeders, and much more. The new REUK Super Timer has been designed to meet these and other requirements while enabling the user to set their own ON and OFF durations for maximum flexibility. The REUK Super Timer is hand made and rigorously tested before despatch.

The REUK Super Timer can be programmed with ON and OFF durations of 1-99 seconds, 1-99 minutes, or 1-99 hours. The ON and OFF durations do not have to have the same units or the same values - e.g. it is possible to have a timer which is on for say 3 seconds and then off for 7 hours etc.

Therefore, for most repeat relay timer applications the REUK Super Timer will be suitable - however, if you require a timer which can be programmed with an ON duration of say exactly two and a half minutes, this is not the product for you (since you could set the ON time to be 2 minutes or 3 minutes, but not 2 1/2 minutes).
If the REUK Super Timer is not suitable for your needs, please contact neil@reuk.co.uk with details of your exact requirements and we can put together a special order for you for around the same price.

Connection diagram for the REUK Super Timer

Powering the Timer

The REUK Super Timer is designed to be powered by 12VDC from either a battery (solar charged or otherwise) or a 12VDC mains transformer. It is possible to power the timer safely with an input voltage of 10-16VDC. Below 10VDC the relay switch will not close and so the timer will not do anything; above 16VDC the relay and other components on the circuit board could be permanently damaged.
During OFF cycles the timer draws no more than around 5mA, and during ON cycles it draws around 50mA (= 0.6 Watts @ 12VDC).

Switching Devices with the Relay

The relay fitted to this circuit is rated at 10 Amps (10A @ <250VAC or 10A @ <30VDC), however we only recommend it be used to switch low voltages of <30VDC or <30VAC. If you intend to switch a higher voltage e.g. mains electricity, then we accept your purchase of this item only on the condition that a qualified electrician makes the necessary connections and checks over the circuit and any enclosure you put it into to confirm that everything is correctly earthed and insulated, and that it meets all current safety regulations.

Although the rating of the relay is 10 Amps, if you intend to switch an inductive load (anything which generates a magnetic field - e.g. a motor, pump, solenoid, relay etc), the relay should not be used if the device is rated at more than around 4-5 Amps since at start up a surge current in excess of the 10A rating could damage the relay and circuit board.

REUK Super Timer used to switch a secondary relay

If you have a device to switch which requires a larger relay, either contact neil@reuk.co.uk and request the MOSFET version of this circuit to which you can connect a suitably rated automotive relay, or simply use the on board relay to switch a suitably rated secondary relay (as illustrated above).

Programming the Timer

For the first 10 seconds after the circuit is connected to the power the yellow LED will be lit. During this time it is possible to re-programme the ON and OFF durations of the relay. Press the button once and the yellow LED will turn off. This confirms that you have entered programming mode.

For the ON and OFF durations you must enter first the timing units (hours, minutes, or seconds), and the two digit number of those units - e.g. 03 or 47 (from the range 01 to 99).

Programming entails entering six numbers in the following order:
1) ON duration time units: 0 = hours, 1 = minutes, 2 = seconds
2) ON tens: e.g for a 43 second ON time, this value would be 4 (since 4 x 10 = 40). For a 1-9 second duration this value is 0 - e.g. 01, 02, 03,...09
3) ON ones: e.g. for a 43 second ON time, this value would be 3
4) OFF duration time units: -as above-
5) OFF tens: -as above-
6) OFF ones: -as above-

To enter each value in turn, the technique is described below:
The red LED will light up for 2 seconds. If you want to enter a '0' then press the button while the red LED is on. When the red LED turns off, the green LED will start flashing - on for 1.5 seconds, then off for 0.5 seconds. If you want to enter a '1' then press the button while the green LED is lit for the first time. To enter a '2', wait until the green LED turns on for the second time and press the button. To enter a '3' press the button the third time the green LED lights up...and so on.

When you press the button the green LED (or red LED if you are entering a '0') will immediately turn off, and the yellow LED will light up and stay on for one second. This gives you visual confirmation that your input has been accepted and tells you to get ready to enter the next value. When the yellow LED turns off and the red LED lights up again repeat as above to enter the next value.

If you make a mistake while programming, just disconnect the circuit briefly from the power and start again. It is much easier to programme the timer if you prepare yourself beforehand by working out and writing down the six values in order so that you are ready to enter them.
For example, if you want a timer which will be ON for 7 seconds and then OFF for 23 minutes, the ON timer units are seconds ('2'), and the OFF timer units are minutes ('1'). Therefore you would need to enter the following sequence of values:
'2' (seconds - second green LED), '0' (no tens- red LED), '7' (7 ones - seventh green LED), '1' (minutes - first green LED), '2' (2 tens - second green LED), '3' (3 ones - third green LED). So, you would write down
2 red 7 1 2 3
before you programme the timer - note that 'red' is written rather than '0' so you remember to press the button when the red LED is on.
If you enter a number greater than 9 for the tens or ones, '9' will be saved. If you enter a number greater than 2 for the time units, '2' will be saved - i.e. your timer will be programmed in seconds.

When you have programmed all six values, the timer will immediately start with the ON cycle closing the relay with the green LED on. When the OFF cycle starts, the green LED will be off. As long as the timer remains connected to the power, it will continue to repeat the ON and OFF cycles with the programmed settings.

The programmed ON and OFF durations are stored in non volatile memory, and so will be retained even when you disconnect the circuit from the power. Therefore, you only need to go through the programming steps if you want to change the ON and/or OFF duration for some reason.

Timer Accuracy

The accuracy of the timer is better than around 1%, i.e. over the course of an hour the timer may gain or lose 30 or so seconds (usually far less). Therefore the timer is not suitable for use where exact timings are required - e.g. if you want something to be turned on at exactly the same time every day (since the times will drift over days and weeks).

Related REUK.co.uk Articles

Make a repeat timer circuit with large intervals between ON times
Build a reliable timer to switch devices on and off - from 30 seconds to 24 hours

TIMER IC 555

To drive ignition coils is to use a 555 timer pulse generator. A 555 generates a square wave output that triggers the 2N3055. Adjusting the two potentiometers and the value of the capacitor will change the frequency of the output.
555 timer pulse generator
Read More Source:
http://www.geocities.com/mistertippy/schematics/ignition.html


Quad 2 Input CMOS IC 4011 Timer Circuit


advertisement
Quad 2 Input CMOS IC 4011 Timer Circuit
Quad 2 Input CMOS IC 4011 Timer Circuit
Timer circuit can be used to switch OFF a particular device after around 35 minutes. The circuit can be used to switch OFF devices like radio, TV, fan, pump etc after a preset time of 35 minutes. Such a circuit can surely save a lot of power.
The circuit is based on quad 2 input CMOS IC 4011 (U1).The resistor R1 and capacitor C1 produces the required long time delay. When pushbutton switch S2 is pressed, capacitor C1 discharges and input of the four NAND gates are pulled to zero. The four shorted outputs of U1 go high and activate the transistor Q1 to drive the relay. The appliance connected via the relay is switched ON. When S2 is released the C1 starts charging and when the voltage at its positive pin becomes equal to ½ the supply voltage the outputs of U1 becomes zero and the transistor is switched OFF. This makes the relay deactivated and the appliance connected via the relay is turned OFF. The timer can be made to stop when required by pressing switch S1.

one circuit for six different timers

Timers Collection

easy, useful,versatile
Timers are fundamental building blocks, and as such timers are found in practically every electronic circuit. There are many kinds of timers, available off-the-shelf from resellers of electrical and electronics goods, because circuits circuits involving timers have thousands of practical applications. In this article we will explain how to build six different timers from the same base circuit.
Nutchips are ideally suited for building timers. Not only the timers differ only for the truth table programmed inside the Nutchip, there is also room for ingenuity, and you master the basics you can customize the timer adding your custom logic to the truth tables shown here.

Base circuit

Schematic diagram of the timer circuit. The timer starts pressing the pushbutton labelled SW1.

The schematic diagram is quite straightforward. SW1 is a pushbutton used for starting the timer. The oputputs are set logic level 0 when the timer is not triggered, and to logic level 1 when the timer triggers. The relay driver transistor TR1, which receives its base current from Nutchip output OUT1 via the resistor R1, supplies enough current to energize the relay. The diode D1, connected in parallel with relay's coil, safeguards the transistor against the high voltage that builds up on the coil when it is energized or released. The relay is a 5V coil type, .and it must be choosen accordingly to the load you want to drive (e.g. AC or DC load). Ask your electrician for a suitable model, and always keep an generous safety margin (usually 50% or more) in excess the maximum specs declared by the manufacturer. For example, it is safer not to surpass 500W for a relay specified for continuous 1000W load maximum by the manufacturer.
As an example, for a 12Vac halogen lamp requiring a current of 3 amperes, use a 24Vac/ 6 ampere relay with a coil rated for 5Vdc.
The schematic shows a ceramic resonator connected to Nutchip pins 4 and 5. This kind of clock source ensures a timing accuracy usually better than 1%, which is suitable for most uses. If you are looking for an even more accurate timer (e.g. for daily or weekly timers), a better choice is the quartz clock oscillator as shown in the base circuit collection. The same page shows alternate reset circuits that can be used when maximum reliability is required (this circuit uses a simplified RESET, the pin connects to the positive rail through an RC network made from R2 and C2).
The 9Vdc power supply comes from a cube type trnsformer
(ensure the positive lead connects to Vin).
This circuit regulates the power to 5V required by the timer circuit.

Printed circuit board

The circuit is simple and can be assembled in just an hour if you have a printed circuit board (PCB). Alternatively you can use a prototype board, in that case it requires more time and patience to be completed.
The PCB layout shown in the figure includes also the parts for the power supply regulator (C3, C4, R3, LED1, IC2, CN3).
Alwai start from smaller parts, leaving the bigger parts for later in order to have more space to work. Do not solder the Nutchip to the PCB, use a socket instead. Be very careful when placing the relay, ensure that the tracks for the relay switch have enough insulation (if necessary remove excess copper with a Dremel tool or a wire cutter). Unintentional short circuits between the tracks from CN2 and the rest of the circuit can result in dangerous or lethal power discharges, besides destroying completely the circuit itself.
Connector CN1 is required only if you are going to reprogram the Nutchip in-circuit, that is downloading a new truth table without removing it from the circuit, or if you want to use Nutchip Commander, the virtual remote control and debugger software.
Parts layout on the printed circuit board. You can build yours or use a prototype board: in the latter case, follow the gray grid (grid spacing is the same as the holes in a proto board), and solder bare copper wire to make the tracks.
 
Parts list
  • R1= 4700 ohm resistor
  • R2= 100 kohm resistor
  • R3=470 ohm resistor
  • OSC1=3-pin, 4MHz ceramic resonator (see text)
  • TR1= BC237 transistor or equivalent
  • D1= 1N4007 or 1N4001 diode
  • RELAY1= relay, 5 volt coil (see text)
  • C1,C2,C3= 100 nF ceramic capacitors
  • C4= 10uF/16V electrolytic capacitor
  • SW1 = pushbutton (normally open)
  • CN2= 3-pole clamp
  • CN3= 2-pole clamp
  • IC1=Nutchip NUT01-AK or NUT01-DEA with socket
  • IC2=5V power regulator IC type 7805, complete with heathsink
you need also: a wall-cube 9Vdc power adapter, a prototype board, Nutchip programming interface with cable, and a PC running Nutstation.

 

Truth tables

With just one circuit we can get a full assortment of timers, simply reprogramming Nutchip's truth table. Each of the following timers is designed to fit a specific purpose, with durations that spannig from few seconds to many hours.
Monostable timer
Pressing the button, this timer starts the relay immediately, and releases it precisely after the time set in the "timeout" row (state st01). Pressing again the button has no effect, as long as the button is pressed inside the timeout interval.
 
Applications:
photographic magnifier, sprayers, fluid injectors, to advance a motor in fixed steps, opening time in automatic gate openers...
The file "timer_monostabile.nut" is set for 1-minute delay.
You can change it as you, from millisecopnds to 1000 hours!
Delayed power-on
The timer starts its delay period pressing the button. The relay is not energized yet. At the time the delay period expires, the relay is energized and stays on until circuit power is removed (alternately youc an connect a second pushbutton to input -ST0 to reset the Nutchip without removing power).
 
Applications:
Delayd start for appliances, cookinng timer (just connect a buzzer to the output), sandglass for quiz games, to start burglar alarms right after we leave home, anti-bump for audio amplifiers (replace SW1 with a wire jumper), parking meters.
With an appropriate relay, this timer can start your washing machine 1 hour after you leave home.
This truth table is in the file"timer_ritardato.nut".
Pulse-widening timer
Pressing the button starts the relay immediately. As long as the relay is energized, pressing the button again restarts the timeout period (total time is prolonged). Therefore the timeout is measured from the last time SW1 is released.
 
Applications:
Corridor and stairs lilght timers, toilet fan, pump timers, automatic water taps, automatic hand blowdryers.
This timer is perfect for stair's lights, as the time restarts pressing again the switch.
You can grab the this truth table from"timer_allungatore.nut"
Missing pulse detector (watchdog timer)
As long as the circuit is powered, the circuit requires the button to be pressed at least once druing the timeout period. If the time expires without SW1 being pressed, the relay signals the anomaly (power the circuit off to reset).
E.g., if the timeout is specified to be 5 sec, one must press the button at least every 5 seconds or the relay will switch on.
 
Applications:
Automatic machines to signal when a part is missing (a photocell is triggered by pieces on a conveyor belt), to detect when a mechanism stops (machine movement closes the switch periodically), survellaince systems (the guard is requested to press the button at specified intervals).
Should SW1 be open for more than 5 seconds, the relay triggers.
When SW1 is connected to a conveyor of photocell, the relay detects when the system stops moving.
This is the file "timer_rivelatore.nut"
Cyclic timer
This is a timer with two timeouts. First timeout influences the time the relay stays ON, the second one the OFF period.
The circuit starts working at power on, and if you disregard SW1 it works as a flasher (ON, OFF, ON, OFF...).
Pressing SW1 forces the output to ON and restarts the ON period.
 
Applications:
Flashers, neon lights, Christmas decorations, economizers for heaters, refrigerators, pumps.
To reduce the mean power for an aquarium heater, we can replace the SW1 with a switch. With the switch closed, the heater is ON 100% of the time. With the switch OFF, the heater is ON 50% of the time, bacause it gets powered only each other 5 minutes. You can reduce the time for small basins (should not be used with thermostatic heaters).
File: "timer_ciclico.nut"
Daily timer
This is a special kind of cyclic timer, where the sum of ON and OFF timeouts amounts to 24 hours (precisely).
Pressing the button triggers the relay, which stays ON as long as the timeout specified in st00 expires. It will trigger back on on the following day, exactly at the same hour.
 
Applications:
Showroom and sign lights, heting systems, watering timer, night lights, decorations.
A watering system switching on daily, operating for one hour.
This time (1 hour) is suitable for drop watering system, different systems can require shorter times. It is important that the sum of the ON and OFF times to give exactly 24 hours (here 1 hour ON and 23 hours OFF), to maintain the same starting time from one day to another. You can chain a third state to account for time fractions like spare minutes.
This table is from the file is "timer_giornaliero.nut"

 

Just a start

As you see, building a timer with the Nutchip is very easy. But a timer is just a starting point for other circuits. Let's review a few ideas:
  • add more pushbuttons to select different durations, or to reset the timer once started
  • add a radio or infrared receiver, replacing the button SW1 with a remote control
    (tip: with the virtual remote control you can test the circuit from your PC, even if you don't have the receiver or the real remote controller yet)
  • use the unused Nutchip outputs to drive LEDs: green = OK, yellow = time is about to expire, red = time is out!

TIMER DALAN 3-30 MENIT

5 to 30 Minute Timer


Description:

A switched timer for intervals of 5 to 30 minutes incremented in 5 minute steps.
Circuit Notes
Simple to build, simple to make, nothing too complicated here. However you must use the CMOS type 555 timer designated the 7555, a normal 555 timer will not work here due to the resistor values. Also a low leakage type capacitor must be used for C1, and I would strongly suggest a Tantalum Bead type. Switch 3 adds an extra resistor in series to the timing chain with each rotation, the timing period us defined as :-

Timing = 1.1 C1 x R1

Note that R1 has a value of 8.2M with S3 at position "a" and 49.2M at position "f". This equates to just short of 300 seconds for each position of S3. C1 and R1 through R6 may be changed for different timing periods. The output current from Pin 3 of the timer, is amplified by Q1 and used to drive a relay.
Parts List:
Relay 9 volt coil with c/o contact (1)
S1: On/Off (1)
S2: Start (1)
S3: Range (1)
IC1: 7555 (1)
B1: 9V (1)
C1: 33uF CAP (1)
Q1: BC109C NPN (1)
D1: 1N4004 DIODE (1)
C2: 100n CAP (1)
R6,R5,R4,R3,R2,R1: 8.2M RESISTOR (6)
R8: 100k RESISTOR (1)
R7: 4.7k RESISTOR (1)

ASymmetric Timer


Description:

A timer circuit with independent mark and space periods.

Circuit Notes
A simple astable timer made with the 555, the mark (on) and space (off) values may be set independently. The timing chain consists of resistors Ra, Rb and capacitor Ct. The capacitor, Ct charges via Ra which is in series with the 1N4148 diode. The discharge path is via Rb into into pin 7 of the IC. Both halves of the timing period can now be set independently.
The charge time (output high) is calculated by:

T(on) = 0.7 Ra Ct

The discharge time (output low) is calculated by:

T(off) = 0.7 Rb Ct

Please note that the formula for T(on) ignores the series resistance and forward voltage of the 1N4148 and is therefore approximate, but T(off) is not affected by D1 and is therefore precise.

Return to Timing Circuits

Content sourced from Zen Schematics