delay(100);
}
Result
Open the serial port monitor, set the baud rate according to the program for 9600.The light intensity
around the sensor is different, the received data is also different.The more light, the bigger the data.
FAQ
Q1. Some general Arduino Problems/ FAQ/ Tips, very good to know.
A1. Click the topic link on DFRobot Forum.
Q2. The unit of the output from these sensors is? How can I convert it to LUX?
A2. Well, it is only a simple analog sensor that could show you the relationship of the light
intensity (within its detect range) and voltage (0-5V). If you want to transfer the voltage to unit
in LUX, then well, it requires that you have a commercial Light Intensity Meter like this that
can display LUX info, then you can match the readings to the sensor's analog reading, then
you could a map to describe the relationship of voltage and ambient light density.
For any question/advice/cool idea to share, please visit DFRobot Forum.
Powered By DFRobot © 2008-2017