Light sensor (photoresistor)

Implementation using LIFA

Install everything you need to interface LabView with Arduino.

Pin connections and LAbView code

This setup needs a 5V supply and the signal is read by an analog in pin, in this example pin2. You need to use a 10K resistor as in the diagram.

Simple VI examples

NOTE: After you follow the steps to install LabView support for Arduino, you will need to upload the LIFA_Base firmware into your Arduino board. For this simple application you can use the normal LIFA_Base firmware or the one from LIFA DHTXX LV09 RevB.zip file that you can download here. Also, in order to make this work, use the Arduino IDE 1.0.5 version that you can get from here, with a windows installer. To upload the LIFA_Base firmware open the Arduino IDE 1.0.5 version, open the LIFA_Base file located somewhere on your computer (depending on your installation) and press Upload.

You can download the example VI below.

Integration

This sensor was integrated with others in a single application. See the Arduino page.

If you need a VI for an earlier version of LabView please contact us.