Main Content

IR Sensors

Read data from infrared sensors connected to the EV3 brick

Interact with infrared sensors connected to the EV3 brick

Objects

irSensorConnection to infrared sensor

Functions

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

Topics

Troubleshooting

Cannot Connect to a Sensor or Motor

Troubleshoot connections to LEGO® MINDSTORMS® sensors and motors.