How do I connect an external water pump and external power?
Posted: Mon Aug 21, 2017 3:20 pm
I'm currently running a moisture sensor and a DHT22 (humidity+temp) with my NodeMCU.
I want to add a water pump that runs on 4.5V-6V along with an external battery.
Since there is no 5V pin on the NodeMCU I'm wondering how I can power and control the water pump?
I've got a normal relay that I thought might be of help? Like the one in the image attached to this post.
So my concern right now is one, how do I power everything when connected to the PC and programming/testing.
And how do I power everything with an external power supply?
I've got a 5V 2.1A DC external power supply that has a micro USB connection that I thought I could connect directly to the NodeMCU, but I don't think this will work right? Since it only runs 3.3V.
Any and all help is greatly appreciated!
I want to add a water pump that runs on 4.5V-6V along with an external battery.
Since there is no 5V pin on the NodeMCU I'm wondering how I can power and control the water pump?
I've got a normal relay that I thought might be of help? Like the one in the image attached to this post.
So my concern right now is one, how do I power everything when connected to the PC and programming/testing.
And how do I power everything with an external power supply?
I've got a 5V 2.1A DC external power supply that has a micro USB connection that I thought I could connect directly to the NodeMCU, but I don't think this will work right? Since it only runs 3.3V.
Any and all help is greatly appreciated!