-->
Page 1 of 1

How to power my nodeMCU and water pump?

PostPosted: Mon Aug 21, 2017 1:03 pm
by GurkanG
Hello guys!


I've currently got a setup going where im trying to automate some watering of my plants.

I have an nodemcu thats is collecting data from a DHT22 sensor aswell as a moisture sensor.

These are both running of the 3.3V pin output.


But now I want to connect a water pump that wants 5V power.

So far I've been running everything with the usb cable from the PC while programming and fiddling with everything.


But now that I want to power the pump I'm wondering how I can do this. Both from the PC and with an external power source.


I have a relay module like this one:
https://www.kjell.com/se/sortiment/el-v ... -1x-p87878

That I can use. but i'm not really sure how to connect everything.

Because I can't connect the powersupply directly to the nodemcu and power the waterpump through that right? Since there is no 5V output on it.

So how do I actually connect everything?

I have an external power supply that is 5V 2.1A output which has a micro USB connection on the other end, it would seem this is perfect for the setup I have if I could just connect this directly to the nodemcu.


Any and all advice is greatly appreciated!

Re: How to power my nodeMCU and water pump?

PostPosted: Tue Aug 22, 2017 4:30 pm
by QuickFix
Please don't cross/double post; see my answer in your other thread. :idea: