IR Sensors

Read data from infrared sensors connected to the EV3 brick

Objects

irSensorConnection to infrared sensor

Functions

irSensorCreate connection to infrared sensor
readProximityRead distance from infrared sensor to object
readBeaconProximityRead distance and heading from infrared sensor to beacon
readBeaconButtonRead number of pressed button on infrared beacon

Concepts

IR Sensor and Remote Infrared Beacon

IR Sensor and Remote Infrared Beacon

Troubleshooting

Cannot Connect to a Sensor or Motor

Troubleshoot connections to LEGO®MINDSTORMS® Sensors or Motors