Hi
I have a LDR (light-dependent resistor), the resistance of which falls linearly with increasing lux (light intensity) on a log-log scale.
On a log-log scale, the values increase in powers of 10, but I want to know the resistance value for each lux going up in steps of 1 (eg. 10 lux, 11 lux, 12 lux...), not it powers of 10 (eg. 10 lux, 20 lux, 30 lux, etc...)
Eg. If I want to display the light level in lux based on the LDRs resistance, the display would go something like (in lux):
0.1, 0.2, 0.3, ... ,0.9, 1.0, 2.0, 3.0, ... , 9.0, 10, 20, 30, ... ,90, 100, 200, 300..
This means when the display is reading 1000 lux, the actual light level is between 1000 to 1900 lux!
I don't think finding the gradient of the line helps, as the axes are log-log.
I want to know the resistance value (y-axis) for a given lux value (x-axis). This will allow me to display the values going up 1 lux at a time(eg. 10, 11, 12,... as oppose to 10, 20, 30....).
Thankyou
