LIGHT DEPENDENT RESISTOR connection

Thread Starter

bhuvanesh

Joined Aug 10, 2013
268
if we connect ldr to one of analog input pin.does the change in resistance converted to digital value or the voltage which changes by potential divider circuit converted to digital value or niether.
 

ErnieM

Joined Apr 24, 2011
8,377
"Analog" may mean the pin connects to an "analog to digital converter." These A2D converters act like simple voltmeters, so they will sense " the voltage which changes by potential divider circuit" and convert that to a digital value.

If you correctly scale the divider you may get a useful conversion.
 

Thread Starter

bhuvanesh

Joined Aug 10, 2013
268
1)i have connected 3v dc supply ldr ant led in series

2)i have connected 3v dc supply with potential divider circuit by resistor and ldr and connected it to led

the second works good.does first one works
 

tracecom

Joined Apr 16, 2010
3,944
1)i have connected 3v dc supply ldr ant led in series

2)i have connected 3v dc supply with potential divider circuit by resistor and ldr and connected it to led

the second works good.does first one works
If you would post a schematic, more people could understand your question, and you would get better answers.
 

t06afre

Joined May 11, 2009
5,934
You also have a thread going on here http://forum.allaboutcircuits.com/showthread.php?t=93090 With almost the exact same question. I would not say it is site rule violation. But it is very confusing for other to help then you work this way. Then you create a thread in this forum. You are the owner of this thread. And you are free to take in any direction you want. So it would be perfectly OK. To start a thread asking on how to use a LDR, and then widen the topic some. And ask for help to connect this setup to micro in the same thread
 
Top