Ks0244 keyestudio EASY plug TEMT6000 Ambient Light Sensor: Difference between revisions

From Keyestudio Wiki
Jump to navigation Jump to search
No edit summary
Line 8: Line 8:
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.<br>
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.<br>
<span style="color: red">'''Note: ''' this module should be used together with EASY plug control board.<br>
<span style="color: red">'''Note: ''' this module should be used together with EASY plug control board.<br>
<br>[[File:KS0244.jpg|500px|frameless|thumb]]<br>
<br>


<br>
==Specification==
==Specification==
* Connector: Easy plug
* Connector: Easy plug

Revision as of 11:53, 23 November 2018

EASY plug TEMT6000 Ambient Light Sensor

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

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


Resources

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


Buy from

Official Website
http://www.keyestudio.com/easy-plug-temt6000-ambient-light-sensor.html