Measure LDR Light with Microcontroller - 10bit Resolution

Click For Summary
To convert the output of a 10-bit microcontroller to Lux readings, one can analyze the relationship between measured voltage and Lux using simulation software like Proteus. The user has already created a curve from voltage measurements and seeks to derive an equation to correlate voltage to Lux values. A suggestion was made to use a transimpedance amplifier instead of a voltage divider, as it converts current to voltage, potentially improving measurement accuracy. The benefits of using a transimpedance amplifier include better performance in low-light conditions and increased sensitivity. Understanding the transimpedance amplifier's function will be crucial for implementing this approach effectively.
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
 
Thread 'I thought it was only Amazon that sold unsafe junk'
I grabbed an under cabinet LED light today at a big box store. Nothing special. 18 inches in length and made to plug several lights together. Here is a pic of the power cord: The drawing on the box led me to believe that it would accept a standard IEC cord which surprised me. But it's a variation of it. I didn't try it, but I would assume you could plug a standard IEC cord into this and have a double male cord AKA suicide cord. And to boot, it's likely going to reverse the hot and...

Similar threads

  • · Replies 11 ·
Replies
11
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
Replies
6
Views
1K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 34 ·
2
Replies
34
Views
5K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K