@peekay123 I played with your modified library and was not able to figure out how to get the interrupt to work at less than 250mm. It would work to trigger the interrupt between 250-1750mm though.
The sensors are cool but not quite what I was looking for so I’ll keep checking for new libraries for this sensor on the web as time passes.
Panasonic ultra low power PIR sensors https://www.mouser.com/new/panasonic/panasonicpapir/
@bpr @ScruffR @peekay123 I did come across a new ultra low power PIR sensors tonight made by Panasonic that detects motion up to 5 or 12 meters depending on which version you get.
While expensive, these sensors are really nice and compact. They are available in black/white and come in several variants, the lowest power being 1uA, 2uA and 6uA. Also there are long range (12m) and short range (5m).
So these look like a good low power security sensor that can be used to wake up a Photon or Electron and which would allow you to use the VL53L0X sensor in regular mode if you still wanted to measure the distance of something after the PIR sensor wakes up the Photon/Electron. Interesting!