

An all-or-nothing distance sensor is also known as a "digital", on/off, switch or integrated threshold sensor. Its data responses are :
It is based on a Sharp GP2Y0D02YK0F module. It can be used as:
Just like its gradual counterparts, the all-or-nothing proximity sensor is connected to the three-point analog inputs of our sensor interface boards, and not to the switch inputs (known as digital inputs). This is because the sensor is not a dry-switch, and requires a 5V power supply.
Approximately 24 measurements per second
The on/off proximity sensor reacts at a precise target distance (80 cm), which is set by the sensitive module itself. This switching distance cannot be altered.
Our version is fitted with an electronic board just like our sensors with analog modules, which provides a full-range response (0/127 in Midi, 0/4096 in Extended Midi, 0/4096 in OSC, etc.) and is denoised. If one does not use this technique and one plugs the module directly, the range goes from a low value but not 0 and a high value but not maximum.
Fastening can be done by a screw in the holes on each side.
This video was shot with another all-or-nothing optical sensor, but the principle of application is the same as with this sensor: detection of a hand less than 80 cm away enables the light to be acted upon. The video also shows how to reverse the sensor's behavior.
You might also like