I am trying to use an ultrasonic sensor (water resistent JSN-SRT04 with nodemcu... the same sensor would work fine with the arduino boards but not with the node mcu. I was thinking of 2 potential scenarios:
there is not enough current supplying the sensor or 2. the node mcu is not good at capturing the length of the echo pulse.