LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LED as a light sensor w/ arduino

Lynn,

 

I've been meaning to say thank you. I'm likely to use your LED method.  As for the pseudo code... thanks for your example, it wasn't all that different than what I came up with, as I used the comparison = vs. the  R / IQ gizmo used in your example. Actually, I was using that as an example myself as that code piece has been such a staple of programming (at least for me) in every language I've used, that I don't even have to think about it. It usually takes little time to adapt it to the syntax of a different language, that taking hrs to figure it out shows how different Labview is to a text based language, and how little I yet know about Labview.

 

I have a couple more questions, But I'll put them in another thread.

 

Thanks again,

  Chris

Message 11 of 12
(577 Views)

check these links to examples in the same web of Arduino, you should work with photocells, but these can fail to work if in the open exposed to the cold and hot environment, in this case the LED is much more resistant

 

http://playground.arduino.cc/Learning/LEDSensor

 

http://arduino.cc/en/Tutorial/EsploraLightCalibrator

 

http://www.instructables.com/id/Arduino-Use-LED-as-a-light-sensor/

 

Picture of Arduino: Use LED as a light sensor
0 Kudos
Message 12 of 12
(507 Views)