Ks0244 keyestudio EASY plug TEMT6000 Ambient Light Sensor: Difference between revisions
Keyestudio (talk | contribs) |
Keyestudio (talk | contribs) |
||
Line 50: | Line 50: | ||
==Resources == | ==Resources == | ||
'''PDF:'''<br> | '''Download the PDF:'''<br> | ||
https://drive.google.com/open?id= | https://drive.google.com/open?id=10Rl5goHtGDDgwA_SoSVkHfYicOo77pPz | ||
'''Download the Code:'''<br> | |||
https://drive.google.com/open?id=1cQTpselgjTvlBotJv39kT7G_kDTDD5-P | |||
<br> | |||
==Buy from == | ==Buy from == |
Revision as of 14:18, 27 November 2018
Introduction
Light sensors are probably one of the most common sensors in life. They can be found in your laptop, phone or home lighting system.
A light sensor measures the level of light in a room or ambient light in a space.
This EASY plug TEMT6000 light sensor uses a special ambient light detector (TEMT6000) with spectral response that closely emulates the human eye.
It does react well to very small changes in a wide range of brightness, however, it does not react well to IR or UV light. The sensor can help you to to detect the light density.
Note: this module should be used together with EASY plug control board.
Specification
- Connector: Easy plug
- Supply Voltage: +5V DC 50mA
- Interface:Analog Input
- Near Human Eye Spectral Response and Very Low IR Sensitivity
Technical Details
- Dimensions: 30mm*20mm*18mm
- Weight: 3.5g
Connect It Up
Connect the EASY Plug TEMT6000 sensor to control board using an RJ11 cable. Then connect the control board to your PC with a USB cable.
Sample Code
Copy and paste below code to Arduino IDE and upload.
int temt6000Pin = 0; void setup() { Serial.begin(9600); } void loop() { int value = analogRead(temt6000Pin); Serial.println(value); delay(100); //slow down the output speed so that read the value easily }
What You Should See
Done uploading the code, open the serial monitor and set the baud rate to 9600, you should be able to see the analog value. When the sensor detects different light intensity, the value will change.
Resources
Download the PDF:
https://drive.google.com/open?id=10Rl5goHtGDDgwA_SoSVkHfYicOo77pPz
Download the Code:
https://drive.google.com/open?id=1cQTpselgjTvlBotJv39kT7G_kDTDD5-P
Buy from
Official Website
http://www.keyestudio.com/easy-plug-temt6000-ambient-light-sensor.html