Author Options:

Nodemcu esp8266 possible to connect multiple soil moisture sensors ? Answered

I'm planning to make automation of my garden to check moisture, temperature, etc.. I got a query is there any possibility to connect multiple soil moistures to one nodemcu. If possible then please help me understand how to design it.



3 months ago

I'm not an expert but I'll try to help - it looks like a typical soil moisture sensor has 3 leads - +, - and a signal line.

To conserve pins I would break out the + and - onto a bus of some kind to power them all in common and then you should be able to have as many sensors as you have GPIO pins open. You'll have to refer to the pinout diagram for your board to know which those are since there are different versions of the NodeMCU.