f0dist - Wireless Distance sensor OSC
Yet another simple wireless sensor circuit that sends Open Sound Control messages. Here the sensor is the VL53L1X time-of-flight laser module and the microcontroller an ESP8266-01 - all powered by two AA batteries.
There are settings for smoothing, update rate and thresholds which can be controlled by sending OSC messages to the ESP module. See the examples.
Under optimal conditions the sensor can measure accurately up to 4 meters, but in practice I found the maximal range to be more around 3 meters. Speed and precision is fantastic though. It reacts very fast and with millimeter resolution.
Attached below are examples for SuperCollider and MaxMSPJitter, schematics and the firmware (PlatformIO).