Working with Light Dependent Resistor (LDR)

Working with Light Dependent Resistor (LDR) © GPL3+

This illustrates the working with LDR

  • 250 views
  • 1 comment
  • 1 respect

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 SBR

  • 1,069 views
  • 1 comment
  • 4 respects

Ambient Light Sensor Using Photo Resistor and LED Lights!

Project tutorial by DCamino

  • 5,335 views
  • 4 comments
  • 19 respects

Light Sequence Creator

Project tutorial by Reid Paulhus

  • 8,415 views
  • 2 comments
  • 19 respects

Arduino Bluetooth Robot for Android Device

Project showcase by

  • 2,826 views
  • 1 comment
  • 15 respects

Turn On and Off LED by LDR (Toggle LDR)

Project showcase by muhammed amar slik

  • 32,838 views
  • 2 comments
  • 18 respects

Arduino Traffic Light Simulator

Project tutorial by Zachary Haslam

  • 10,791 views
  • 3 comments
  • 27 respects
Add projectSign up / Login