Objectives
- Interface soil moisture sensor and mini water pump with NodeMCU
Things
- NodeMCU board (quantity: 1 no.)
- Micro USB cable A to B (quantity: 1 no.)
- Breadboard (quantity: 1 no.)
- 12V mini water pump (quantity: 1 no.)
- Soil moisture sensor (quantity: 1 no.)
- Jumper wire – male to male (quantity: 6 no.)
- Jumper wire – male to female (quantity: 4 no.)
- Arduino IDE on your computer
Let’s begin!
Interfacing soil moisture sensor and mini water pump module with NodeMCU
Final Code
To copy the code, right click on view raw at the bottom of the code, click on open link in new tab and then copy the code.
0 responses on "Interface soil moisture sensor and water pump with NodeMCU"