Update ltr501.rst (#4339)

in "proximity":
changed expression describing relation of counts to distance - never heard of "inversely exponential".

Should now be correct based on a physics-based intuition (radiation intensity drops with 1 over r^2 - so should the counts).
This commit is contained in:
Benno Pütz 2024-10-14 06:40:38 +02:00 committed by GitHub
parent 052f06d5d2
commit 3f3af5c500
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -110,7 +110,7 @@ Proximity sensing
-----------------
The proximity sensor has a built-in emitter and detector. The sensor detects reflected IR light from the emitter and
gives a raw count value inversely exponential to the distance. A decrease in the count value means an object is getting
gives a raw count value inversely proportional to the distance squared. A decrease in the count value means an object is getting
further away from the sensor (and vice-versa). Neither of the datasheets provide any information on how to convert
the raw count value to distance. The only way to do so is to test the sensor yourself and select the threshold
according to your needs and environment. Exact values will depend on the type of the object, its color and