My apologies for a very simple question! Is there a unit of measurement for the proximity sensor readings?
Thanks in advance!
My apologies for a very simple question! Is there a unit of measurement for the proximity sensor readings?
Thanks in advance!
Which sensor are you asking about? Most of the Python scripts for the various sensors output in mm.
Thanks. I am talking about the results coming out of EnviroPlus HAT. I am using the Piromani Python Library to get the data.
The prox sensor on the EnviroPlus HAT works by sending out a light pulse and measuring the light level reflected back. The result is not in a length unit but simply a light level. If you’re looking to do more precise distance measurement you might want to look at: