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

From Keyestudio Wiki
Jump to navigation Jump to search
Line 24: Line 24:
==Connect It Up==
==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.
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.
<br>[[File:KS0244.jpg|500px|frameless|thumb]]<br>
<br>[[File:KS0244-1.jpg|500px|frameless|thumb]]<br>
<br>
<br>



Revision as of 11:58, 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