Monday 1 February 2016

Interfacing ldr with arduino uno

Interfacing LDR with Arduino Uno:-

What is a ldr?

LDR is short form of light dependent resistor. Basically it changes its resistance when subjected to light intensity. Ldr has layer of Cadmium Sulphide (CdS) on it. CdS change its resistance in accordance to intensity of light.

LDR- Light dependent resistor

Arduino ldr interfacing
Arduino code for ldr interfacing:


Arduino code for ldr interfacing

Output using serial window:

Output 

We can also display the output on 7 segment diaplay or lcd.

Ldr has a number of applications like night saver lamp and night vision camera.

Hope you guys will like it.

Stay tuned for more updates !!


No comments:

Post a Comment