Soil moisture sensor with Node mcu Notifications from Blynk

Hardware Components

NodeMCU
Moisture sensor
Breadboarda
Jumper Wires
Micro USB Cable
Software Components

Arduino IDE (installed with esp8266)

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.”

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.

Wiring the Moisture sensor to the NodeMCU is really easy.

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.

After downloading the Arduino IDE navigate to

File tab and then click on Preferences.
In the additional Boards, Manager URLs add the following link (http://arduino.esp8266.com/stable/package_esp8266com_index.json)
Click OK and then navigate to
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.

Add Tip

Goto Tools

Board > NodeMCU 1.0 (ESP – 12E Module)
Port ( Choose the right Port )
Make sure you have your NodeMCU model selected and the correct serial port ticked (see pics). Then just click the Upload button

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.

After your completed with wiring connections, then insert the sensor into the soil or place it in anywhere you

You can see the serial monitor for the output reference. And I have interfaced LEDs to make the Instructable more attractive. You can also interface with any thing to make your project become AWESOME.

That’s all makers!

I hope you found this instructable most useful.

You can contact me by leaving a comment. If you like this instructable probably you might like my next ones.

Thank You.