PHOTOCELL SENSOR MODULE FOR ARDUINO
Security policy
Delivery policy
The photocell is commonly seen in our daily life and is mainly used as a smart switch, also in common electronic design. To make it easier and more effective we have this module. Photocell is a semiconductor. It has characteristics of high sensitivity, fast response, spectral characteristic and R-value consistency, maintaining high stability and reliability in environmental extremes such as high temperature, high humidity. It is widely used in automatic control switching fields such as cameras, solar garden lights, lawn lamps, money detectors, quartz clocks, music cups, gift boxes, mini night lights, sound and light control switches, etc.
Specs:
Interface type: analog
Working voltage: 5V
Size: 30 * 20mm
Weight: 3g
Sample Code
int sensorPin =A0 ;
int value = 0;
void setup()
{
Serial.begin(9600); }
void loop()
{
value = analogRead(sensorPin);
Serial.println(value, DEC);
delay(50);
}
LINK: http://wiki.keyestudio.com/index.php/Ks0028_keyestudio_Photocell_Sensor