nodeMCU Power Problems

Hi friends,

I’m new for IoT, I used nodeMCU for my project and connected with some sensors(DHT11, Ultrasonic, Soil Moisture). I connected the “Ultrasonic sensor” with the nodeMCU “Vin” pin. the problem is, when I working with the laptop it was working fine, but connecting 5V DC adapter(it connected with AC power) the board is not powered on. When I unplugged the “Ultrasonic sensor” and switch on the adapter its working. please tell me the exact problem. I attached the circuit diagram also.

thanks in advance.

Can you measure the voltage at Vin, with and without the sensor? I don't think (not sure without checking), that the US sensor would be powered from Vin when your using the USB?