Ks0106 keyestudio EASY plug Photocell Sensor

From Keyestudio Wiki
Jump to: navigation, search

EASY plug Photocell Sensor


thumb

Introduction

Photocell is commonly seen in our daily life and is mainly used in intelligent switch, also in common electronic design. To make it easier and more effective, we supply corresponding modules.
Photocell is a semiconductor. It has features of high sensitivity, quick response, spectral characteristic, and R-value consistence, maintaining high stability and reliability in environment extremes such as high temperature, high humidity. It’s widely used in automatic control switch fields like cameras, garden solar lights, lawn lamps, money detectors, quartz clocks, music cups, gift boxes, mini night lights, sound and light control switches, etc.
Note: this module needs to be used together with EASY plug control board.


Specification

  • Interface: Easy plug
  • Sensor type: analog
  • Working voltage: 5V
  • Size: 38*20mm
  • Weight: 5g


Connection Diagram


thumb


Sample Code

int sensorPin =A2 ;
int value = 0;
void setup()
{
Serial.begin(9600); }
void loop()
{
value = analogRead(sensorPin);
Serial.println(value, DEC);
delay(50);
}

Resources

PDF

https://drive.google.com/open?id=1z1edMsDIlH3D6hI6BLVWNlrRQYFklpZK

Buy from

Official Website

http://www.keyestudio.com/keyestudio-easy-plug-photoresistor-sensor-module-for-arduino-1-order.html