Skip to content

Commit

Permalink
Update ltr501.rst (#4339)
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
bennop authored Oct 14, 2024
1 parent 052f06d commit 3f3af5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/sensor/ltr501.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3f3af5c

Please sign in to comment.