Measure LDR Light with Microcontroller - 10bit Resolution

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
4 replies · 4K views
TheRedDevil18
Messages
406
Reaction score
2
I have a micro-controller with 10 bit resolution. How can I convert the voltage or digital output of the microcontroller to a Lux reading ?
 
Engineering news on Phys.org
Jony130 said:

I don't have a lux meter. I noticed proteus which is the software I use for simulation has one. What if I used that to find the relationship ?

I used a circuit like this and measured the voltage
luxMeasure.PNG


This is the curve I got
Curve.PNG


So if I find the equation of this curve, then given a voltage I can get the LUX value ?
 
Try to use a transimpedance Amplifier instead of voltage divider.
 
Jony130 said:
Try to use a transimpedance Amplifier instead of voltage divider.

What would be the benefit of using a transimpedance amplifier over the voltage divider ?, From what I've read, it converts current to voltage. I haven't studied this type of amplifier yet