It looks like you leave Mode disconnected, and then it behaves just like an HC-SR04...
It does need to be powered off VBat/Vcc (not BAT_IN or 3v3).
@DrAzzy started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
It looks like you leave Mode disconnected, and then it behaves just like an HC-SR04...
It does need to be powered off VBat/Vcc (not BAT_IN or 3v3).