5
You can measure different intensities of light using this
sensor and let it react accordingly.
Example
You can use the codes included to react according to the
ambient light and turn on the Grove – Chainable RGB
LED. We have also provided another example. Find them
via the path below:
File > Sketchbook > Grove_Beginner_Kit_Sketchbook-mas-
ter > tutorial 4 – Light Sensor > 1_LightSensorSwitch
Grove - Light Sensor
D4 D3
A6 D7
D2
D6
A2
A0 12C.
UART
D5
12C..
Tips
The resistance of the photo-resistor on this module decreases when
the light intensity increases and vice versa, thus output accordingly.