Soil Moisture Sensor Using Node Mcu
Soil Moisture Sensor Using Node Mcu
This Moisture Sensor can be used for detecting the moisture of soil or judge if there is
water around the sensor, let the plant in your garden able to reach out for human’s help
when they are thirsty.
This sensor is very easy to use, you can just simply insert in into the soil and read the
data. With this sensor, you can make a small project that can let the plant send a
message to you like ” I am thirsty now, please feed me some water.”
PROCEDURE:
Step-1:
The wiring connections are made as follows:
Connect the two pins of the moisture sensor to
the two pins on the Amplifier circuit using
jumper wires.
Connect the Vcc from the Amplifier to
the 3.3V pin on the NodeMCU.
Connect the GND pin to the ground (GND) pin on
the NodeMCU.
Connect the Analog pin to the A0 pin on the
NodeMCU.
Connect NodeMCU to PC via a USB cable.
Step-2:Preparing the Arduino IDE
Selecting port as COM7
After downloading the Arduino IDE navigate to
1.File tab and then click on Preferences.
2.Tools - Boards - Boards Manager
In the search field type esp8266 > click the esp8266 by ESP8266
Community - Click Install
Now you have setup the Arduino IDE to work along with the NodeMCU.
Step 3: Save * Compile * Upload
RESULT : Thus,To study about interfacing soil moisture sensor using node MCU is successfully
performed