Working with Light Dependent Resistor (LDR)

Working with Light Dependent Resistor (LDR) © GPL3+

This illustrates the working with LDR

  • 17,113 views
  • 2 comments
  • 5 respects

Components and supplies

Apps and online services

About this project

  • Light Dependent Resistor (LDR) also known as Photoresistor.
  • This project demonstarate how to use LDR in Arduino.
  • The Value of LDR changes with the Light Exposed.
  • The Value of LDR is printed to Serial monitor.

Working with LDR

Code

CodeArduino
The program prints the value of LDR to Serial Monitor
const int LDR = A0;
int input_val = 0;

void setup()
{
  Serial.begin(9600);
}

void loop()
{
  input_val = analogRead(LDR);
  Serial.print("LDR Value is: ");
  Serial.println(input_val);
  delay(1000);
}

Schematics

Breadboard Diagram
Make connections as shown in the breadboard diagram
Working with ldr izfldcqdgn
Connections
The figure shows the close up of the connections
Working with ldr zoom k4eme1c94y

Comments

Similar projects you might like

Working with Shift Register

by SUMAN BARGAV R

  • 9,697 views
  • 4 comments
  • 10 respects

Ambient Light Sensor Using Photo Resistor and LED Lights!

Project tutorial by DCamino

  • 43,819 views
  • 9 comments
  • 34 respects

Motion and Light Dependent LEDs

Project in progress by Joaquim Silveira

  • 3,826 views
  • 2 comments
  • 13 respects

Light Sequence Creator

Project tutorial by Reid Paulhus

  • 19,738 views
  • 7 comments
  • 41 respects

Arduino Bluetooth Robot for Android Device

Project showcase by aip06

  • 7,808 views
  • 2 comments
  • 23 respects

Arduino Traffic Light Simulator

Project tutorial by Zachary Haslam

  • 78,602 views
  • 28 comments
  • 100 respects
Add projectSign up / Login