# KS0244 keyestudio EASY plug TEMT6000 Ambient Light Sensor ![](media/wps1.png) ## 1. 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. This module should be used together with EASY plug control board. **Special Note:** The sensor/module is equipped with the RJ11 6P6C interface, compatible with our keyestudio EASY plug Control Board with RJ11 6P6C interface. If you have the control board of other brands, it is also equipped with the RJ11 6P6C interface but has different internal line sequence, can’t be used compatibly with our sensor/module. ## 2. Specification - Connector: Easy plug - Supply Voltage: +5V DC 50mA - Interface:Analog Input - Near Human Eye Spectral Response and Very Low IR Sensitivity ## 3. Technical Details - Dimensions: 30mm * 20mm * 18mm - Weight: 3.5g ## 4. Connect It Up Connect the EASY Plug TEMT6000 sensor and an LED module to control board using an RJ11 cable. Then connect the control board to your PC with a USB cable. ![](media/image-20260106092125961.png) ## 5. Upload the Code Download code : [Code](./Code.7z) ```c 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 } ``` ## 6. Result 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. ![](media/wps2.jpg)