Ks0028 keyestudio Photocell Sensor: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 33: Line 33:
}</pre>
}</pre>


==Video==
==Resources ==
 
'''Video'''
 
http://www.keyestudio.com/wp/2016/05/ks0029-keyestudio-digital-push-button-module/
http://www.keyestudio.com/wp/2016/05/ks0029-keyestudio-digital-push-button-module/


'''Datasheet'''
http://www.keyestudio.com/files/index/download/id/1463649863/
==Buy from ==
http://www.keyestudio.com/keyestudio-photocell-sensor-for-arduino.html
https://www.amazon.com/Keyestudio-Photocell-sensor-Arduino-raspberry/dp/B0171R69QI/ref=sr_1_1?ie=UTF8&qid=1479872847&sr=8-1&keywords=keyestudio+Photocell+sensor+for+Arduino
[[Category: Sensor]]
[[Category: Sensor]]

Revision as of 11:53, 23 November 2016

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.  
thumb


Specification

  • Interface Type: analog
  • Working Voltage: 5V
  • Size: 30*20mm
  • Weight: 3g

Connection Diagram


thumb

Sample Code

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

Resources

Video

http://www.keyestudio.com/wp/2016/05/ks0029-keyestudio-digital-push-button-module/

Datasheet

http://www.keyestudio.com/files/index/download/id/1463649863/

Buy from

http://www.keyestudio.com/keyestudio-photocell-sensor-for-arduino.html

https://www.amazon.com/Keyestudio-Photocell-sensor-Arduino-raspberry/dp/B0171R69QI/ref=sr_1_1?ie=UTF8&qid=1479872847&sr=8-1&keywords=keyestudio+Photocell+sensor+for+Arduino