

Get a quote in only 3 steps!
1. Add the items you are interested in to your cart
2.Go to your cart
3.Click on GENERATE A QUOTE
Your quotations are available online on your customer account.
Including €0.01 for ecotax
PIR stands for "Passive Infrared". The PIR sensor for Lego Mindstorms NXT is then a passive infrared sensor. This is the technology used by motion detectors in an alarm system for a house. The principle is simple. All objects, people and animals emit more or less infrared radiation. The warmer the object is, the stronger the infrared emission.
The PIR sensor for NXT therefore detects changes in infrared radiation in its field. Thus, a person or an animal (warm blooded) that moves in the field of the PIR sensor will be detected. If the person or the animal remains stationary in the field of PIR, then the detection will fade gradually. The sensor detects movements.
This sensor is effective for people, animals or objects at temperatures between 30°C and 50°C.
As presented in the figure below, the measuring range of the sensor is divided into two zones, a positive zone on the left and a negative zone on the right.
Measurement by the sensor is based on the relative changes of infrared radiation between these two areas. The following image shows the effect of a change of the infrared radiation emitted in each of the two areas on the overall measurement made by the sensor.
This type of architecture can not only detect when something warm moves in the sensor field but also in what direction this source moves.
The following image shows what happens when a person moves in the measurement field of PIR sensor for Lego Mindstorms NXT.
The PIR sensor is programmable using NXT-G. The following image shows the configuration panel of the NXT-G block of the PIR sensor for Lego Mindstorms NXT:
As shown in the picture above, it is possible to define a dead zone, ie an area without measurement. It is possible to compare the measured value with a data range. By default, the NXT-G block checks if the value is outside the range -10/+10.
The following image shows the simple NXT-G code which triggers an alarm when motion is detected by the PIR sensor for NXT.
To download the NXT-G block of the PIR sensor for Lego Mindstorms NXT, go to: Code of the NXT-G block of the PIR sensor for Lego Mindstorms NXT.