About This Project

In this tutorial, we will be learning about IoT(Internet of Things) and how the Soil Moisture Monitoring System is used to receive a notification on Soil Moisturization. This tutorial will help us to know if water is required for a specific soil.

Project Info

  • Programming Platform: Arduino IDE
  • Difficulty: Intermediate
  • Estimated Time: 2 Hrs
  • Category: IoT

Introduction

This tutorial is about making a Soil Moisture Monitoring System using Arduino to know the status of moisture. Manually we pour water to keep soil moisture balanced. It’s not easy to waste time on a busy day and sometimes even forget to supply water. That is why we develop a smart monitoring system that can be controlled from our mobile phone through the NodeMCU ESP 12E module. When the soil gets dry a notification will be received on our mobile phone and then control the water pump from our mobile phone. This will save time a lot.

What is NodeMCU ESP 12E ?

NodeMCU ESP 12E is one of the major components of making IoT based soil moisture monitoring system using Arduino.

In NodeMCU ESP 12E, there are 30 pins in total, out of which there are 17 GPIO (General Purpose Input Output) pins. There are 9 digital pins ranging from D0-D8. It’s only one analog pin “A0” which is a 10 bit ADC. The “D0” pin can only be used to read or write data and can not perform other options. It is enabled when the EN pin is HIGH. When this pin is LOW the chip works at minimum power. The board has a 2.4 GHz antenna for a long range of network, the CP2102 is a USB to TTL converter. The development board equips the ESP 12E module, containing ESP8266 a chip having Tensilica Xtensa 32-bit, LX106 RISC microprocessor which can operate ranging from 80 to 160 MHz, and Clock Frequency can be adjusted.

It has 128KB RAM, and also 4MB of Flash memory for program and data storage just enough to cope with the large strings that makeup web pages. It is an Integrated board, equipped with 802.11/b/g/n HT40 WiFi transceiver, so it can not only connect to a WiFi network and interact with the Internet. The NodeMCU ESP 12E can also set up a network of its own and allow other devices to connect directly. Due to this, ESP8266 NodeMCU makes it more versatile.

Project: IoT-based Soil Moisture Monitoring System Using Arduino

Now that we have a clear understanding of the project and the components used, let’s start making Soil Moisture Monitoring System Using Arduino.

soil-motsture-notification

Components Required

IMAGE COMPONENT QUANTITY

mini-water-pump

Mini water pump

1

nodemcu-sp-12E

NodeMCU ESP 12E

1

Breadboard

Breadboard

1

cable-a-to-b

USB a to b

1

jumper-wire

Jumper Wires

As Per Required

water-container

Water Container

1

Soil Jar

1

Soil-Sensor

Soil Sensor

1

relay-motor-driver

Relay Motor Driver

1

Building Guide

Step 1: Assembly

  • Collect all the required components and place them on the breadboard.

soil-moisture-monitoring-system

Step 2: Input Connections for Soil Sensor:

  • NodeMCU digital pin-4 to digital pin of Soil Sensor. Sensor VCC pin to 5v power supply pin of NodeMCU, GND to GND.
  • Input Connections for relay driver: NodeMCU digital pin-D0 to the relay motor driver pin 1 and GND to GND.
  • Output pin connections for water pump: Connect the water pump terminals to the relay motor driver output pins.

connect-soil-moisture-monitoring-system

Step 3: When all the connections are done, start the coding.

CODING:

IoT-based-soil-moisture-monitoring-system-coding

However, we can see the default authentication code in the default programming. Therefore, to change the authentication code, go to the Blynk App and create a new project. Now, generate an authentication code by entering an email ID to receive a new code.

creat-new-project-for-soil-mosture

  • When we receive a new code from an email, change the default code with the new one.

connect-code-from-the-mail

Step 4: Replace the default code with the new code and upload the program.

Step 5: Go to the Blynk App, and change the necessary settings to control the relay controller.

control-the-relay-controller
soil-notification

When the soil has no moisture we will receive a notification through the Blynk App using the soil moisture monitoring system Therefore, we can control the relay driver to start the motor directly using this app without further wasting our time going to the field.

Do get your hands-on making soil moisture monitoring system using Arduino and let us know how it went. Leave your comments below.

Code

DESCRIPTION

DOWNLOAD CODE

Soil Moisture Monitoring System Using Arduino


Download Code

Libraries

Blynk Library Master


Download Code

About the author : adminBix

Leave A Comment

Related Posts

    Coding is generally considered a boring activity. After all, who wants to sit in front of a computer all day writing in a language that can’t even be read? But that is not all there is to code. It can be used for some really fun coding facts stuff, and there is so much amazing work that you can do only if you knew how to code.

    5 Coding Facts That Blow Your Mind

    Let us look at five great fun coding facts you might not know about coding.

    You Can Make Games With Code

    Coding is an umbrella term for the scores of languages and their versions that programmers use to make their applications. We have all played games, on consoles, our mobile phones, or our desktop computers and laptops, at some point in our life. It might not surprise you to know that these games are also created using code. The complex physics of the characters in these games, the design of the environment of the games, and each minute movement in the games have a piece of code behind them.

    Game designers typically write in languages such as C++, C#, and Java. These are also some of the most popular kids coding languages, especially for children who like gaming. Coding courses are available widely in all of these languages and the broad domain of game design.

    You Do Better At School If You Code

    Making games and indulging in the fun applications of coding is all fine, but coding can have great advantages at school as well. Once you start taking classes that teach coding for kids, you will realize that coding requires a lot of brainpower as well. Coding even for the most fun tasks requires you to think quite a bit, and this sharpens your mind and increases your capability to think logically.

    This logical capability can be of a lot of use to you at school. Especially in subjects like mathematics, you might find yourself topping the class simply because of the practice you got during coding! In fact, coding and mathematics have a kind of symbiotic relationship – what you learn in maths comes of use in code and vice versa.

    You Can Follow Your Interest Using Coding

    Regardless of what your favorite subject is, or what fields you are interested in, you will find a use for code everywhere. Be it through developing software, creating an all-new app, making a game, or building a simple utility, you will find that coding facts can be a way to enable you to follow your interests through a different path.

    All subjects from science to social studies and from mathematics to philosophy use coding in some way for research or education. Be it sports or music, art or architecture, utilities that are made using code are prevalent in every field that you can think of. Taking simple online coding courses can qualify you and build your interest in creating such utilities.

    You Can Predict Future Events Through Code

    Did you know that predicting the future is an application of coding! Predictive modeling is a field of programming in which code is used to try and predict what will happen in the future on the basis of events that took place in the past. It uses concepts of artificial intelligence and machine learning to create algorithms that learn the behavior of past data and determine the course of future data.

    Predictive modeling is one of the most futuristic applications of code and is used to determine everything from the next movie you will like on Netflix to whether it will rain tomorrow. You can opt for closing classes in machine learning to know more about the field, and create your own utilities to predict the future!

    Coding Is Free!

    You don’t need any sophisticated apparatus except your laptop for coding. All you need is the will to learn more and follow your interests through code. To learn to code you do not need to go to a special school or have any special capabilities. You can opt for free coding classes for kids which are held completely online and follow a completely hands-off approach in helping kids learn to code. There are also a vast number of coding sites for kids on which they can log in to learn basic coding facts for kids without even having to enroll in a class.

    Conclusion

    The future is already being written, and it is being written in code. Coding for kids classes can help kids of all ages currently going to school not just learn to code but also to have fun in the process. The above applications of code can be a major stepping stone to build the interest of kids in coding, after which they can hone their interests and new skills on even more advanced applications. A platform such as Learningbix can be an excellent way for you to get started.

    Coding is generally considered a boring activity. After all, who wants to sit in front of a computer all day writing in a language that can’t even be read? But that is not all there is to code. It can be used for some really fun coding facts stuff, and there is so much amazing work that you can do only if you knew how to code.

    5 Coding Facts That Blow Your Mind

    Let us look at five great fun coding facts you might not know about coding.

    You Can Make Games With Code

    Coding is an umbrella term for the scores of languages and their versions that programmers use to make their applications. We have all played games, on consoles, our mobile phones, or our desktop computers and laptops, at some point in our life. It might not surprise you to know that these games are also created using code. The complex physics of the characters in these games, the design of the environment of the games, and each minute movement in the games have a piece of code behind them.

    Game designers typically write in languages such as C++, C#, and Java. These are also some of the most popular kids coding languages, especially for children who like gaming. Coding courses are available widely in all of these languages and the broad domain of game design.

    You Do Better At School If You Code

    Making games and indulging in the fun applications of coding is all fine, but coding can have great advantages at school as well. Once you start taking classes that teach coding for kids, you will realize that coding requires a lot of brainpower as well. Coding even for the most fun tasks requires you to think quite a bit, and this sharpens your mind and increases your capability to think logically.

    This logical capability can be of a lot of use to you at school. Especially in subjects like mathematics, you might find yourself topping the class simply because of the practice you got during coding! In fact, coding and mathematics have a kind of symbiotic relationship – what you learn in maths comes of use in code and vice versa.

    You Can Follow Your Interest Using Coding

    Regardless of what your favorite subject is, or what fields you are interested in, you will find a use for code everywhere. Be it through developing software, creating an all-new app, making a game, or building a simple utility, you will find that coding facts can be a way to enable you to follow your interests through a different path.

    All subjects from science to social studies and from mathematics to philosophy use coding in some way for research or education. Be it sports or music, art or architecture, utilities that are made using code are prevalent in every field that you can think of. Taking simple online coding courses can qualify you and build your interest in creating such utilities.

    You Can Predict Future Events Through Code

    Did you know that predicting the future is an application of coding! Predictive modeling is a field of programming in which code is used to try and predict what will happen in the future on the basis of events that took place in the past. It uses concepts of artificial intelligence and machine learning to create algorithms that learn the behavior of past data and determine the course of future data.

    Predictive modeling is one of the most futuristic applications of code and is used to determine everything from the next movie you will like on Netflix to whether it will rain tomorrow. You can opt for closing classes in machine learning to know more about the field, and create your own utilities to predict the future!

    Coding Is Free!

    You don’t need any sophisticated apparatus except your laptop for coding. All you need is the will to learn more and follow your interests through code. To learn to code you do not need to go to a special school or have any special capabilities. You can opt for free coding classes for kids which are held completely online and follow a completely hands-off approach in helping kids learn to code. There are also a vast number of coding sites for kids on which they can log in to learn basic coding facts for kids without even having to enroll in a class.

    Conclusion

    The future is already being written, and it is being written in code. Coding for kids classes can help kids of all ages currently going to school not just learn to code but also to have fun in the process. The above applications of code can be a major stepping stone to build the interest of kids in coding, after which they can hone their interests and new skills on even more advanced applications. A platform such as Learningbix can be an excellent way for you to get started.

    Coding is generally considered a boring activity. After all, who wants to sit in front of a computer all day writing in a language that can’t even be read? But that is not all there is to code. It can be used for some really fun coding facts stuff, and there is so much amazing work that you can do only if you knew how to code.

    5 Coding Facts That Blow Your Mind

    Let us look at five great fun coding facts you might not know about coding.

    You Can Make Games With Code

    Coding is an umbrella term for the scores of languages and their versions that programmers use to make their applications. We have all played games, on consoles, our mobile phones, or our desktop computers and laptops, at some point in our life. It might not surprise you to know that these games are also created using code. The complex physics of the characters in these games, the design of the environment of the games, and each minute movement in the games have a piece of code behind them.

    Game designers typically write in languages such as C++, C#, and Java. These are also some of the most popular kids coding languages, especially for children who like gaming. Coding courses are available widely in all of these languages and the broad domain of game design.

    You Do Better At School If You Code

    Making games and indulging in the fun applications of coding is all fine, but coding can have great advantages at school as well. Once you start taking classes that teach coding for kids, you will realize that coding requires a lot of brainpower as well. Coding even for the most fun tasks requires you to think quite a bit, and this sharpens your mind and increases your capability to think logically.

    This logical capability can be of a lot of use to you at school. Especially in subjects like mathematics, you might find yourself topping the class simply because of the practice you got during coding! In fact, coding and mathematics have a kind of symbiotic relationship – what you learn in maths comes of use in code and vice versa.

    You Can Follow Your Interest Using Coding

    Regardless of what your favorite subject is, or what fields you are interested in, you will find a use for code everywhere. Be it through developing software, creating an all-new app, making a game, or building a simple utility, you will find that coding facts can be a way to enable you to follow your interests through a different path.

    All subjects from science to social studies and from mathematics to philosophy use coding in some way for research or education. Be it sports or music, art or architecture, utilities that are made using code are prevalent in every field that you can think of. Taking simple online coding courses can qualify you and build your interest in creating such utilities.

    You Can Predict Future Events Through Code

    Did you know that predicting the future is an application of coding! Predictive modeling is a field of programming in which code is used to try and predict what will happen in the future on the basis of events that took place in the past. It uses concepts of artificial intelligence and machine learning to create algorithms that learn the behavior of past data and determine the course of future data.

    Predictive modeling is one of the most futuristic applications of code and is used to determine everything from the next movie you will like on Netflix to whether it will rain tomorrow. You can opt for closing classes in machine learning to know more about the field, and create your own utilities to predict the future!

    Coding Is Free!

    You don’t need any sophisticated apparatus except your laptop for coding. All you need is the will to learn more and follow your interests through code. To learn to code you do not need to go to a special school or have any special capabilities. You can opt for free coding classes for kids which are held completely online and follow a completely hands-off approach in helping kids learn to code. There are also a vast number of coding sites for kids on which they can log in to learn basic coding facts for kids without even having to enroll in a class.

    Conclusion

    The future is already being written, and it is being written in code. Coding for kids classes can help kids of all ages currently going to school not just learn to code but also to have fun in the process. The above applications of code can be a major stepping stone to build the interest of kids in coding, after which they can hone their interests and new skills on even more advanced applications. A platform such as Learningbix can be an excellent way for you to get started.