Lm393 Photosensitive Light Dependent Control Sensor Ldr Module
Rs. 24.00 Rs. 27.00
- Brand: http://www.token.com.tw/resistor/photo-cds.htm
- Product Code: SEN-LDR
- SKU -
- Availability: In Stock
- For Bulk Order 9962060070
Quick support on WhatsApp (+919962060070) only between morning 11am-4pm, no call will be answered
SPECIFICATIONS: | |
IC Chip | LM393 |
Input Voltage (V) | 3.3 to 5 |
OVERVIEW:
-LDR module 4 PIN
-Operating voltage 3.3V-5V
-Signal output indicator light.
-LDR module 4 PIN
-Able to detect ambient brightness and light intensity Adjustable sensitivity (via blue digital potentiometer adjustment)
PACKAGE INCLUDES:
1 PCS x Lm393 Photosensitive Light Dependent Control Sensor Ldr Module
http://www.token.com.tw/resistor/photo-cds.htm
//SOURCE CODE TAKEN FROM BELOW LINK
//https://create.arduino.cc/projecthub/kiranpaul/light-magic-using-lm393-and-arduino-uno-14eadc
void setup() {
pinMode(8,INPUT);
pinMode(9,OUTPUT);
Serial.begin(9600); //initialise serial monitor
}
void loop() {
int temp=digitalRead(8); //assign value of LDR sensor to a temporary variable
Serial.println("Intensity="); //print on serial monitor using ""
Serial.println(temp); //display output on serial monitor
delay(300);
if(temp==HIGH) //HIGH means,light got blocked
digitalWrite(9,HIGH); //if light is not present,LED on
else
digitalWrite(9,LOW); //if light is present,LED off
}
https://youtu.be/6OUAphleN-o
15 days