Photo Resistor LDR 5528 5MM

৳ 5.00

Description: This is a 5mm diameter light sensor or LDR. A photocell changes (also called a photodetector, photo resistor, CdS or photoconductive cell) resistance depending on the amount of light it is exposed to. These little sensors make great ambient light triggers (when light in the room turns on, do something).


Maximum voltage: 150V, DC
Maximum wattage: 90mW
Operating temperature:  -30°C ~ 70°C
Spectral peak: 540nm
Bright resistance (10Lux) (KΩ): 5 – 10
Dark resistance: 0.5 MΩ
100λ10: 0.5
Response time: 20ms (Rise), 30ms (Down)
Resistance illumination: 2

Package Included:

1 X Photo Resistor LDR 5528 5MM


Picture of The Circuit

Sample Code

/* Use a photoresistor (or photocell) to turn on an LED in the dark
More info and circuit schematic: http://www.ardumotive.com/how-to-use-a-photoresistor-en.html
Dev: Michalis Vasilakis // Date: 8/6/2015 // www.ardumotive.com */

const int pResistor = A0; // Photoresistor at Arduino analog pin A0
const int ledPin=9; // Led pin at Arduino pin 9

int value; // Store value from photoresistor (0-1023)

void setup(){
pinMode(ledPin, OUTPUT); // Set lepPin – 9 pin as an output
pinMode(pResistor, INPUT);// Set pResistor – A0 pin as an input (optional)

void loop(){
value = analogRead(pResistor);

//You can change value “25”
if (value > 25){
digitalWrite(ledPin, LOW); //Turn led off
digitalWrite(ledPin, HIGH); //Turn led on

delay(500); //Small delay


Based on 0 reviews

0.0 overall

Be the first to review “Photo Resistor LDR 5528 5MM”

There are no reviews yet.