0% found this document useful (0 votes)
60 views

Product Manual: Phi Robotics Research Pvt. LTD

This product manual describes a soil moisture sensor that measures the water content of soil. It has a binary output indicating if the soil moisture level is above or below a preset threshold. The sensor connects to a microcontroller with power, ground, and a digital output pin. It uses an LM393 comparator integrated circuit to compare the soil moisture reading to the threshold level. The manual provides specifications, connection details, example code to read the sensor value, and a reference link for more information.

Uploaded by

Didano Zizo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
60 views

Product Manual: Phi Robotics Research Pvt. LTD

This product manual describes a soil moisture sensor that measures the water content of soil. It has a binary output indicating if the soil moisture level is above or below a preset threshold. The sensor connects to a microcontroller with power, ground, and a digital output pin. It uses an LM393 comparator integrated circuit to compare the soil moisture reading to the threshold level. The manual provides specifications, connection details, example code to read the sensor value, and a reference link for more information.

Uploaded by

Didano Zizo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Product Manual

Soil Moisture Sensor

Version 1.0

Phi Robotics Research Pvt. Ltd.


www.phi-robotics.com
Table of Contents
1 Introduction ................................................................................................................................................... 2
2 Features ......................................................................................................................................................... 2
3 Specifications ................................................................................................................................................. 2
4 Hardware Connection .................................................................................................................................... 2
5 Pseudo Code ................................................................................................................................................... 3
6 Reference ....................................................................................................................................................... 3
1 Introduction
Soil moisture sensor measure the water content in soil. Measuring soil moisture is important in agriculture to
help farmers manage their irrigation systems more efficiently. Not only are farmers able to generally use less
water to grow a crop, but they are also able to increase yields and the quality of the crop by better
management of soil moisture during critical plant growth stages.

Besides agriculture, there are many other disciplines using soil moisture sensors. Golf courses are now using
sensors to increase the efficiencies of their irrigation systems to prevent over watering and leaching of
fertilizers and other chemicals offsite.

The module uses LM393 comparator to compare the soil moisture level with the preset threshold. When the
soil moisture deficit module outputs a high level, and vice versa.

2 Features
 2 state binary output
 Adjustable sensitivity

3 Specifications
 Input operating voltage: 3.3 to 5V

4 Hardware Connection
The sensor have 3-Pin male header. The pins are as follows VCC (external 3.3V-5V) GND (external GND)
and DO-board digital output interface (0 and 1). The pin explanation for each pin is shown below.

Figure 1 - Soil moisture sensor pin layout


5 Pseudo Code
boolean getSoilMoistureStatus(void)
{
// read DO pin status
if(gpioReadPin(DO) == 1)
return true; // soil moisture level above threshold
else
return false; // soil moisture level below threshold
}

6 Reference
LM393 Datasheet: http://www.ti.com/lit/ds/symlink/lm393-n.pdf
Phi Robotics Research Pvt. Ltd.
www.phi-robotics.com

You might also like