LabVIEW Interface for Arduino Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

Arduino Example: IR Sensor

Before opening this example, make sure to install the LabVIEW Interface for Arduino.

Description:

This example shows how to use an IR sensor to monitor movement and trigger actions based on that movement.

Tutorial:

  1. Make sure you have installed the LabVIEW Interface for Arduino.
  2. Open the Arduino IR Sensor VI (search for "Arduino" in the example finder once the toolkit is installed).
  3. On the front panel, select the movement limit.  This is the amount of time movement must be seen for to trigger an action.
  4. Connect the digital output from the IR sensor to Digitial I/O Pin 12
  5. Connect your Arduino to your PC with a USB cable. Optionally you can specify the COM port associated with your Arduino to the VISA resource terminal of the Init.vi to decrease the time require for LabVIEW to connect to the Arduino.
  6. Click Run.

IRSensorFP.png

IRSensorBD.png

Kevin Fort
Principal Software Engineer
NI
Comments
jheffernan
Member
Member
on

Dear NI Community,

Can anyone tell me about the hardware that is associated with this example?  There are numerous IR motion sensors out there.  Any suggestions as to a reasonably priced one?

Thanks,

JH

Contributors