Page 1 of 1

light depend resistor (ldr)

Posted: Tue Aug 23, 2016 8:40 am
by husennasrullah
Hi all,
How can i get the value of light intensity (Lux) with LDR sensor and raspberry pi ??
Thanks,,,,

Re: light depend resistor (ldr)

Posted: Tue Aug 23, 2016 9:06 am
by Major Tom
You'll need an analog-to-digital converter (ADC). The Pi does not have an analog input.

Here's one example:
http://www.raspberrypi-spy.co.uk/2013/1 ... n-mcp3008/