
An automated irrigation system using a soil moisture sensor can save you a significant amount of water and reduce your water bill.
By installing a soil moisture sensor, you can determine the exact amount of water your plants need, eliminating the need for guesswork and overwatering.
This system allows you to water your plants at the optimal time, which can be during early morning or late evening when the temperature is cooler.
According to a study, plants watered with an automated irrigation system using a soil moisture sensor can reduce water consumption by up to 50%.
Take a look at this: Irrigation Sprinkler Head Leaking
Materials and Supplies
To build an automated irrigation system using a soil moisture sensor, you'll need the following materials and supplies.
The required materials include an Arduino Nano, a soil moisture sensor, a 5v relay module, a mini water pump with small pipe, connecting wires, and a 16x2 LCD.
Here's a breakdown of the materials:
- Arduino Nano* 1
- Soil Moisture sensor * 1
- 5v relay module * 1
- Mini water pump with small pipe * 1
- Connecting wires
- 16x2 LCD
You may also need additional supplies depending on your specific setup, such as capacitive soil moisture sensors, an ESP32 board, and JST connectors.
Required Material

To start building your automated plant watering system, you'll need the right materials. The Arduino Nano is a key component, and you'll also need a Soil Moisture sensor to monitor the moisture levels in your plants' soil. Here are the basic materials you'll need:
- Arduino Nano* 1
- Soil Moisture sensor * 1
- 5v relay module * 1
- Mini water pump with small pipe * 1
- Connecting wires
- 16x2 LCD
These materials will give you a solid foundation for building your automated plant watering system.
Sensors Water Tight
To protect your sensors from water damage, you'll want to make them water-tight. I've tried various methods and found one that works well, using silicone on the edge of the PCB to protect the part that will be in the ground.
Using a phone cable with at least three wires is a good option for connecting the sensors to the ESP32. I soldered the cable to the three sensor pins.
A simple 3D printed part can be used to protect the electronic circuit, and filling the space inside with silicone makes the cable come out from the bottom. This method has been tested with 5 sensors, which have been in the ground for over a year without any damage.
Soldering a JST connector to the other end of the wire allows the sensors to be easily connected to the connectors on the board.
On a similar theme: Can I Use the Bathroom after Using Monistat?
System Components
The automated irrigation system using a soil moisture sensor relies on a few key components to function properly. The system is powered by a 12V power supply connected to the Arduino board, which is regulated using a voltage regulator to provide stable 9V DC power.
A capacitive soil moisture sensor is connected to an analog input pin of the Arduino, allowing it to read the moisture level in the soil. The sensor's values are then mapped to a moisture percentage using predefined thresholds for air value and water value.
The moisture percentage is displayed on a 16x2 LCD module connected to the Arduino, providing real-time feedback on the soil's moisture level. The LCD module also displays the status of the pump on the second line.
The system uses a relay to control the irrigation system, which is activated when the moisture percentage falls below a predetermined threshold. The relay is connected to the pump, which delivers water to the plants until the moisture level reaches the selected threshold again.
If this caught your attention, see: What Kind of Soil Do Peonies like
Here are the key components of the automated irrigation system:
* ComponentDescriptionSoil Moisture SensorCapacitive soil moisture sensor connected to an analog input pin of the ArduinoArduino BoardMicrocontroller that reads the sensor's values and activates the relayRelaySwitches the irrigation system on and off based on the moisture percentagePower Supply12V power supply connected to the Arduino boardLCM Display16x2 LCD module that displays the moisture percentage and pump status
The ESP32, a popular microcontroller, can also be used in this system to connect the sensors to WiFi and home automation. This allows for real-time monitoring and control of the irrigation system using a smartphone app.
A fresh viewpoint: Store Soil
System Operation
The automated irrigation system using a soil moisture sensor is designed to work efficiently and effectively. It's powered by a 12V power supply connected to the Arduino board, which is regulated to provide stable 9V DC power.
The system uses a capacitive soil moisture sensor connected to an analog input pin of the Arduino, which reads the moisture level in the soil. This sensor is crucial in determining when the plants need water.
The moisture percentage is calculated by mapping the analog value from the sensor to a predefined threshold for air value and water value. This calculation is what decides whether the plants need water or not.
The system displays the moisture percentage on a 16x2 LCD module connected to the Arduino, providing real-time information about the soil moisture level. This display is essential for monitoring the system's performance.
Based on the moisture percentage, the Arduino makes a decision whether to turn on or off the irrigation system. If the moisture percentage is below 30.0, indicating a low moisture level, the Arduino turns on the relay connected to the pump, activating the irrigation process.
Here's a breakdown of the system's operation:
- Power supply: 12V
- Sensor type: Capacitive soil moisture sensor
- Display: 16x2 LCD module
- Thresholds:
+ Low moisture level: 30.0
+ Sufficient moisture: 70.0
The water pump delivers water to the plants until the moisture level reaches the selected threshold again. This automated process provides that plants receive the right amount of water, even when the owner is away.
Design and Implementation
The design and implementation of an automated irrigation system using a soil moisture sensor involves several key components. The sensor itself is a crucial part of this system, allowing for real-time monitoring of soil moisture levels.
The sensor is typically placed at a depth of 10-15 cm in the soil, which is the optimal depth for measuring soil moisture. This depth provides an accurate reading of the soil's water content.
The sensor sends the data to a microcontroller, which processes the information and makes decisions about when to water the plants. A typical microcontroller used in this system is the Arduino board.
The Arduino board is connected to a relay module, which controls the flow of water to the plants. The relay module is usually connected to a water pump, which is responsible for delivering water to the plants.
The system also includes a rain sensor, which detects rainfall and prevents the system from watering the plants during this time. This helps to conserve water and prevent overwatering.
The entire system is powered by a 9V battery, which provides a reliable source of power for the microcontroller and other components. The battery is designed to last for several months, depending on usage.
Here's an interesting read: Best Time to Irrigate Lawn
Benefits and Applications
Automated irrigation systems using soil moisture sensors offer numerous benefits and applications.
With the help of soil moisture sensors, you can monitor and control the water levels in your garden, ensuring that your plants receive the right amount of water at the right time.
Garden plants can thrive with the help of automated irrigation systems, which can detect moisture levels and adjust watering schedules accordingly.
Moisture detection is a key feature of these systems, allowing you to monitor soil moisture levels and make adjustments as needed.
Intelligent agriculture is another area where automated irrigation systems using soil moisture sensors can have a significant impact.
Automatic soil moisture sensor-based irrigation can maintain a desired soil water range in the root zone, optimal for plant growth.
The target soil water status is usually set in terms of soil tension or matric potential, or volumetric moisture.
This type of system adapts the amount of water applied according to plant needs and actual weather conditions throughout the season.
Here are some of the key benefits of automated irrigation systems using soil moisture sensors:
- Convenience: Once set up and verified, only weekly observation is required.
- Water savings: Substantial water savings compared to irrigation management based on average historical weather conditions.
Code and Diagrams
The code and diagrams for the automated irrigation system are crucial for its functionality. The Arduino Code uses the LiquidCrystal library to control an LCD module connected to Arduino pins 12, 11, 10, 9, 8, and 7.
The code reads the analog value from the soil moisture sensor connected to analog pin A0, which is a capacitive soil moisture sensor connected to an analog input pin of the Arduino. This sensor reading is a key component of the system.
The system also uses a relay control to turn on or off the irrigation system based on the moisture percentage. If the moisture percentage is below 30.0, the Arduino sets the relay pin to LOW, turning on the relay connected to the pump. This activates the pump and starts the irrigation process.
Here's an overview of the system's components and their connections:
- Arduino board connected to a 12V power supply
- Soil moisture sensor connected to an analog input pin of the Arduino
- 16x2 LCD module connected to the Arduino
- Relay connected to the Arduino and the pump
Plant Watering System Circuit Diagram
The plant watering system circuit diagram is a crucial part of building an automatic plant watering system. It's where all the connections and components come together to make the system work.
Curious to learn more? Check out: Automatic Watering System for Plant
To power the device, a 12V power supply unit is used with a 12V DC power adapter connected to the power jack. This is because both the relay and motor require a 12V power source. A 7809 Voltage Regulator IC is used to regulate the voltage, converting the 12V DC input to a stable 9V DC output.
The 7809 IC is essential to avoid excessive heating that would occur if the 12V was directly applied to the Arduino's Vin pin due to the large dropout voltage. This helps ensure a smooth voltage supply to the system.
To connect the soil moisture sensor, the VCC pin is connected to the 3.3V pin of the Arduino, while the GND pin is connected to the GND (ground) pin of the Arduino. The Aout pin is connected to the A0 analog input pin of the Arduino.
Here's a summary of the connections:
The LCD module is also connected to the Arduino, with Pin 1 (VSS), Pin 5 (R/W), and Pin 7 (LED-) connected to the GND (ground) of the Arduino Nano. This establishes the common ground reference.
Arduino Code
Writing the Arduino code for your project can be a bit tricky, but don't worry, I've got you covered.
The code uses the LiquidCrystal library to control an LCD module, which is connected to specific pins on your Arduino board. The pins used are 12, 11, 10, 9, 8, and 7.
To read the analog value from the soil moisture sensor, you'll need to connect it to an analog pin, specifically A0 in this case.
The code calculates the moisture percentage based on the reading from the sensor, and displays it on the LCD for you to see.
A different take: What Is Sensor Cooking in a Microwave
Publications (1)
The publications listed in the provided article section are a testament to the growing interest in automated irrigation systems using soil moisture sensors. The first publication listed is US20100094472A1, which was published on April 15, 2010.
One of the key features of this publication is its focus on sensor devices for interrupting irrigation. This is particularly relevant to automated irrigation systems, which rely on sensors to determine when to water plants.
Additional reading: Misting System Outdoor
The publication is cited by the examiner and third-party sources, indicating its importance in the field of irrigation technology. The publication number is US20100094472A1, and it has a priority date of 2006-06-20.
Here's a list of some of the notable publications related to automated irrigation systems using soil moisture sensors:
These publications demonstrate the ongoing development of automated irrigation systems using soil moisture sensors.
Automated Irrigation System
An automated irrigation system can be a game-changer for gardeners and farmers alike. By using a soil moisture sensor and Arduino, you can create a system that waters your plants only when they need it, reducing waste and conserving water.
The system works by using a moisture sensor to detect the moisture level in the soil. The Arduino Uno microcontroller is programmed to read the sensor's values and activate a water pump when the moisture falls below a predetermined threshold.
A 12V power supply is typically used to power the system, with a voltage regulator providing stable 9V DC power to the Arduino Nano. The system uses a capacitive soil moisture sensor connected to an analog input pin of the Arduino.
The moisture percentage is displayed on a 16x2 LCD module connected to the Arduino, showing the status of the pump on the second line. If the pump is turned on, it shows "Pump: ON", and if the moisture percentage is above 70.0, it indicates that the pump should be off.
The system continuously reads the moisture level, updates the LCD display, and checks the moisture percentage to determine the pump status. This automated process provides that plants receive the right amount of water, even when the owner is away.
Here are the key components of an automated irrigation system:
- Soil moisture sensor
- Arduino Uno microcontroller
- 12V power supply
- Voltage regulator
- 16x2 LCD module
- Water pump
- Relay
These components work together to create a system that is efficient, convenient, and water-saving. By using a soil moisture sensor and Arduino, you can create a system that adapts to your plants' needs and actual weather conditions throughout the season.
Frequently Asked Questions
What are the drawbacks of soil moisture sensor?
Soil moisture sensors have a relatively slow response time to changes in soil water and may not be as accurate in sandy soils. They can also be affected by temperature and salinity levels.
Featured Images: pexels.com


