• Light Sensor - Grove
The Light sensor module uses the GL5528 photoresistor to detect the light intensity of the environment. The resistance of the sensor decreases when the light intensity of the environment increases. The chip LM358 is used as a voltage follower to enable you get a accurate data.

Features

  • Grove compatible interface
  • Wide supply voltage range: 3V-30V
  • Miniature HID part

Applications

  • Electronic toys
  • Light-control switch
  • Monitor

 

 
/*
/* Grove - Light Sensor demo v1.0
* 
* signal wire to A0.
* By: http://www.seeedstudio.com
*/
#include <math.h>
 
const int ledPin=12;                 //Connect the LED Grove module to Pin12, Digital 12
const int thresholdvalue=10;         //The threshold for which the LED should turn on. 
float Rsensor; //Resistance of sensor in K
void setup() {
  Serial.begin(9600);                //Start the Serial connection
  pinMode(ledPin,OUTPUT);            //Set the LED on Digital 12 as an OUTPUT
}
void loop() {
  int sensorValue = analogRead(0); 
  Rsensor=(float)(1023-sensorValue)*10/sensorValue;
  if(Rsensor > thresholdvalue)
  {
    digitalWrite(ledPin,HIGH);
  }
  else
  {
  digitalWrite(ledPin,LOW);
  }
  Serial.println("the analog read data is ");
  Serial.println(sensorValue);
  Serial.println("the sensor resistance is ");
  Serial.println(Rsensor,DEC);//show the light intensity on the serial monitor;
  delay(1000);
}

 

For all Grove users (especially beginners), we provide you guidance PDF documents. Please download and read through Preface - Getting Started and Introduction to Grove before your using of the product.

Light Sensor - Grove

  • Brand: Seeedstudio
  • Product Code: SEEED-101020014
  • Reward Points: 3
  • Availability: Out Of Stock
  • £4.33

  • Ex Tax: £3.61
  • Price in reward points: 100

Light Sensor - BH1750

Light Sensor - BH1750

£16.24

This is a BH1750 light intensity sensor breakout board with a 16 bit AD converter built-in which can ...

Qty: 5

Digital Light Sensor (Grove)

Digital Light Sensor (Grove)

£10.74

This module is based on the I2C light-to-digital converter TSL2561 to transform light intensity to a ...

Qty: 17

Light Sensor - BH1750 (.NET Gadgeteer Compatible)

Light Sensor - BH1750 (.NET Gadgeteer Compatible)

£15.56

This module carries a BH1750, which is a digital ambient light sensor with digital output in Lux ...

Qty: 1

Ambient Light Sensor - Analog

Ambient Light Sensor - Analog

£4.46

This new Analog Ambient Light Sensor helps you to detect the light density and report it back to the ...

Qty: 3

Grayscale Sensor - Analog - v2

Grayscale Sensor - Analog - v2

£5.60

DFRobot's new Analog Ambient Light Sensor

Qty: 1

SI1145 Digital UV Index / IR / Visible Light Sensor [1777]

SI1145 Digital UV Index / IR / Visible Light Sensor [1777]

£13.13

The SI1145 is a new sensor from SiLabs with a calibrated UV sensing algorithm that can calculate UV ...

Qty: 6

Light / Luminosity / Lux Digital Sensor Breakout - TSL2561 [439]

Light / Luminosity / Lux Digital Sensor Breakout - TSL2561 [439]

£6.90

The TSL2561 luminosity sensor is an advanced digital light sensor, ideal for use in a wide range of ...

Qty: 21

Luminance Sensor (Grove)

Luminance Sensor (Grove)

£7.46

Grove - Luminance Sensor using APDS-9002 as lumens Sensor, provides the linear transforms lumen ...

Qty: 3

Light Sensor - TSL2591 High Dynamic Range Digital Lux Sensor [1980]

Light Sensor - TSL2591 High Dynamic Range Digital Lux Sensor [1980]

£10.74

The TSL2591 luminosity sensor is an advanced digital light sensor, ideal for use in a wide range of ...

Out Of Stock

Analog Ambient Light Sensor - TEMT6000

Analog Ambient Light Sensor - TEMT6000

£8.38

A special ambient light detector (TMET6000) with spectral response that closely emulates the human ...

Qty: 1

Analog Light Sensor - LX1972

Analog Light Sensor - LX1972

£5.60

This analog light sensor uses LX1972 as its ambient light sensing part, with spectral response that ...

Qty: 5

Proximity/Light Sensor - VCNL4010 [466]

Proximity/Light Sensor - VCNL4010 [466]

£9.97

The VCNL4010 sensor is a nice way to add a small-distance proximity sensor to your microcontroller ...

Qty: 6

Analog Light Log-scale Sensor - GA1A12S202 [1384]

Analog Light Log-scale Sensor - GA1A12S202 [1384]

£5.27

The biggest improvement over plain photocells is a true log-lin relationship with light levels

Qty: 6

UV Sunlight Sensor (Grove)

UV Sunlight Sensor (Grove)

£13.14

Grove - Sunlight Sensor is a multi-channel digital light sensor with the ability to detect UV-light, ...

Qty: 7

Analog Light Sensor Breakout - ALS-PT19 [2748]

Analog Light Sensor Breakout - ALS-PT19 [2748]

£4.00

The ALS PT19 analog light sensor is a great way to upgrade a project that uses a photocell and needs ...

Qty: 6