Do it yourself
Life hacks, master classes, useful tips, recipes.
home » Electronics » Simple circuits » Infrared barrier

As is known, in addition to the visible light spectrum, there is also infrared radiation, which is not perceived by the human eye. It is often used in remote controls to transmit various commands. An interesting fact - to “see” infrared light, just point the lens of a digital camera at the IR emitter of the remote control and press the keys on it. A luminous dot will be visible on the camera screen - this is infrared Light-emitting diode.

IR rays in radio electronics make it possible to create an interesting device called an infrared barrier. It consists of two parts - a transmitter and a receiver. The transmitter is a regular IRLight-emitting diode, which receives bursts of pulses. The receiver continuously catches and detects these bursts of pulses. When there is a free visible connection between the receiver and the transmitter, i.e. the light “reaches” freely to the receiver, and a logical zero is set at the output. But as soon as a foreign object appears in the coverage area, the connection is instantly disrupted and the receiver signals this.Such a barrier can be used, first of all, in security alarms, because IR radiation cannot be seen with the naked eye.

The advantage of this particular scheme is that the infrared Light-emitting diode It glows not continuously, but pulsed. Firstly, this extends the life of the LED itself and reduces current consumption, and secondly, it is a good means of protection against false alarms, so the circuit can be safely used even outdoors when the receiver is exposed to direct sunlight.

Transmitter circuit

The transmitter circuit is based on a dual integrated timer NE556, which generates pulses for the emitting LED LED1, resistor R2 sets the radiation power. All other elements of the circuit must strictly comply with the specified rating in order to maintain the desired frequency of the generator. D1 – any low-power diode, for example, 1N4148, 1N4007, KD521.

Receiver circuit

The key element of the circuit is a special IR signal receiver, designated TSOP (Temic Semiconductors Opto Electronics Photo Modules). You can find it on any TV that has a remote control. Any receiver designed for a frequency of 36 kHz, for example, TSOP1736, is suitable here. This receiver controls the gate of field-effect transistor VT1. Because the signal from the receiver output is about 5 volts, then the transistor must be used with logical control, for example, IRL520 or any others from the IRL series. As a last resort, you can install a regular field one, for example, IRF540, IRF740, IRF630, but it will not open completely. Light-emitting diode LED1 indicates the output status of the circuit.When the visible connection between the receiver and the transmitter is not broken, the output voltage is zero, LED1 is not lit. As soon as a foreign object appears in the coverage area, LED1 lights up and the voltage at the OUT output becomes equal to the supply voltage. D1 in the diagram is a 5 volt zener diode, you can use, for example, 1N4733.

You can download the board here:

infrakrasnyy-barer.zip [14.47 Kb] (downloads: 51)

IR barrier assembly

Each circuit is assembled on its own printed circuit board, the TSOP receiver and IR LED are output on wires. The boards are made using the LUT method, below are a couple of photographs of the process:

As when creating any electronic device, first small parts - resistors, diodes - are soldered onto the board. Then the capacitors, and after them everything else. It is advisable to install the microcircuit in the socket, and connect the power wires through terminal blocks for convenience. After soldering, wash off any remaining flux from the board and test the tracks for short circuits.

Setup and testing

After assembly, you can supply power to the boards. The supply voltage for both circuits is 9-12 volts. After turning it on, you need to make sure that the voltage at the cathode of the zener diode in the receiver circuit is approximately 5 volts. If it is higher, you need to check the functionality of the zener diode and resistor R2, otherwise the TSOP receiver may burn out. After starting the transmitter, you can look at the LED through the camera lens; it should glow slightly. It is advisable to place the LED in a tube 3-4 centimeters long so that the light does not scatter to the sides, but is directed strictly in one direction.

Now you can point the LED tube at the receiver and see what happens.When there is a visible connection between them, the blue LED is off, this can be seen in the photo.

Now we place a piece of plywood in the path of the IR radiation flow, the connection between the receiver and the transmitter will be lost and the blue LED will immediately light up.

You can experiment with different materials. Paper and transparent plastic transmit infrared radiation, so the IR barrier does not react to them. But metal, wood, a human hand or other dense materials are an obstacle to the rays, as can be seen in the video.

Watch the video

come back
Comment
  • bowtiesmilelaughingblushsmileyrelaxed relaxedsmirk
    heart_eyeskissing_heartkissing_closed_eyesflushedrelievedsatisfiedgrin
    winkstuck_out_tongue_winking_eyestuck_out_tongue_closed_eyesgrinningkissingstuck_out_tonguesleeping
    worriedfrowninganguishedopen_mouthgrimacingconfusedhushed
    expressionlessunamusedsweat_smilesweatdisappointed_relievedwearypassive
    disappointedconfoundedfearfulcold_sweatperseverecrysob
    joyastonishedscreamtired_faceangryragetriumph
    sleepyyummasksunglassesdizzy_faceimpsmiling_imp
    neutral_faceno_mouthinnocent
5+two=
Comments (3)
  1. Kirill
    #1 Kirill Guests September 16, 2018 05:35
    1
    How to assemble a reverse circuit? So that it is in it when there is a visible connection on the receiver it lights up Light-emitting diode, when she is not there, then Light-emitting diode "silent"??
    1. Vladislav
      #2 Vladislav Guests 11 June 2021 12:07
      3
      Put a mirror :-)
  2. Ivan
    #3 Ivan Guests September 16, 2022 09:19
    1
    Is there a diagram in Proteus?

A selection of useful tips and life hacks for everyday life and the workshop

How to make a clothespin on a tape measure for accurate angular measurements

Arrangement of the working area in the workshop

Do-it-yourself concrete tabletop is easy

«Do it yourself - with your own hands» - a site of interesting homemade products made from scrap materials and items at home. Step-by-step master classes with photos and descriptions, technologies, life hacks - everything a real master or just a craftsman needs for needlework. Crafts of any complexity, a large selection of directions and ideas for creativity.

We recommend reading

Washing machine error codes