High Precision Medium Range Infrared distance sensor for NXT / EV3
Including €0.01 for ecotax
This infrared sensor for Lego Mindstorms NXT, from Mindsensors, is like the ultrasonic sonar sensor, it can measure distances to obstacles. This sensor detects and measures the distance to obstacles between 10cm and 80 cm. The calibration of the infrared sensor is embedded and enables effective and accurate measures.
This smart sensor has also a function to turn it off when not in use to reduce the energy consumption of your robot Lego Mindstorms NXT.
- High resolution : Provides reading directly in millimeters
- Detection range :from 10cm to 80cm
- Infrared sensor Sharp GP2Y0A21YK
- Energy consumption : 30mA at 4.7V
Programming the infrared sensor for Lego Mindstorms NXT
Programming the infrared sensor using NXT-G
This infrared sensor can be programmed using NXT-G, the graphical language of the Lego Mindstorms NXT robot. To download the code of the NXT-G block to program this infrared sensor, click on the following image:
Programming the infrared sensor using RobotC
This infrared sensor can be programmed using RobotC, a C programming language for the Lego Mindstorms NXT robots:
Example of use of the infrared sensor for the Lego Mindstorms NXT
A video of an example of the use of the infrared sensor :