The motion sensor is used to automatically, temporarily switch on the lighting in the event of the appearance of a person or other object in such places as corridors, courtyards, approaches and driveways, garages, etc. The sensor detects sources of infrared radiation. It analyzes such parameters as the size of the object, the amount of emitted heat and the speed of movement between individual detection sectors. The detector head is movable in two planes, which allows for precise setting of the detection field tailored to the individual requirements of the user. Movement in the detection field automatically turns on the lighting for the time set by the user. After this time, the lighting will be turned off automatically. The motion sensor is equipped with a twilight switch that prevents switching on the controlled lighting during the day. The detection status and readiness to switch on the lighting are activated only after dusk. The activation time of the sensor can be corrected by the user with a potentiometer. The motion sensor can work indoors and outdoors in places where it is not exposed to direct rain or snow and the possibility of splashing water or other liquid on the sensor housing and its electrical connection points.