Ks0106 keyestudio EASY plug Photocell Sensor: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
==EASY plug Photocell Sensor ==
[[image:Ks0106.png|thumb|600px|right|EASY plug Photocell Sensor]]
<br>[[File:ks0106-1.png|500px|frameless|thumb]]<br>


==Introduction==
==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.<br>
A photoresistor or light-dependent resistor (LDR) or photocell is a light-controlled variable resistor. The principal is very simple.
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.<br>
The resistance of photoresistor varies with incident light intensity. If the incident light intensity is high, the resistance decreases; if the light intensity is low, the resistance increases.<br>
Note: this module needs to be used together with EASY plug control board.<br>
<br>
keyestudio EASY Plug photocell sensor is a semiconductor, integrated with a photoresistor, easy to use and very convenient for wiring. <br>
It has features of high sensitivity, quick response, spectral characteristic and R-value consistence.<br>
It can be applied in light-sensitive detector circuits, intelligent switch design and light- and dark-activated switching circuits. <br>
<span style="color: red">'''Note: ''' this module should be used together with EASY plug control board.<br>


<br>


==Specification==
==Specification==
* Interface: Easy plug
*Interface: Easy plug
* Sensor type: analog
*Sensor type: analog
* Working voltage: 5V
*Working voltage: 5V
* Size: 38*20mm
*Quick response
* Weight: 5g


<br>
==Technical Details==
* Dimensions: 38mm*20mm*18mm
* Weight: 4.3g
<br>


==Connection Diagram ==
==Connect It Up ==
<br>[[File:ks0106-2.png|500px|frameless|thumb]]<br>
Connect the EASY Plug photocell sensor to control board using an RJ11 cable. Then connect the control board to your PC with a USB cable.
<br>[[File:Ks0106-1-.png|600px|frameless|thumb]]<br>
<br>


 
==Upload the Code==
==Sample Code==
Copy and paste below code to [http://wiki.keyestudio.com/index.php/How_to_Download_Arduino_IDE Arduino IDE] and upload. 
<pre>
<pre>
int sensorPin =A2 ;
int sensorPin =A2 ;
Line 34: Line 44:
}
}
</pre>
</pre>
<br>
==What You Should See==
Done uploading the code, you should see the analog value change in accordance with how much light your photoresistor is sensing.
<br>[[File:Ks0106-2-.png|700px|frameless|thumb]]<br>
<br>


==Resources ==
==Resources ==
'''Download the PDF:'''<br>
https://drive.google.com/open?id=1Rd2-D2ls9-8YS0o0njbK1bTLSarXd5CM


'''PDF'''
<br>


https://drive.google.com/open?id=1z1edMsDIlH3D6hI6BLVWNlrRQYFklpZK
==Buy from ==
*'''Official Website:''' http://www.keyestudio.com/ks0105.html


==Buy from ==
'''Official Website'''


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


[[category:EASY Plug]]
[[category:EASY Plug]]

Revision as of 16:50, 22 November 2018

EASY plug Photocell Sensor

Introduction

A photoresistor or light-dependent resistor (LDR) or photocell is a light-controlled variable resistor. The principal is very simple. The resistance of photoresistor varies with incident light intensity. If the incident light intensity is high, the resistance decreases; if the light intensity is low, the resistance increases.

keyestudio EASY Plug photocell sensor is a semiconductor, integrated with a photoresistor, easy to use and very convenient for wiring.
It has features of high sensitivity, quick response, spectral characteristic and R-value consistence.
It can be applied in light-sensitive detector circuits, intelligent switch design and light- and dark-activated switching circuits.
Note: this module should be used together with EASY plug control board.


Specification

  • Interface: Easy plug
  • Sensor type: analog
  • Working voltage: 5V
  • Quick response


Technical Details

  • Dimensions: 38mm*20mm*18mm
  • Weight: 4.3g


Connect It Up

Connect the EASY Plug photocell sensor to control board using an RJ11 cable. Then connect the control board to your PC with a USB cable.
thumb

Upload the Code

Copy and paste below code to Arduino IDE and upload.

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


What You Should See

Done uploading the code, you should see the analog value change in accordance with how much light your photoresistor is sensing.
thumb


Resources

Download the PDF:
https://drive.google.com/open?id=1Rd2-D2ls9-8YS0o0njbK1bTLSarXd5CM


Buy from