# Photoresistor unit measurement

**URL:** <https://forum.arduino.cc/t/photoresistor-unit-measurement/924373>\
**Category:** General Electronics\
**Created:** [November 12, 2021, 2:15pm UTC](https://forum.arduino.cc/t/photoresistor-unit-measurement/924373 "2021-11-12T14:15:37Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrealorenzetti123321](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@andrealorenzetti123321](https://forum.arduino.cc/u/andrealorenzetti123321)\
**Post date:** [November 12, 2021, 2:15pm UTC](https://forum.arduino.cc/t/photoresistor-unit-measurement/924373/1 "2021-11-12T14:15:37Z")

</div>

Hi everyone, i am trying to read the brightness intensity of a light with a photoresistor in series with a 2kHom reisistor and when i read from the analogRead a number between 0 and 1023 but I does not understand what this value means and what is the unit measurement of this value.  
In addition I tried to change the resistor in series and i get other values at the same conditions so i think that this value is realted to the voltage splitter.

I want to convert the value that i get into something like lumens.

---

<div class="post-metadata">

**Author:** ![Idahowalker](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/idahowalker/32/238858_2.png) [@Idahowalker](https://forum.arduino.cc/u/Idahowalker)\
**Post date:** [November 12, 2021, 2:19pm UTC](https://forum.arduino.cc/t/photoresistor-unit-measurement/924373/2 "2021-11-12T14:19:02Z")

</div>

Using words like "arduino measure light intensity" in an internet search would yield some results that should be interesting.

---

<div class="post-metadata">

**Author:** ![J-M-L](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/j-m-l/32/766245_2.png) [@J-M-L](https://forum.arduino.cc/u/J-M-L)\
**Post date:** [November 12, 2021, 2:26pm UTC](https://forum.arduino.cc/t/photoresistor-unit-measurement/924373/3 "2021-11-12T14:26:11Z")

</div>

a quick search in the forum would give you some ideas

> [@Using LDR (photoresistor) to mesure lumen](https://forum.arduino.cc/t/using-ldr-photoresistor-to-mesure-lumen/538837):
>
> Hey people, i want to mesure the amount of lumen with a ldr. I also have a 10k resistor. How can i transfrer the data from analgRead(); to the amount of lumen? note: lux is often confused with lumen, but lux is amount of lumen per square Great thanks if you have an answer for me! (link or propper code would be nice)

---

<div class="post-metadata">

**Author:** ![dlloyd](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/dlloyd/32/751911_2.png) [@dlloyd](https://forum.arduino.cc/u/dlloyd)\
**Post date:** [November 12, 2021, 11:30pm UTC](https://forum.arduino.cc/t/photoresistor-unit-measurement/924373/4 "2021-11-12T23:30:27Z")

</div>

The datasheet for your LDR should have some useful information with graphs like "resistance as a function of illumination".

I think this [Adafruit Learning System about Photocells](https://www.mouser.com/datasheet/2/737/photocells-932884.pdf) shows what you're looking for.

---

<div class="post-metadata">

**Author:** ![anon57585045](https://avatars.discourse-cdn.com/v4/letter/a/ed8c4c/32.png) [@anon57585045](https://forum.arduino.cc/u/anon57585045)\
**Post date:** [November 12, 2021, 11:41pm UTC](https://forum.arduino.cc/t/photoresistor-unit-measurement/924373/5 "2021-11-12T23:41:28Z")

</div>

> [@andrealorenzetti123321](#):
>
> I want to convert the value that i get into something like lumens.

At what wavelength?

---

<div class="post-metadata">

**Author:** ![red\_car](https://avatars.discourse-cdn.com/v4/letter/r/b77776/32.png) [@red\_car](https://forum.arduino.cc/u/red_car)\
**Post date:** [November 13, 2021, 12:44am UTC](https://forum.arduino.cc/t/photoresistor-unit-measurement/924373/6 "2021-11-13T00:44:18Z")

</div>

Usually a photo resistor is used in a circuit like below. As the light changes, so does the resistance, and therefore the voltage at Vout.

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/9/2/4/9240825d7aa362b08d6c7463563fb820799993c6.png)

and you typically are measuring Vout with an analog input pin.

Analog pin values are expressed as a comparison between the voltage received and a reference voltage (Aref)... this is typically 5v (if you're using an Uno for example).

So at 5v you will get a reading of 1023.. and at 0v you will get 0.

---

<div class="post-metadata">

**Author:** ![anon94801460](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@anon94801460](https://forum.arduino.cc/u/anon94801460)\
**Post date:** [November 13, 2021, 1:43am UTC](https://forum.arduino.cc/t/photoresistor-unit-measurement/924373/7 "2021-11-13T01:43:47Z")

</div>

> [@andrealorenzetti123321](#):
>
> I want to convert the value that i get into something like lumens.

Do that by comparing the output of the Arduino device to that of a calibrated light meter, for a range of illumination levels. That will give you enough data to fit a calibration curve.

The curve will be valid only for the type of illumination you use (fluorescent and incandescent illumination are very different).

General overview of sensor calibration: [Why Calibrate? | Calibrating Sensors | Adafruit Learning System](https://learn.adafruit.com/calibrating-sensors)

---

<div class="post-metadata">

**Author:** ![MarkT](https://avatars.discourse-cdn.com/v4/letter/m/c89c15/32.png) [@MarkT](https://forum.arduino.cc/u/MarkT)\
**Post date:** [November 13, 2021, 2:52am UTC](https://forum.arduino.cc/t/photoresistor-unit-measurement/924373/8 "2021-11-13T02:52:42Z")

</div>

If you want to measure light a photodiode is much more stable and reliable component than a photoresistor.

---

<div class="post-metadata">

**Author:** ![johnerrington](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/johnerrington/32/340106_2.png) [@johnerrington](https://forum.arduino.cc/u/johnerrington)\
**Post date:** [November 14, 2021, 7:25am UTC](https://forum.arduino.cc/t/photoresistor-unit-measurement/924373/9 "2021-11-14T07:25:29Z")

</div>

> [@Using Operational Amplifiers in your Arduino project](https://forum.arduino.cc/t/using-operational-amplifiers-in-your-arduino-project/692648/5):
>
> 4: Using Op Amps: A Practical example Measuring light level with a photodiode Photodiodes are used in many every day electronic devices such as cameras, smoke detectors, burglar alarms, safety equipment, medical applications, CD players and surveying instruments. They can be used to detect a wide range of electromagnetic radiation, from infra-red through the visible to ultraviolet and even x-rays. They aren't just for visible light. How they work When a photon (a bit of light or other EM wav…

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/system/32/1140315_2.png) [@system](https://forum.arduino.cc/u/system)\
**Post date:** [May 13, 2022, 7:26am UTC](https://forum.arduino.cc/t/photoresistor-unit-measurement/924373/10 "2022-05-13T07:26:25Z")

</div>

Closed on May 13, 2022, 7:26am UTC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
