Categories: Sharing experience, Electrician at home, Home automation
Number of views: 499613
Comments on the article: 35

How to connect the motion sensor to control the light

 

The first association that comes to mind with the phrase “smart home” is the automatic inclusion of light in a room when a person appears there and the automatic lighting off when people exit this room. In this article I will give detailed instructions on how to create such an automatic inclusion of light with your own hands, making your home a little smarter.

To implement this idea, the LX-01 motion sensor was taken. The principle of its action is simple - when there is movement in the detection zone, it closes the circuit, thereby including devices connected to it. In the absence of movement, the circuit automatically opens, turning off all devices.

The motion sensor also has the ability to configure, there are three of them - the time interval for switching off, the level of illumination and sensitivity. The time interval for shutdown sets the time during which the sensor will work since the last motion detection. Values ​​are set between 5 seconds and approximately 2 minutes.

The level of illumination is needed for the correct operation of the sensor during daylight hours. When motion occurs, the sensor determines the level of illumination, and if it is below the threshold, the sensor is triggered, if higher, the sensor does not work. It is logical - why in the afternoon in the already lighted room with natural light to turn on electric lighting?

With the last setting - sensitivity - I think that everything is clear and without a description. The higher the sensitivity, the better the sensor responds to movement. If the sensor triggers too much, then the sensitivity is better reduced.

how to connect a motion sensor

It should be noted that there are a lot of sensors in general and motion sensors in particular now. Each species is suitable for a specific task. So the motion sensor described above is best suited for installation in a corridor or any other room where people often pass without being delayed for a long time. This is explained primarily by the principle of operation of the sensor - it responds to movement. For this reason, installing it in a toilet or in a bathroom is a bad idea. Otherwise, each time you take a bath, wave your hands or make other body movements to constantly illuminate the room. Agree, this is not very convenient. So, we decided on the choice of room. Now we proceed to the choice of the location of the motion sensor.

When installing a motion sensor, it is important to consider the parameters of the room. The location of the doors, the main ways of moving people - all this has a significant impact on the choice of location for installation. In my case, the corridor had the following layout:

how to connect a motion sensor

It can be seen that there are 4 doors in the corridor and there are no windows. The lack of windows in this case is even at hand - you don’t have to adjust the sensor to various lighting levels, the sensor will work well with every movement in the room, regardless of the time of day. There is one door on each side, this complicates the task somewhat, since it is necessary to control all 4 doors at the same time so that the person who entered does not end up in the dark. Since the sensor has an overview of 120 degrees, it was decided to install it in the corner of the room (after all, as you know, the right angle is 90 degrees). Installation in the middle of the wall in this case is not suitable, since this will lose sight of the door in this wall. So, with the location of the sensor, we decided:

how to connect a motion sensor

Now you need to decide on the connection of the sensor. The connection diagram is shown below:

motion sensor connection diagram

Despite the fact that we connect the sensor to the network with phase current, it is impossible to connect the wires to the sensor otherwise than shown in the diagram - one sensor was safely burned after it was incorrectly connected to the network.

It may be useful in some cases to leave a control switch that will act in parallel with the motion sensor. For example, you need for some reason to keep the lights on in this room for a long period of time in the absence of people. To do this, you must connect a standard light switch in parallel with the sensor. The connection diagram will change and will already look like this:

motion sensor connection diagram

Such a connection will make it possible to keep the light on for an arbitrarily long time when the switch is turned on. A kind of "emergency mode". The rest of the time, the switch must be in the “off” state, in which case lighting control completely moves to the motion sensor.

motion sensor connection diagram

Using the tester, we call the wiring and find the wire passing from the switch to the lamp. From it we pull a new wire to the red contact of the sensor. Next, take the wire on the other side of the switch and pull the wire from it to the brown contact of the motion sensor. After that, you need to take a wire suitable for the lamp (lighting device) on the other side (not from the switch side). From this wire, we make contact to the terminal with the blue wire of the motion sensor.

Important! Carry out all wiring work with the electricity turned off in the house. At the same time, observe all safety precautions when working with electrical wiring. Be sure to insulate all exposed sections of the wiring, double-check the connection.

motion sensor connection

After connecting all the contacts, you can assemble the motion sensor and fix it in the selected place. In our case, a special metal corner was made with the corridor, which was fixed at an angle of 45 degrees to the walls in their place of contact. Further to this corner, a motion sensor was attached.

motion sensor connection
motion sensor connection

At the end of all installation work, you need to check the operation of the sensor. Enter its visibility zone - if the light turns on immediately after entering the room, then everything is set up correctly. Then set the desired interval for turning off the light. If the sensor does not work a bit, use the toggle switches to configure. located on the sensor housing. It will also be useful to try the sensor in its various positions - thanks to the bracket, the sensor can be twisted and rotated.

See also on this topic: Motion Sensor Connection Diagrams andHow to choose, configure and connect a photo relay for outdoor or indoor lighting

See also at bgv.electricianexp.com:

  • How to set up a motion sensor
  • How to choose a motion sensor to turn on the light
  • Motion sensor - a small helper for great savings
  • How infrared motion sensors are arranged and work
  • Lamps with a motion sensor for an apartment and a house - design features ...

  •  
     
    Comments:

    # 1 wrote: | [quote]

     
     

    I understand that the red and brown wires can be interchanged, because it’s connecting to the phase as a switch, it’s just that the sensor closes them together when moving, and the blue one is zero, from which both the lamp and the sensor are fed, and the sensor already has a phase — it is red and brown!

     
    Comments:

    # 2 wrote: | [quote]

     
     

    I connected a motion sensor according to the specified scheme, everything works, many thanks for the information! ps At first I thought that the circuit did not work, then I adjusted the sensitivity and everything is OK! Thanks again!

     
    Comments:

    # 3 wrote: Vladimir Khabarovsk | [quote]

     
     

    I do not agree with the statement that it will be necessary to move periodically in the toilet so that the light does not turn off! Shutdown speed is sufficient for the procedure in the presence of a normally working intestine !!! Health to you !!! v

     
    Comments:

    # 4 wrote: | [quote]

     
     

    I don’t know how it will turn out, although I’m not one of sympathizers, I have not encountered this before. Here for one and check in practice. In short, as I understand it, in principle, it is not much different from a switch. Well, yes, I remember the times when the switch turned me on, not just from three, from two points, it entered into a fearful stupor. Let's see what kind of causality it is and what it is eaten with)))

     
    Comments:

    # 5 wrote: Novel | [quote]

     
     

    I have been using sensors for two years already - the first was installed in the MW201 / 02 toilet. Parents stopped cursing that someone forgets to turn off the light, plus who sits for a long time, the timer will remind you that zhis passes by;). The second LX48B was installed in the corridor - about 5 meters long, with bends and obstacles (so I had to abandon the ceiling sensor) just above the front door. very conveniently, he just entered the corridor - the light is on, if it was delayed - he waved his hand or moved - the light of the owl is on. went out, turned off after five seconds. The main switch now serves to turn on the light at a constant. I made an additional switch on the sensor - if the sensor’s work is not needed (in the summer when dusk sets in for a long time in the city - from 1 to 2 hours).

    Sorry for typos and errors. I forgot to add that the LX48B sensor was installed sideways in the corridor. That is, the radiation pattern from horizontal has become vertical. But now the sensor reacts to the front door above which it weighs and on objects approaching (moving away) along the corridor.

     
    Comments:

    # 6 wrote: Seryoga | [quote]

     
     

    I suggest in the toilet with a motion sensor to include an additional relay, ext. The relay blocks itself with its add. contacts.
    Light bulb connected via main contacts add. the relay is on regardless of the subsequent state of the motion sensor. When opening the toilet door add. the relay is switched off by a limit switch or a reed switch mounted on the door. The light goes out.

     
    Comments:

    # 7 wrote: | [quote]

     
     

    I installed a motion sensor, but for some reason it turns off and turns on again after a second, although there are no movements, because of what could it be?

     
    Comments:

    # 8 wrote: andy78 | [quote]

     
     

    Vlad, the motion sensor is incorrectly connected or faulty. Most likely the second.

     
    Comments:

    # 9 wrote: Alexander | [quote]

     
     

    Vladimir Khabarovskcorrectly writes
    In the toilets of the office were installed 4 ceiling sensors covering 360.

    1 month there were comments, then everyone tuned in for 6 minutes.

    In my opinion enough.

     
    Comments:

    # 10 wrote: Dmitriy | [quote]

     
     

    But what if there are pets? Can it be made to work only on movements above a meter from the floor?

     
    Comments:

    # 11 wrote: Jacob | [quote]

     
     

    Dmitriy, there are motion sensors where you can adjust the sensitivity. Alternatively, you can install motion sensors with the function of ignoring animals. Conventionally, they are divided by the weight of ignoring: 25, 40 kg. The function of ignoring animals is indicated in the instructions and on the packaging. Such a motion sensor with infrared rays divides the protected area into squares and works only if the moving object occupies more squares than is laid down in the restrictions.

     
    Comments:

    # 12 wrote: | [quote]

     
     

    Please tell me how you need to connect several motion sensors so that the street lamps light up as a person passes by them (for example, a person comes up, two lights come on, then another two lights up, etc.).

     
    Comments:

    # 13 wrote: | [quote]

     
     

    and I have a question: on the Internet circuits it turns out that when the switch is turned on and the light is forced to ignite, the sensor continues to work? he remains in parallel in the chain. is not ice ?! I'm right, and how can I fix it - turn off the sensors completely, including the light.

     
    Comments:

    # 14 wrote: Bakhmut Dmitry | [quote]

     
     

    To disable the motion sensor and turn on the light, you can put a switch on a constant.

     
    Comments:

    # 15 wrote: | [quote]

     
     

    How to connect a motion sensor with two passage (hallway) switches (blocking). I will be very grateful for the scheme.

     
    Comments:

    # 16 wrote: | [quote]

     
     

    One switch and one switch should be placed under the frame, the switch will switch the lamp operation either from the sensor or from an ordinary switch.When the sensor is tired of its blinking, you press the switch and the lighting will work from the switch. There are 4 wires from the box to the unit from the switch and the switch, the 1st phase to the perkl., The 2nd to the sensor, the 3rd to the switch, the 4th phase going to the lamp, there should be a jumper between the switch and the switch. My opinion should be easier and not wiser.

     
    Comments:

    # 17 wrote: Vyacheslav | [quote]

     
     

    Please tell me how to attach a motion sensor to an insulated wall of polystyrene foam (11 cm polystyrene foam (10 + mortar)), sockets for fastening about 3.5 screws, but I have not seen such long dowels. So I’m thinking of sticking a plywood bar and then on self-tapping screws, or what’s better?

     
    Comments:

    # 18 wrote: Andrew | [quote]

     
     

    It’s better not to drill anything, buy 3m red double tape and glue. You can always tear and move.

     
    Comments:

    # 19 wrote: Alexei | [quote]

     
     

    Hello. Please tell me I have ceiling sensors in the toilet, bathroom and vestibule. While there are energy-saving light bulbs, everything is fine. As soon as I turn in the usual sensor, the light turns off as usual and after 2 seconds it turns back on and so on to infinity. Until you put energy-saving. WHAT IT IS???? And in general, a cool thing, I still connected a fan to the hood in the toilet to it. WAITING FOR ANSWER HELP PLEASE ADVICE.

     
    Comments:

    # 20 wrote: Zheka | [quote]

     
     

    Help who came across. LX-01 motion sensor, a normal 95W incandescent lamp on the load, the problem is that the sensor does not turn off, well, i.e. I connected everything according to the scheme, connected 220V - the lamp turned on and does not turn off, the sensor reacts to adjustments 0.

     
    Comments:

    # 21 wrote: Stas | [quote]

     
     

    as in question # 7.I installed a motion sensor, but for some reason it turns off and turns on again, although there are no movements, because of what could it be?
    Already the second sensor, the first replaced in the store - the problem is the same. Sensor Feron Sen24. Hanging above the door, just above it is the actual light source (60W lamp). Help resolve the problem!

     
    Comments:

    # 22 wrote: | [quote]

     
     

    Quote: Stas
    I installed a motion sensor, but for some reason it turns off and turns on again, although there are no movements, because of what could it be? Already the second sensor, the first replaced in the store - the problem is the same. Sensor Feron Sen24. Hanging over the door, just above it the light source itself

    Check on another source. Perhaps the sensor includes heat from the light bulb.

     
    Comments:

    # 23 wrote: | [quote]

     
     
    Comments:

    # 24 wrote: | [quote]

     
     

    Hey. Can someone tell me? I installed two lamps on the street, both with sensors. For two weeks everything worked, and then both stopped. Sinned on sensors, changed the seller for new ones. During installation, I found this: when connecting the wires of the sensor-lamps to the supply wire, the voltage disappears in the supply wire. I have a private house, two wires are brought out from one machine, so the voltage disappears in both! And on the shield from the machine there. Maybe someone came across? What is the problem?

     
    Comments:

    # 25 wrote: | [quote]

     
     

    Hello, I have such a situation: the masters installed stretch ceilings, connected lights and laid out 2 wires. When you close them, the light turns on. But on all motion sensor connection circuits, 3 wires are needed. How to get out of this situation?

     
    Comments:

    # 26 wrote: MaksimovM | [quote]

     
     

    Irina, if the masters did everything right, then the two wires that are output are the phase conductor of the apartment’s electrical wiring and the conductor from the lamp (chandelier), to which the phase should approach, zero should go directly to the lamp. Browse this article again, there are connection schemes for the motion sensor (with and without a conventional light switch, with only one sensor).

    You need to determine where the phase of the wiring is from these two wires and connect it to the motion sensor, you also need to connect the neutral conductor to the sensor.At the output of the sensor (in the diagram on the right), a wire is connected that is output from the lamp.

    The question arises - where to get zero? Here you need to know the wiring diagram in order to know where the chandelier is connected from. If in a junction box, then zero can be taken from there. Ideally, it was necessary to immediately bring out three wires - one from the lamp, phase and zero electrical wiring.

    Vasya not Pupkinif the circuit breaker that feeds these wires remains on and there is voltage at its output, then the only reason is that somewhere there is no contact (if there are intermediate contact connections) or the wire is broken.

     
    Comments:

    # 27 wrote: | [quote]

     
     

    Irina, if the lamp is connected without a box, then zero can be taken from the lamp.
    From operating experience:
    a) false alarms occur with poor contacts on the sensor power line, the switches also burn up and the mechanism melts, which leads to sparking on the contacts
    b) in the kitchen, a six-meter sensor had to be replaced with a twelve-meter one, since an increase in time did not help from a periodic blackout
    c) with direct illumination of the sensor, a periodic shutdown occurs and with fluorescent lamps - is eliminated in any way possible
    d) in corridors, porches, street lamps - each lamp has its own sensor
    d) to check the health of the bulb, it is better to provide a forced switch.

     
    Comments:

    # 28 wrote: | [quote]

     
     

    I installed a dd-010 motion sensor on the landing with 2 settings: light sensitivity and a response time interval. During the day, as expected, the motion sensor does not turn on the light. At dusk and when it gets dark - it works properly. But, after 2:00 a.m. at midnight, the motion sensor drives. The light turns on after a couple of seconds. turns off and lights up again. And so until the morning, although in the area of ​​the motion sensor, I did not observe anyone or anything. Please tell me, can I change the red and brown wires will give the desired result?

     
    Comments:

    # 29 wrote: | [quote]

     
     

    Please tell me how to check the motion sensor for operability and whether it was necessary to check it for work upon purchase? Thanks.

     
    Comments:

    # 30 wrote: | [quote]

     
     

    Hello. Tell me - I installed a lamp with a motion sensor LED near the heating battery in the bathroom. It lights up, then goes out after a while and turns on again. What to do?

     
    Comments:

    # 31 wrote: Vyacheslav | [quote]

     
     

    I purchased a LX-19B sensor (the type is indicated only on the box), connected it according to the scheme - it works as if without a sensor directly and does not react to anything, it just burns.
    I tried the circuit for the LX-19C - the effect is the same.
    What could be the problem and can it be solved on their own?
    P.S. Radio electronics, not a loser.

     
    Comments:

    # 32 wrote: | [quote]

     
     

    Good afternoon, do not tell me, there are such sensors for lighting that they react only at a certain time. Neighbors do not want to throw off lighting on the landing. Jute when someone can’t stand it and connect the lighting to your meter. The sensor that responds to movement does not suit me, because then it will respond to all movements on the site and neighbors will be provided with free light. I want to install a light sensor, which would light up only at a certain time and would be regulated through a switch in the apartment. Tell me?

     
    Comments:

    # 33 wrote: | [quote]

     
     

    Batyr,
    You installed the lamp too close to the sensor, there must be at least 1 meter.

     
    Comments:

    # 34 wrote: | [quote]

     
     

    Zhuldyz,
    Set a timer in front of the motion sensor that you program for the time you want to turn on.

     
    Comments:

    # 35 wrote: | [quote]

     
     

    Tell me how to be. There is a motion sensor on the thyristor. Two wires at the input, two at the output. How to connect? If I take wires from the outlet to the input (phase and zero to power the sensor). and the output can only connect a phase wire going to the lamp.If you connect zero from the outlet to the second output wire, the lamp always lights up.