mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-02-04 23:52:18 +01:00
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:
parent
052f06d5d2
commit
3f3af5c500
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user