Skip to content

LX1972_ambient_light_sensor_SKU_SEN0172

Angelo edited this page Sep 22, 2016 · 4 revisions

Introduction

This module uses an ambient light detector(LX1972) with spectral response that closely emulates the human eye. It help you to to detect the light density and reflect the analog voltage signal back to Arduino controller. You can set the threshold of voltage level to trig other unit on Arduino project.

Feature

  • Near Human Eye Spectral Response and Very Low IR Sensitivity
  • Temperature Stable
  • Scalable Output Voltage
  • Output with Low Fitler(<50Hz)

Specification

  • Supply Voltage: DC 3~5.5V
  • Operating Temperature: -40~80°C
  • Illumination Range: 1 – 800Lux
  • Output: analog voltage, 0 – 3.6V @VCC=5V
  • Module Size: 30 x 22mm

Pinout

Cable Color Description
black GND
red VCC
other output

Sample Code

void setup()
{
  Serial.begin(9600); // open serial port, set the baud rate to 9600 bps
}
void loop()
{
      int val;
      val=analogRead(0);      //connect sensor to Analog 0
      Serial.println(val);//print the value to serial
      delay(100);
}

FAQ

'''Q1. '''Some general Arduino Problems/ FAQ/ Tips, very good to know.

'''A1. '''Click the topic link on DFRobot Forum.

'''Q2. '''The unit of the output from these sensors is? How can I convert it to LUX?

'''A2. '''Well, it is only a simple analog sensor that could show you the relationship of the light intensity (within its detect range) and voltage (0-5V). If you want to transfer the voltage to unit in LUX, then well, it requires that you have a commercial Light Intensity Meter like this that can display LUX info, then you can match the readings to the sensor's analog reading, then you could a map to describe the relationship of voltage and ambient light density.

center For any question/advice/cool idea to share, please visit DFRobot Forum.

Clone this wiki locally