NodeMCU, ESP3*** 2, ultrasonic sensor

Hello.

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:

  1. there is not enough current supplying the sensor or 2. the node mcu is not good at capturing the length of the echo pulse.

has anyone used such sensor with nodemcu ?

Or 3. The board isn't supplying adequate voltage to operate the sensor.

nodemcu gives a 4.83V while the UNO gives 5.15.

Maybe that could be a problem… need to check on the sensor spec side

You'll need a resistive divider on the echo signal.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.