Home Vegetables Timer on the NE555 chip (on and off)

Timer on the NE555 chip (on and off)

Chip NE555(analogous to KR1006VI1) is a universal timer designed to generate single and repetitive pulses with stable time characteristics. It is not expensive and is widely used in various amateur radio circuits. On it you can assemble various generators, modulators, converters, time relays, threshold devices and other components of electronic equipment ...


The microcircuit operates with a supply voltage from 5 V to 15 V. At a supply voltage of 5 V, the voltage levels at the outputs are compatible with TTL levels.

Dimensions for different enclosure types

BODY - DIMENSIONS
PDIP (8) - 9.81 mm × 6.35 mm
SOP - (8) - 6.20 mm × 5.30 mm
TSSOP (8) - 3.00 mm × 4.40 mm
SOIC (8) - 4.90 mm × 3.91 mm

Block diagram of NE555

Electrical characteristics

PARAMETER TEST CONDITIONS SE555 NA555
NE555
SA555
ED. MEAS.
MIN TYPE MAX MIN TYPE MAX
Voltage level at the THRES pin VCC=15V 9.4 10 10.6 8.8 10 11.2 AT
VCC=5V 2.7 3.3 4 2.4 3.3 4.2
Current (1) through the THRES pin 30 250 30 250 nA
Voltage level at the TRIG pin VCC=15V 4.8 5 5.2 4.5 5 5.6 AT
T A = -55°C to 125°C 3 6
VCC=5V 1.45 1.67 1.9 1.1 1.67 2.2
T A = -55°C to 125°C 1.9
Current through the TRIG pin at 0 V on TRIG 0.5 0.9 0.5 2 µA
Voltage level at the RESET pin 0.3 0.7 1 0.3 0.7 1 AT
T A = -55°C to 125°C 1.1
Current through the RESET pin at V CC on RESET 0.1 0.4 0.1 0.4 mA
at 0 V to RESET –0.4 –1 –0.4 –1.5
Switching current on DISCH in closed state 20 100 20 100 nA
Switching voltage on DISCH open V CC = 5 V, I O = 8 mA 0.15 0.4 AT
Voltage at CONT VCC=15V 9.6 10 10.4 9 10 11 AT
T A = -55°C to 125°C 9.6 10.4
VCC=5V 2.9 3.3 3.8 2.6 3.3 4
T A = -55°C to 125°C 2.9 3.8
Low output voltage V CC = 15 V, I OL = 10 mA 0.1 0.15 0.1 0.25 AT
T A = -55°C to 125°C 0.2
VCC=15V, IOL=50mA 0.4 0.5 0.4 0.75
T A = -55°C to 125°C 1
VCC=15V, IOL=100mA 2 2.2 2 2.5
T A = -55°C to 125°C 2.7
V CC = 15 V, I OL = 200 mA 2.5 2.5
VCC = 5V, IOL = 3.5mA T A = -55°C to 125°C 0.35
VCC = 5V, IOL = 5mA 0.1 0.2 0.1 0.35
T A = -55°C to 125°C 0.8
VCC = 5V, IOL = 8mA 0.15 0.25 0.15 0.4
High output voltage V CC = 15 V, I OH = -100 mA 13 13.3 12.75 13.3 AT
T A = -55°C to 125°C 12
V CC = 15 V, I OH = -200 mA 12.5 12.5
V CC = 5 V, I OH = -100 mA 3 3.3 2.75 3.3
T A = -55°C to 125°C 2
Current consumption VCC=15V 10 12 10 15 mA
VCC=5V 3 5 3 6
Low output, no load VCC=15V 9 10 9 13
VCC=5V 2 4 2 5

(1) This parameter affects the maximum values ​​of the timing resistors R A and R B in the circuit. 12. For example, when V CC = 5 V R = R A + R B ≉ 3.4 MΩ, and for V CC = 15 V, the maximum value is 10 mΩ.

Performance characteristics

PARAMETER TEST CONDITIONS (2) SE555 NA555
NE555
SA555
ED. MEAS.
MIN. TYPE OF. MAX. MIN. TYPE OF. MAX.
Initial error

time intervals (3)

T A = 25°C 0.5 1.5 (1) 1 3 %
1.5 2.25
Time interval temperature coefficient Each timer, monostable (4) T A = MIN to MAX 30 100 (1) 50 ppm/
°C
Each timer, unstable (5) 90 150
Changing the time interval from the supply voltage Each timer, monostable (4) T A = 25°C 0.05 0.2 (1) 0.1 0.5 %/V
Each timer, unstable (5) 0.15 0.3
Output pulse rise time C L \u003d 15 pF,
T A = 25°C
100 200 (1) 100 300 ns
Fall time of the output pulse C L \u003d 15 pF,
T A = 25°C
100 200 (1) 100 300 ns

(1) Conform to MIL-PRF-38535, these parameters have not been tested in production.

(2) For conditions specified as Min. and Max. , use the appropriate value given in the recommended operating conditions.

(3) Time interval error is defined as the difference between measured meaning and average random sample from each process.

(4) Values ​​are for monostable circuit with the following component values ​​R A = 2 kΩ to 100 kΩ, C = 0.1 µF.

(5) Values ​​are for astable circuit with the following component values ​​R A = 1 kΩ to 100 kΩ, C = 0.1 µF.

Metal detector on a single chip

Coil diameter 70-90 mm, 250-290 turns of wire in varnish insulation (PEL, PEV ...), 0.2-0.4 mm in diameter.

Instead of a speaker, you can use headphones or a piezo emitter.

Video of this metal detector

Voltage converter from 12V to 24V

Toy animation

Together with the counter 4017 and 555, you can make a "running fire" to animate some kind of toy or souvenir. When the power is turned on, the generator starts running at 555 for only a few minutes, then turns off. At the same time, the current consumption drops - the batteries will last for a long time. The time is set with a 500 kΩ variable resistor.

Light controlled generator

Dark detector with LM555. This scheme will generate sound when light falls on the photocell Cds . Sveta . The sensor, when exposed to light, closes the circuit and 555 generates oscillations of about 1 kHz through open transistor BC158.

musical keyboard

A very simple musical instrument (keyboard) for playing music can be made using the 555 chip. You can assemble an unusual musical instrument in the photo above. Graphite is used as a keyboard and a sheet of paper with notes is presented as holes in the paper.

The same circuit, but with conventional resistors and buttons.

Timer for 10 minutes

The timer is started with the S1 button after 10 minutes. LED1 and LED2 flash alternately. The time is set by a 550 kΩ resistor and a 150 microfarad capacitor.

car alarm simulator

The LED flashes as if the car has an alarm. Mount the LED in a visible place. The thief will see that the car is under the alarm and bypass it 🙂

A simple police siren simulator

The circuit is assembled on a breadboard.

With two NE555s, you can make a simple police siren generator. It is recommended that you do the following: the timer R1=68kΩ (timer #1) is set to slow generation mode and the timer with R4=10kΩ (timer #2) is set to fast generation mode. MYou can change the characteristics of the timer. The output frequency is changed by resistors R1, R2 and C1 for timer #1 and R4, R5 and C3 for timer #2.

A similar circuit is below with a transistor at the output:

Liquid Level Sonic Generator

You can use this water level control circuit to signaling anywhere like level indicator water, e.g. in tanks, tanks, basins or anywhere else.

This is not all the possibilities of the timer chip. See also the video of the microcircuit.

The 555 series chip was developed a long time ago, but still retains its relevance. On the basis of a chip, several dozens of various devices can be assembled with a minimum number of additional components in the circuit. The simplicity of calculating the values ​​​​of the components of the body kit of the microcircuit is also its important advantage.

This article will focus on two options for using a microcircuit in a time relay circuit with:

  • Turn-on delay;
  • Shutdown delay.

In both cases, the 555th chip will function as a timer.

How the 555 chip works

Before moving on to the example of a relay device, consider the structure of the microcircuit. All further descriptions will be made for the microcircuit of the series NE555 manufactured by Texas Instruments.

As can be seen from the figure, the basis is RS flip-flop with inverted output, controlled by outputs from comparators. The positive input of the upper comparator is called THRESHOLD, the negative input of the lower - TRIGGER. The other inputs of the comparators are connected to a supply voltage divider of three 5 kΩ resistors.

As you most likely know, the RS flip-flop can be in a stable state (has a memory effect, 1 bit in size) either in logical "0" or in logical "1". How it functions:

  • R (RESET) sets the output to logical "1"(exactly “1”, not “0”, since the trigger is inverse - this is indicated by a circle at the output of the trigger);
  • Arrival of a positive impulse to the input S (SET) sets the output to logical "0".

Resistors of 5 kOhm in the amount of 3 pieces divide the supply voltage by 3, which leads to the fact that the reference voltage of the upper comparator (the “-” input of the comparator, it is also the CONTROL VOLTAGE input of the microcircuit) is 2/3 Vcc. The reference voltage of the bottom is 1/3 Vcc.

With this in mind, it is possible to compile state tables of the microcircuit with respect to the inputs TRIGGER, THRESHOLD and exit OUT. Note that the OUT output is the inverted signal from the RS flip-flop.

Using this functionality of the microcircuit, you can easily make various signal generators with a generation frequency independent of the supply voltage.

In our case, the following trick is used to create a time relay: the TRIGGER and THRESHOLD inputs are combined together and a signal is supplied to them from the RC chain. The state table in this case would look like this:

The NE555 wiring diagram for this case is as follows:

After power is applied, the capacitor begins to charge, which leads to a gradual increase in the voltage across the capacitor from 0V and beyond. In turn, the voltage at the TRIGGER and THRESHOLD inputs will, on the contrary, decrease, starting from Vcc +. As can be seen from the state table, the OUT output is logic "0" after Vcc+ is powered on, and the OUT output switches to logic "1" when the voltage drops below 1/3 Vcc at the indicated TRIGGER and THRESHOLD inputs.

Important is the fact that relay delay time, that is, the time interval between power on and charging of the capacitor until the OUT output switches to logic "1", can be calculated using a very simple formula:

T=1.1*R*C
And as you can see, this time does not depend on the supply voltage. Therefore, when designing a time relay circuit, you can not care about the stability of the power supply, which greatly simplifies the circuitry.

It is also worth mentioning that in addition to the 555 series, series 556 in a package with 14 pins. The 556 series contains two 555 timers.

Device with switch-on delay function

Let's go directly to the time relay. In this article, we will analyze, on the one hand, the circuit as simple as possible, but on the other hand, it does not have galvanic isolation.

Attention! The assembly and adjustment of the considered circuit without galvanic isolation should be carried out only by specialists with the appropriate education and approvals. The device is a source of danger, as it contains life-threatening voltage.

Such a device in its design has 15 elements and is divided into two parts:

  1. Supply voltage generation unit or power supply unit;
  2. Node with temporary controller.

The power supply operates on a transformerless principle. Its design includes components R1, C1, VD1, VD2, C3 and VD3. The 12 V supply voltage itself is formed on the VD3 zener diode and smoothed out by the capacitor C3.

The second part of the circuit includes an integrated timer with a body kit. We described the role of the capacitor C4 and the resistor R2 above, and now, using the formula indicated earlier, we can calculate the value of the relay delay time:

T = 1.1 * R2 * C4 = 1.1 * 680000 * 0.0001 = 75 seconds ≈ 1.5 minutes By changing the ratings of R2-C4, you can independently determine the delay time you need and redo the circuit for any time interval with your own hands.

The principle of operation of the scheme is as follows. After the device is connected to the network and the supply voltage appears on the VD3 zener diode, and, consequently, on the NE555 chip, the capacitor starts charging until the voltage at inputs 2 and 6 of the NE555 chip drops below 1/3 of the supply voltage, that is, up to about 4 V. After this event occurs, a control voltage will appear at the OUT output, which will start (switch on) relay K1. The relay, in turn, will close the load HL1.

The diode VD4 accelerates the discharge of the capacitor C4 after the power is turned off so that after a quick reconnection to the network of the device, the response time is not reduced. Diode VD5 dampens the inductive surge from K1, which protects the circuit. C2 serves to filter noise on the power supply of the NE555.

If the parts are correctly selected and the elements are assembled without errors, then the device does not need to be adjusted.

When testing the circuit, in order not to wait one and a half minutes, it is necessary to reduce the resistance R1 to a value of 68-100 kOhm.

You probably noticed that there is no transistor in the circuit that would turn on relay K1. This was done not out of economy, but because of the sufficient reliability of output 3 (OUT) of the DD1 chip. The NE555 chip can withstand a maximum load of up to ±225 mA at the OUT output.

This scheme is ideal to control the operating time of ventilation devices installed in bathrooms and other utility rooms. Due to its presence Fans only turn on when you are in the room for a long time. This mode is much reduces the consumption of electrical energy and extends the life of the fans due to less wear of rubbing parts.

How to make a relay with a delay off

The above circuit, thanks to the features of the NE555, can be easily converted into a turn-off delay timer. To do this, you need to swap C4 and R2-VD4. In this case, K1 will close the load HL1 immediately after turning on the device. Load disconnection will occur after the voltage across the capacitor C4 increases to 2/3 of the supply voltage, that is, to approximately 8 V.

The disadvantage of this modification is the fact that after the load is disconnected, the circuit will remain under the influence of a dangerous voltage. You can eliminate this drawback by including the relay contact in the power supply circuit for the timer in parallel with the power button ( It's a button, not a switch!).

The scheme of such a device, taking into account all the improvements, is given below:

Attention! In order for the dangerous voltage to actually be removed from the circuit by the relay contact, it is necessary that the PHASE be connected exactly as shown in the diagram.

Please note that the 555 timer is applied and described on our website in another article that discusses. The circuit shown there is more reliable, contains galvanic isolation and allows you to change the time delay interval using a regulator.

If during the manufacture of the product you need a drawing of a printed circuit board, write about it in the comments.

Related videos

In this article I will tell you how to make a simple timer on the NE 555P chip, in the assembly of which a kit kit will help us, which can be ordered from the link at the end of the article. On the basis of this kit-set, you can make, for example, a flasher or the periodic inclusion of a device.

This kit kit is suitable for beginner radio amateurs to learn how to work with a soldering iron, as it does not require special skills.

Before moving on to reading the article, I suggest watching a video with the complete assembly process, as well as checking the finished kit kit.

In order to make a timer on the NE 555P, you will need:
* Kit set
* Soldering iron, solder, flux
* Side cutters
* Device for soldering "third hand"
* Flat head screwdriver
* Power supply to check the finished device

Step one.
To begin with, consider the delivery kit of the radio designer.

In the kit we have a printed circuit board, it is made quite well and has contacts on both sides with all the signed components, so as not to be mistaken, since there are no instructions for the radio designer.



The timer is based on the NE 555P chip, and the kit also has two variable resistors to adjust the timer operation time.



The timer has connectors on its board, with the help of which, by rearranging the jumper, capacitors of different capacities will change, which will affect the timer operation time.


Step two.
First of all, we install the board in a special "third hand" soldering clamp.


We begin to arrange the components. We have only one resistor in the kit, so you do not need to measure its nominal resistance.


If necessary, the resistance can be measured with a multimeter or color marking on the case.
Step three.
We install non-polar ceramic capacitors, there is a number on their case, they are also indicated on the board.


We insert the components and bend their leads so that they do not fall out during soldering.


Next, we insert polar capacitors, we have three of them in the circuit and have different capacities. A white strip is applied to their case, opposite it is a negative terminal, plus a capacitor is a long leg. On the board, the minus is indicated by hatching, we insert the capacitors according to the ratings on the case and the board.






Step four.
Now let's install the heart of the timer, namely the NE 555P chip, install it according to the key on the case, made in the form of a round recess, which is repeated on the printed circuit board marking.


We put the red LED in its place, its long leg is a plus, a short minus. On the board, a dash is a negative contact, a triangle is a positive one. Next, we insert two variable resistors and outputs for connecting power and jumpers to change the timer operation time.

Step five.
All components on the board are installed. We apply flux for better soldering and solder the leads to the board contacts.


After soldering, remove the remnants of the leads using side cutters. When biting off the leads with side cutters, be careful, as you can accidentally remove the track from the board.

Step six.
It's time to test the timer. We connect the power supply to the contacts on the board and set the jumper to any of the four positions. The LED blinks, which means the kit is working, the response time can be changed with a screwdriver, by turning the screw of the variable resistors, and also by moving the jumper to another position, thereby switching the capacitance depending on the connected capacitor.

All our life we ​​count the intervals of time that determine certain events of our life one after another. In general, we cannot do without counting time in our life. After all, it is by hours and minutes that we distribute our daily routine, and these days add up to weeks, months and years. It can be said that without time we would lose some definite meaning in our actions, or more precisely, chaos would definitely break into our lives. I won’t even talk about business people who go to meetings every day by the hour ...
However, today's article is not at all about the fantastic realities of a possible shutdown of all clocks in the world, not even about the hypothetically improbable, but still about the really affordable! After all, if we need, if something to which we are accustomed is so necessary, then why give up the convenient!? Actually, we will talk about the timer, which is also involved in some way in the distribution of our time. Using a homemade timer is not always convenient to measure time, because today they are available even to first-graders! Progress has gone so far that you can buy a multifunctional watch in China for a couple of bucks. However, this is not always a panacea.
Let's say if you need to start or turn off some electronic device, then it is best to implement this on an electronic timer. It is he who will take over the duties of turning the device on and off, by means of automatic electronic switching of device control. It is about such a timer on the NE 555 chip that I will tell.

Timer circuit on the NE555 chip

Take a look at the picture. As it may seem trite, but the NE555 chip in this circuit operates in its normal mode, that is, for its intended purpose. Although in fact it can be used as a multivibrator, as a converter of an analog signal to digital, as a microcircuit that provides power to the load from a light sensor, as a frequency generator, as a modulator for PWM. In general, what has not been invented with it during its existence, which has already exceeded 45 years. After all, the microcircuit came out for the first time back in 1971 ...

Now, nevertheless, let's briefly once again go over the connection of the microcircuit and the principle of operation of the circuit.

After pressing the "reset" button, we reset the potential at the input of the microcircuit, since we essentially ground the input. In this case, the 150 uF capacitor is discharged. Now, depending on the capacitance connected to the leg 6.7 and the ground (150 uF), the delay-exposure period of the timer will depend. Note that a number of 500 kΩ and 2.2 mΩ resistors are also connected here, that is, these resistors also participate in the formation of the delay-soak.

You can adjust the delay using a variable resistor 2.2 M (in the diagram it is constant, it can be replaced by itself with a variable). Also, the time can be changed by replacing the 150 uF capacitor.

So with a resistance of a chain of resistors of about 1 mOhm, the delay will be about 5 minutes. Accordingly, if you unscrew the resistor to the maximum and make the capacitor charge as slowly as possible, you can achieve a delay of 10 minutes. Here it must be said that at the start of the timer countdown, the green LED lights up, when the timer is triggered, a negative potential appears on the output and because of this, the green LED goes out and the red one lights up. That is, depending on what you need, a timer to turn on or off, you can use the appropriate connection, to a red or green LED. The circuit is simple and, with the correct connection of all elements, does not need to be configured.

P/S When I found this circuit on the Internet, it also had a connection between pin 2 and 4, but with such a connection, the circuit did not work!!! Maybe this is a jamb of a particular instance, maybe something is wrong in me or the moon in the sky that night, but then I broke 4, connected the 2nd output to the 6th contact, such a conclusion was made based on other similar schemes on the Internet and everything worked !! !

If it is necessary to control the timer with a power load, a signal after a 330 ohm resistor can be used. This point is shown with a red and green cross. We use a conventional transistor, say KT815 and a relay. The relay can be used for 12 volts. An example of such an implementation of power management is given in the light sensor article, see the link above. In this case, it will be possible to turn off and on a powerful load.

Datasheet for NE555 timer

In general, if you want, you can look at the nominal parameters and the internal structure of the timer, at least in the form of a block diagram. By the way, even in this datasheet, a connection diagram will be given. Datasheet from ST company, this is a company with a name, which means that the characteristics here may be overestimated. If you take the Chinese counterpart, then it is quite possible that the parameters will be slightly different. Please note that this microcircuit can be with the SA555 or SE555 index.

Summing up the timer on the NE555 chip

The circuit shown here, although it operates from 9 volts, can also be powered by 12 volts. This means that such a circuit can be used not only for home projects, but also for a car, when the circuit can be directly connected to the car's on-board network. Although, to be sure, it is better to put LM 7508 or Krenka on 5-9 volts.
In this case, such a timer can be used to delay turning the camera on or off. It is possible to use a timer for "lazy" direction indicators, for heating the rear window, etc. There are really many options.

It remains only to summarize that the time of analog technology is still passing, because expensive capacitors are used in this timer, this is especially true for a timer with a significant delay, when the capacities are large. This is both money and dimensions in the timer device. Therefore, if the question is acute about the volume of production, about the stability of work, then even the simplest microcontroller will probably win here.

The only obstacle is that microcontrollers still need to be able to program and apply knowledge of not only the electrical part, connections, but also languages, programming methods, this is also someone's time, convenience and ultimately money.

Video about the operation of the timer on the NE555 chip

Throughout our life, we count the intervals of time that determine certain events of our existence one after another. In general, we cannot do without counting time in our lives, because in fact we distribute our daily routine by hours and minutes, and these days add up to weeks, months and years. It can be said that without time we would lose some definite meaning in our actions, and even more literally, chaos would definitely break into our lives. But in this article we are not at all about the fantastic realities of the probable and not even about the hypothetically improbable, but nevertheless about the really accessible. After all, if we need this, if something to which we have become accustomed is so necessary, then why give up the convenient!? We are talking about how and with what it is time to measure. No, this slogan about how you can measure time is somewhat amusing, as even a first grader knows this. Take an ordinary watch of any possible design, be it mechanical, sand, electronic, and measure time. However, watches may not always be comfortable. Let's say if we need to start or turn off some kind of electronic design, then it is best to implement this on an electronic timer. It is he who will take over the debts for turning the device on and off, by means of automatic electronic switching of control structures. It is about such a timer on the NE 555 chip that we will describe in our article.

Timer circuit on the NE555 chip

Take a look at the picture. As trite as it may seem, the NE555 chip in this circuit actually operates in its normal mode, that is, for its intended purpose. Although in fact it can be used as a multivibrator, as a converter of an analog signal to digital, as a microcircuit providing a load table from a light sensor.

Let's briefly go over again the connection of the microcircuit and the principle of the work of the circuit.

After pressing the "reset" button, we reset the potential at the input of the microcircuit, since we essentially ground the input. In this case, the 150 uF capacitor is discharged. Now, depending on the capacitance connected to the 6.7 leg and the ground (150 uF), the timer delay-hold stage will depend. Note that a number of 500 kΩ and 2.2 mΩ resistors are also connected here, so these resistors are also involved in the formation of the delay-exposure. You can adjust the delay with the support of a variable resistor of 2.2 M. But the most effective time can be changed by changing the capacitor line. So with a resistance of a chain of resistors of about 1 mOhm, the delay will be about 5 minutes. Accordingly, if you unscrew the resistor to the maximum and make sure that the capacitor charges as slowly as possible, then you can achieve a delay of 10 minutes. Here it is necessary to say that at the start of the countdown of the timer, the green LED lights up, when the timer is triggered, then the output is negative potential and because of this the green LED goes out and the scarlet one lights up. That is, depending on what you need, a timer to turn on or off, you can use the appropriate connection, to a red or green LED. The scheme is simple and with the correct connection of all elements in the setting, it does not live in misery.

P / S When I found this circuit on the Internet, it also had a connection between pin 2 and 4, but with such a connection, the circuit does not work !!! Pin 2 must be connected to pin 6, this conclusion was made based on other similar schemes on the Internet. With this connection, everything worked!!!

If you need to control the timer with a power load, you can use the signal after the 330 ohm resistor. This point is shown by a scarlet and green cross. We use a conventional transistor, say KT815 and a relay. The relay can be used for 12 volts. An example of such a power management implementation is given in the light sensor article, see the link longer. In this case, it will be possible to turn off and on a powerful load.

Summing up the timer on the NE555 chip

The circuit shown here, although it operates from 9 volts, can also be powered by 12 volts. This means that such a circuit can be used not only for home projects, but also for a car, when the circuit can be directly connected to the vehicle's on-board network.
In this case, such a timer can be used to delay turning the camera on or off. It is possible to use a timer for "lazy" turn indicators, for heating the rear window, etc. There are really many options.

New on site

>

Most popular