Fouad_Roboticist
Published

Light Detecting

Through this project we'll be able to read analog value from LDR ( Light Dependant Resistor ) in order to detect the intensity of light

BeginnerFull instructions provided750
Light Detecting

Things used in this project

Hardware components

Arduino UNO & Genuino UNO
Arduino UNO & Genuino UNO
×1
SparkFun PHOTOSENSTITIVE LIGHT SENSOR (ANALOG)
×1

Software apps and online services

Arduino IDE
Arduino IDE

Hand tools and fabrication machines

Premium Female/Male Extension Jumper Wires, 40 x 6" (150mm)
Premium Female/Male Extension Jumper Wires, 40 x 6" (150mm)

Story

Read more

Custom parts and enclosures

Components Required

Connecting Hardware

Collecting Data

Serial Monitor , Analog values of LDR sensor Module represents the Intensity Of Light

Schematics

Circuit Diagram

VCC- 5V Arduino
GND - GND Arduino
A0- A0 Arduino

Code

LDR.ino

Arduino
void setup()

{

Serial.begin(9600);

}

void loop()

{

unsigned int IntensityOfLight;

IntensityOfLight = analogRead(A0);

Serial.print("Intensity Of Light : ");

Serial.println(IntensityOfLight);

delay ( 1000 );
}

Credits

Fouad_Roboticist

Fouad_Roboticist

1 project • 1 follower

Comments