3

I have been surfing the internet and my physics books for the relationship between the resistance of an LDR and light intensity (a formula), and so far I have found nothing.

If any of you have a formula and along with that a book I could cite, it would be helpful.

Neil_UK
  • 158,152
  • 3
  • 173
  • 387
Manessa
  • 31
  • 2

5 Answers5

5

There are many reasons why LDR's compared to Photo Diodes (PD) are a poor choice for measuring LUX.

  • process tolerance is wide with poor 3 sigma variance of results.
  • spectral sensitivity is mismatched to human eye.

PD's are more sensitive to IR yet very repeatable in sensitivity. Thus for camera and light meters, the solution uses a PD with a log amplifier to expand the dynamic range from 1 to 100k LUX and adds an optical filter to results in duplicating the human spectral response centred around 550 nm green.

Sharp has pioneered this technology decades ago and the technology is now licensed to the Vishay brand name. Mouser carries these but not Digikey at one time.

enter image description here

The dynamic current range can be changed to a linear output voltage by the choice of the load resistor. These come in many shapes and sizes. This one is 5mm plastic THT 3 pin with a lens.

Similar parts were also developed by Infineon .

Tony Stewart EE75
  • 1
  • 3
  • 54
  • 182
4

Lux doesn't measure intensity, it measures illuminance. That means it measures how bright a light looks to the human eye.

The relationship you are asking for will depend strongly on the wavelength, or spectrum, of the light being measured. For IR or UV light, the relationship will be undefined, since the illuminance of IR and UV sources is 0 (their output is invisible to the human eye) but they might still cause a change in resistance of your LDR.

The Photon
  • 126,425
  • 3
  • 159
  • 304
  • I wanted to design a lux meter with an arduino controller using an LDR to then collect data for the light intensity as a function of resistance. Is there anyway to do so? – Manessa Mar 07 '22 at 20:07
  • An "I2C light sensor" (google it) module is much easier to integrate into your system that a bunch of components. Considering that a LDR is more expensive than these modules. – D Duck Mar 08 '22 at 09:28
3

Typically the equation is

\$\frac {\log(R_A) - \log(R_B)}{ \log(E_A) - \log(E_B)} = \$ k

Where Ra and Rb are two resistances at illuminations Ea and Eb, and where the illumination spectrum is specified.

You can also simply extract an equation from the datasheet of a typical part such as this one. enter image description here

For which you can see that R = \$10^{1.905 - 0.5\log_{10}(E)}\$ (R in k\$\Omega\$)

Spehro Pefhany
  • 376,485
  • 21
  • 320
  • 842
2

I wanted to design a lux meter with an arduino controller using an LDR to then collect data for the light intensity as a function of resistance. Is there anyway to do so?

Measuring lux requires you to measure the spectrum of a light source. There is no way to do that with a LDR, so no this is not possible.

If you are ok with measuring intensity, then you can do that, although an LDR is a poor choice. You can also measure intensity and then assume a spectrum (e.g. sunlight). This will compound the measurement errors from using an LDR with errors in the actual (unknown) spectrum, but if you only want a very rough estimate that might work. If accuracy is important, you should look into buying a spectrometer.

user1850479
  • 14,842
  • 1
  • 21
  • 43
0

According to a lengthy discussion in the German Wikipedia of user:Rotkaeppchen68 it is according to an old German physics book like this:

there is a relationship between resistance R and illumination level E like this: $$R \sim E^{\frac{\log R_1 - \log R_2}{\log E_1 - \log E_2}}$$

U. Windl
  • 321
  • 1
  • 8
RRIDDICC
  • 31
  • 5