Timeline for Interpreting 10-bit ADC output
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 15, 2019 at 14:44 | vote | accept | Tuomas Talvitie | ||
Sep 26, 2019 at 16:26 | comment | added | Fred | @TuomasTalvitie If you have that exact sensor module, it includes the resistor going between ground and the analog pin as I've described. In that case, all you need to do to calculate Lux then should be to follow the equations as I've already outlined. startingelectronics.org/pinout/photo-resistor gives the resistance range as 80 to 20M ohms which is larger than the range of the datasheet I linked, but going by allaboutcircuits.com/projects/… which has a similar formula, it should be close enough. | |
Sep 26, 2019 at 12:50 | comment | added | tlfong01 | @Fred, Your formula (lux = exp((ln(R/...) - ...)/ ...)) is very good, reminding me the relation between "exp" and "ln", which I never thoroughly understood. | |
Sep 26, 2019 at 11:52 | comment | added | Tuomas Talvitie | Thanks! Great Answer, one issue is that I connected it without any resistors. All I did was take this [link] (startingelectronics.org/tutorials/arduino/modules/…) stick the appropriate pins in (AO, ground, 5v). The reason I avoided resistors is because I thought one was built into the sensor itself. IS this okay? How would I go about calculating lux from there? | |
Sep 26, 2019 at 8:17 | history | answered | Fred | CC BY-SA 4.0 |