{"id":29059,"date":"2020-01-10T18:27:05","date_gmt":"2020-01-10T10:27:05","guid":{"rendered":"\/blog\/?p=29059"},"modified":"2021-03-17T18:02:38","modified_gmt":"2021-03-17T10:02:38","slug":"what-is-soil-moisture-sensor-and-simple-arduino-tutorial-to-get-started","status":"publish","type":"post","link":"https:\/\/www.seeedstudio.com\/blog\/2020\/01\/10\/what-is-soil-moisture-sensor-and-simple-arduino-tutorial-to-get-started\/","title":{"rendered":"Soil Moisture Sensor &#8211; Getting Started with Arduino"},"content":{"rendered":"\n<p>Whether you&#8217;re a professional in the agricultural industry, are into gardening, or even if you simply love plants, a soil moisture sensor will be an important part of your arsenal. Fortunately, here at Seeed, we offer just that! Simple and easy to use with any Arduino board, you&#8217;ll no longer have to worry about building your agricultural projects.<\/p>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1030\" height=\"601\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2021\/03\/Week-8-13-1-1030x601.png\" alt=\"\" class=\"wp-image-41441\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1-1030x601.png 1030w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1-300x175.png 300w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1-768x448.png 768w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1-1536x896.png 1536w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1-2048x1195.png 2048w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1-1024x597.png 1024w\" sizes=\"(max-width: 1030px) 100vw, 1030px\" \/><\/figure><\/div>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Before we introduce our soil sensor and show you how it can be used with an Arduino, let us first take a look at what a soil moisture sensor is, how it works, its applications, and more!<\/p>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>What is a Soil Moisture Sensor and How Does it Work?<\/strong><\/h2>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>As its name suggests, a soil moisture sensor measures the volumetric water content of soil.  There are two types of soil moisture sensors:<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<ol class=\"wp-block-list\"><li>One that measures moisture through the electrical properties of the soil: dielectric constant, resistance &amp; ions, and<\/li><li>the other which measures water potential through the use of gypsum blocks and tensiometers.<\/li><\/ol>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Today, we&#8217;ll be working with the first group of sensors. To understand more about the second type, <a href=\"https:\/\/www.sciencedirect.com\/topics\/agricultural-and-biological-sciences\/tensiometers\">this page<\/a> may be helpful.<\/p>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Why Soil Moisture Sensors?<\/h3>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>All living things need water to survive. But for plants and agriculture, having just the right amount of water (not under over over-watering) is crucial. Since it is impossible to visually observe moisture levels in the soil with our naked eyes, soil moisture sensors play an important role to provide insights into your irrigation systems.<\/p>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2021\/03\/960x0.jpg\" alt=\"\" class=\"wp-image-41420\" width=\"500\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/960x0.jpg 959w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/960x0-300x200.jpg 300w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/960x0-768x512.jpg 768w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/960x0-675x450.jpg 675w\" sizes=\"(max-width: 959px) 100vw, 959px\" \/><figcaption>Source: Getty Images<\/figcaption><\/figure><\/div>\n\n\n\n<p>Soil Moisture Sensors also enable us to develop smart agricultural systems that respond to environmental conditions automatically. For example, we can use an Arduino microcontroller to receive the soil moisture readings, which can then automatically turn on sprinklers when moisture is insufficient.<\/p>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Soil Moisture Sensor: Principle of Operation<\/strong><\/h2>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>A Soil Moisture Sensor can either use resistance or capacitance changes to measure the water content of the soil. To further understand both working principles, we&#8217;ll take a look at how each of them work.<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Resistive Soil Moisture Sensor<\/strong><\/h3>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>A resistive soil moisture sensor works by using the relationship between electrical resistance and water content to gauge the moisture levels of the soil. You&#8217;ll observe these sensors to possess two exposed probes that are inserted directly into the soil sample. <\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2020\/01\/image-117.png\" alt=\"\" class=\"wp-image-29067\" width=\"500\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-117.png 541w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2020\/01\/image-117-300x238.png 300w\" sizes=\"(max-width: 541px) 100vw, 541px\" \/><figcaption><a href=\"https:\/\/www.seeedstudio.com\/Grove-Moisture-Sensor.html?utm_source=blog&amp;utm_medium=blog\">Resistive Soil Moisture Sensor<\/a><\/figcaption><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>A electrical current is sent from one probe to the other, which allows the sensor to measure the resistance of the soil between them.<\/li><li>When the water content in the soil is high, it has a higher electrical conductivity (water is a good conductor of electricity!). Hence, a lower resistance reading is obtained which indicates high soil moisture.<\/li><li>When the water content in the soil is low, it has poorer electrical conductivity. Hence, a higher resistance reading is obtained, which indicates low soil moisture.<\/li><\/ul>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Capacitive Soil Moisture Sensor <\/strong><\/h3>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>A capacitive soil moisture sensor works by measuring the change in capacitance. In simple terms, capacitance measures the amount of electrical charge that can be stored across an electrical potential. A capacitive soil moisture sensor is commonly built with a positive and negative plate, which are separated by a dielectric medium in the middle.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2021\/03\/1-1-1030x773.jpg\" alt=\"\" class=\"wp-image-41419\" width=\"500\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/1-1-1030x773.jpg 1030w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/1-1-300x225.jpg 300w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/1-1-768x576.jpg 768w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/1-1-1024x768.jpg 1024w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/1-1.jpg 1400w\" sizes=\"(max-width: 1030px) 100vw, 1030px\" \/><figcaption><a href=\"https:\/\/www.seeedstudio.com\/Grove-Capacitive-Moisture-Sensor-Corrosion-Resistant.html?utm_source=blog&amp;utm_medium=blog\">Capacitive Soil Moisture Sensor<\/a><\/figcaption><\/figure><\/div>\n\n\n\n<p>In this case, the soil is the dielectric medium and its capacitance changes with moisture content. By pairing the sensor with a timer circuit, we obtain an analog voltage that can be read with an Arduino board. This voltage in turn has a direct relationship with the soil moisture content &#8211; just what we need!<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Resistive vs Capacitive &#8211; Which is Better?<\/h3>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Both sensors will give you readings of soil moisture levels in percentage volume (ratio of water to soil volume).<\/p>\n\n\n\n<p>A common gripe of resistive soil moisture sensors are that they are susceptible to corrosion over time, since the electrical current sent between its probes can cause electrolysis. In contrast, the capacitive soil moisture sensor does not have exposed electrodes and is comparatively corrosion-free. However, they are in general more costly.<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Choose the Capacitive Sensor if you need &#8230;<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Frequent Soil Moisture Readings<\/li><li>Longer Maintenance \/ Replacement Cycles<\/li><\/ul>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Otherwise, choose the Resistive Sensor if you need &#8230;<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Infrequent Soil Moisture Readings  &#8211; The corrosion will not be as severe<\/li><li>Cost is a Concern<\/li><\/ul>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Soil Moisture Sensor Use Cases<\/strong><\/h2>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Agriculture<\/strong><\/h3>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/9\/96\/PikiWiki_Israel_12354_Agriculture_in_Israel.jpg\/800px-PikiWiki_Israel_12354_Agriculture_in_Israel.jpg\" alt=\"File:PikiWiki Israel 12354 Agriculture in Israel.jpg\" width=\"369\" height=\"246\"\/><\/figure><\/div>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Imagine managing acres of cropland without knowing when&#8217;s the right time or right amount of water to apply to your crops. Sounds disastrous? That&#8217;s exactly what a soil moisture sensor is used for &#8211; helping farmers know the exact soil moisture conditions of their fields and improving the overall management of crops during critical growth stages.<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Household Gardening<\/strong><\/h3>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter is-resized\"><img decoding=\"async\" src=\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/0\/0f\/Parterre2.jpg\/800px-Parterre2.jpg\" alt=\"File:Parterre2.jpg\" width=\"369\" height=\"277\"\/><\/figure><\/div>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Since soil moisture sensors are relatively cheap and accessible, they are a popular option even for hobbyists or home gardeners to check if their plants are receiving sufficient moisture.<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Research and Forecasting<\/strong><\/h3>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/6\/65\/CSIRO_ScienceImage_429_Drought_Effected_Landscape.jpg\/800px-CSIRO_ScienceImage_429_Drought_Effected_Landscape.jpg\" alt=\"\" width=\"366\" height=\"233\"\/><\/figure><\/div>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Beyond agriculture and plants, soil moisture sensors are used for research purposes. Collecting long-term soil moisture data can allow meteorologists and geologists to forecast or predict potential droughts, landslides, erosions, etc. Their analysis can then allow authorities to develop preventive measures before disasters strike.<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Irrigation for Sporting Fields<\/strong><\/h3>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/upload.wikimedia.org\/wikipedia\/commons\/thumb\/2\/2f\/53rd_Avenue_Park_sports_field_-_Hillsboro%2C_Oregon.JPG\/800px-53rd_Avenue_Park_sports_field_-_Hillsboro%2C_Oregon.JPG\" alt=\"\" width=\"366\" height=\"244\"\/><\/figure><\/div>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Be it American football, soccer or golf, they are all played on sporting fields that require irrigation to maintain. Soil moisture sensors ensure that such fields are well taken care of while avoiding over-irrigation.<\/p>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Buy Our Soil Moisture Sensors!<\/h2>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Seeed offers two Soil Moisture Sensors for your selection, both of which are  affordable and easy to use with Arduino or Raspberry Pi, thanks to <a href=\"http:\/\/wiki.seeedstudio.com\/Grove_System\/\">Grove<\/a>!<\/p>\n\n\n\n<p>Grove is a standardised and modular prototyping system that makes electronics hardware super easy without the need for complicated wiring or solder! All you need to get going with our Grove-based Soil Moisture Sensors is a Grove Base Shield to use alongside your Arduino device. It&#8217;s a simple and easy plug-and-play soil moisture system!<\/p>\n\n\n\n<p>If what we&#8217;ve shared sounds good to you, here are our Soil Moisture Sensors for your consideration!<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong><a href=\"https:\/\/www.seeedstudio.com\/Grove-Capacitive-Moisture-Sensor-Corrosion-Resistant.html?utm_source=blog&amp;utm_medium=blog\">Grove &#8211; Capacitive Moisture Sensor<\/a><\/strong><\/h3>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>This is the Grove &#8211; Capacitive Moisture Sensor. As its name suggests, it measures soil moisture through capacitive changes, giving it several benefits over resistive ones!<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2021\/03\/1-2-1030x773.jpg\" alt=\"\" class=\"wp-image-41421\" width=\"500\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/1-2-1030x773.jpg 1030w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/1-2-300x225.jpg 300w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/1-2-768x576.jpg 768w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/1-2-1024x768.jpg 1024w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/1-2.jpg 1400w\" sizes=\"(max-width: 1030px) 100vw, 1030px\" \/><\/figure><\/div>\n\n\n\n<ul class=\"wp-block-list\"><li>Since there&#8217;s no direct exposure of the metal electrodes, this moisture sensor is virtually corrosion-free, which is an important property considering the sensor&#8217;s operating environment.<\/li><li>Apart from soil moisture detection, the sensor is also suitable for applications such as an automatic watering system.<\/li><li>It operates on either 3.3V \/ 5V, making it easy to pair with any microcontroller.<\/li><\/ul>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Features of this Moisture Sensor Include:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Capacitive Soil Moisture Sensing<\/li><li>Corrosion-Resistant<\/li><li>Built-in Amplifier<\/li><\/ul>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong><a href=\"https:\/\/www.seeedstudio.com\/Grove-Moisture-Sensor.html?utm_source=blog&amp;utm_medium=blog\">Grove &#8211; Moisture Sensor<\/a> (Resistive Option)<\/strong><\/h3>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>For a cheaper alternative that does the job despite some tradeoffs, this Grove &#8211; Moisture Sensor is for you!<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2021\/03\/httpsstatics3.seeedstudio.comseeedfile2018-07bazaar881132_3-1-1030x773.jpg\" alt=\"\" class=\"wp-image-41423\" width=\"500\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/httpsstatics3.seeedstudio.comseeedfile2018-07bazaar881132_3-1-1030x773.jpg 1030w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/httpsstatics3.seeedstudio.comseeedfile2018-07bazaar881132_3-1-300x225.jpg 300w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/httpsstatics3.seeedstudio.comseeedfile2018-07bazaar881132_3-1-768x576.jpg 768w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/httpsstatics3.seeedstudio.comseeedfile2018-07bazaar881132_3-1-1024x768.jpg 1024w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/httpsstatics3.seeedstudio.comseeedfile2018-07bazaar881132_3-1.jpg 1400w\" sizes=\"(max-width: 1030px) 100vw, 1030px\" \/><\/figure><\/div>\n\n\n\n<p>Although this soil moisture sensor uses the resistive working principle, which makes it susceptible to corrosion over time, it can still be utilised with great effectiveness in most of your soil sensing applications, such as:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Home Gardening<\/li><li>Prototyping Automatic Irrigation Systems on a Smaller Scale<\/li><li>Any other applications where cost is a concern over durability<\/li><\/ul>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-background\" style=\"background-color:#f0fbff\"><em>When using a resistive soil moisture sensor, take measurements only when necessary! That way, the degree and rate of electrolysis will be limited, which will in turn reduce the effect of corrosion on your sensor!<\/em><\/p>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Getting Started with Arduino<\/h2>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Now that we&#8217;ve gone through everything about soil moisture sensors, let&#8217;s get started with a simple tutorial on how you can use the <a href=\"https:\/\/www.seeedstudio.com\/Grove-Capacitive-Moisture-Sensor-Corrosion-Resistant-p-2850.html?utm_source=blog&amp;utm_medium=blog\">Grove &#8211; Capacitive Moisture Sensor<\/a> with Arduino!<\/p>\n\n\n\n<p><em>If you&#8217;re looking for the tutorial on the <a href=\"https:\/\/www.seeedstudio.com\/Grove-Moisture-Sensor.html?utm_source=blog&amp;utm_medium=blog\">Grove &#8211; Moisture Sensor<\/a> (Resistive), you can head to our <a href=\"http:\/\/wiki.seeedstudio.com\/Grove-Moisture_Sensor\/\">wiki page here!<\/a><\/em><\/p>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Required Materials<\/h3>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>To follow along with today&#8217;s tutorial, you&#8217;ll need the following items!<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.seeedstudio.com\/Seeeduino-V4-2-p-2517.html\">Seeeduino V4.2<\/a><\/li><li><a href=\"https:\/\/www.seeedstudio.com\/Base-Shield-V2.html\">Grove Base Shield V2.0 for Arduino<\/a><\/li><li><a href=\"https:\/\/www.seeedstudio.com\/Grove-OLED-Display-0-96-SSD1315-p-4294.html\"><\/a><a href=\"https:\/\/www.seeedstudio.com\/Grove-Capacitive-Moisture-Sensor-Corrosion-Resistant-p-2850.html?utm_source=blog&amp;utm_medium=blog\">Grove &#8211; Capacitive Moisture <\/a><a href=\"https:\/\/www.seeedstudio.com\/Grove-Capacitive-Moisture-Sensor-Corrosion-Resistant.html\">S<\/a><a href=\"https:\/\/www.seeedstudio.com\/Grove-Capacitive-Moisture-Sensor-Corrosion-Resistant-p-2850.html?utm_source=blog&amp;utm_medium=blog\">ensor<\/a><\/li><\/ul>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Seeeduino is Seeed\u2019s very own Arduino board, designed with relative benefits over the original. If you do not wish to purchase a Seeeduino, this tutorial is still applicable for the following Arduino boards: Arduino UNO, Arduino Mega, Arduino Leonardo, Arduino 101, Arduino Due.<\/p>\n\n\n\n<p>You can also use any Grove-compatible Arduino system that has I2C interface capabilities, such as the <a href=\"https:\/\/www.seeedstudio.com\/Wio-Terminal-p-4509.html\">Wio Terminal<\/a>, or the <a href=\"https:\/\/www.seeedstudio.com\/Seeeduino-XIAO-Pre-Soldered-p-4747.html\">Seeeduino XIAO <\/a>with its <a href=\"https:\/\/www.seeedstudio.com\/Grove-Shield-for-Seeeduino-XIAO-p-4621.html\">Grove Shield<\/a> or <a href=\"https:\/\/www.seeedstudio.com\/Seeeduino-XIAO-Expansion-board-p-4746.html\">Expansion Board<\/a>.<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p class=\"has-background\" style=\"background-color:#dfffe5\"><em><strong>Note:<\/strong> If you&#8217;re using an Arduino UNO, use the DC power supply. Otherwise, the maximum ripple of VCC may exceed 100mV.<\/em><\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Hardware Setup<\/strong><\/h3>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/github.com\/SeeedDocument\/Grove-Capacitive_Moisture_Sensor_Corrosion_Resistant\/raw\/master\/img\/pin_out.jpg\" alt=\"\" width=\"600\"\/><\/figure><\/div>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Step 1:<\/strong> Connect the Grove &#8211; Capacitive Moisture Sensor to port A0 of the Grove Base Shield or the Grove port on the Seeeduino. If you&#8217;re using another Grove compatible platform, simply plug it into their Analog Grove port.<\/p>\n\n\n\n<p><strong>Step 2: <\/strong>Plug the Grove Base Shield into Seeeduino Grove port.<\/p>\n\n\n\n<p><strong>Step 3:<\/strong> Insert the Grove &#8211; Capacitive Moisture Sensor into your soil sample, taking care not to cross the white line as shown below.<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/github.com\/SeeedDocument\/Grove-Capacitive_Moisture_Sensor_Corrosion_Resistant\/raw\/master\/img\/line.jpg\" alt=\"\" width=\"400\" height=\"290\"\/><\/figure><\/div>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Step 4:<\/strong> Connect the Seeeduino (or Arduino device you are using) to your PC via USB.<\/p>\n\n\n\n<p>In our example, a potted plant was used. Your setup should look similar to below after the above steps.<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/github.com\/SeeedDocument\/Grove-Capacitive_Moisture_Sensor_Corrosion_Resistant\/raw\/master\/img\/connect.jpg\" alt=\"\" width=\"500\"\/><\/figure><\/div>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">Software Configuration &amp; Calibration<\/h3>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>If this is your first time building a project with Arduino, we highly recommend that you go through our <a href=\"http:\/\/wiki.seeedstudio.com\/Getting_Started_with_Arduino\/\">getting started with Arduino guide<\/a> before moving on with this section!<\/p>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Step 1:<\/strong> Copy the below code into a new sketch and upload it to your Arduino.<\/p>\n\n\n\n<p><em>If you&#8217;re unsure on how to upload Arduino code, please check <a href=\"http:\/\/wiki.seeedstudio.com\/Upload_Code\/\">here<\/a>.<\/em><\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ Code to Run Once\nvoid setup() {\n  \/\/ initialize serial communication at 9600 bits per second:\n  Serial.begin(9600);\n}\n\n\/\/ Code to Keep Running\nvoid loop() {\n  \/\/ read the input on analog pin 0:\n  int sensorValue = analogRead(A0);\n  \/\/ print out the value you read:\n  Serial.println(sensorValue);\n  delay(100);        \/\/ delay in between reads for stability\n}<\/code><\/pre>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>Step 2:<\/strong> Open the Serial Monitor of Arduino IDE by clicking Tools -&gt; Serial Monitor and set the baud rate to 9600. When everything goes well, you&#8217;ll see output like the example shown below.<\/p>\n\n\n\n<p><em>For more information on the Arduino Serial Monitor, kindly refer to <a href=\"https:\/\/www.seeedstudio.com\/blog\/2019\/12\/16\/how-to-use-arduino-serial-monitor-and-alternatives-to-try\/\">this guide<\/a>.<\/em><\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<pre class=\"wp-block-code\"><code>678\n663\n631\n615\n615\n624\n616\n618\n620\n616\n605<\/code><\/pre>\n\n\n\n<div style=\"height:5px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>This sensor qualitatively measures the humidity of the soil. When the humidity of the soil rises, the value of the output decreases; conversely, when the humidity decreases, the output value becomes higher. To give meaning to the numbers you see, it&#8217;s critical to first calibrate your sensor by obtaining benchmark sensor values with dry and watered soil!<\/p>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Soil Moisture Sensor Projects<\/strong><\/h2>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Of course, the capabilities of any sensor are only limited by our imagination! Hence, here are some other examples to stir your creative juices for using the soil moisture sensor in your electronics projects!<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>ESP8266 &amp; Seeed Moisture Sensor Project<\/strong><\/h3>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/hackster.imgix.net\/uploads\/attachments\/276126\/screen_shot_2017-03-21_at_14_49_22_ytLnFP90CI.png?auto=compress%2Cformat&amp;w=900&amp;h=675&amp;fit=min\" alt=\"\"\/><\/figure><\/div>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Are you using the ESP8266 Breakout Board instead of an Arduino? If so, then this project serves as a great tutorial for pairing it with the soil moisture sensor!<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>What do you need?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>NodeMCU ESP8266 Breakout Board<\/li><li>Seeed Grove Starter kit plus for Intel Edison<\/li><li><a href=\"https:\/\/mongoose-os.com\/\">Mongoose OS<\/a><\/li><\/ul>\n\n\n\n<p>Interested to find out more? Check out the <a href=\"https:\/\/www.hackster.io\/mongoose-os\/esp8266-seeed-moisture-sensor-quick-start-in-2-mins-9968e0\">full tutorial by Team Mongoose OS: Toly<\/a> on Hackster.io!<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Plant Monitoring System using AWS IoT<\/strong><\/h3>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/hackster.imgix.net\/uploads\/cover_image\/file\/114136\/IMG_0376.jpg?auto=compress%2Cformat&amp;w=900&amp;h=675&amp;fit=min\" alt=\"\" width=\"386\" height=\"289\"\/><\/figure><\/div>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Worried about your plant and its moisture levels while you&#8217;re away on a vacation? With this plant monitoring system, you can track and easily monitor your plant through Amazon Web Services for IoT!<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>What do you need?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.seeedstudio.com\/Seeeduino-Cloud-Arduino-Yun-compatible-openWRT-controller-p-2123.html\">Arduino Yun<\/a><\/li><li><a href=\"https:\/\/www.seeedstudio.com\/Grove-starter-kit-plus-Intel-IoT-Edition-for-Intel-Galileo-Gen-2-and-Edison-p-1978.html\">Seeed Grove Starter Kit Plus for Intel Edison<\/a><\/li><li><a href=\"https:\/\/www.seeedstudio.com\/Grove-Moisture-Sensor.html?utm_source=blog&amp;utm_medium=blog\">Seeed Grove &#8211; Moisture Sensor<\/a><\/li><li><a href=\"https:\/\/www.seeedstudio.com\/Grove-Multi-Color-Flash-LED-5mm.html\">5mm LED: Red<\/a><\/li><li><a href=\"https:\/\/www.seeedstudio.com\/RESK-Resistor-Kit-p-1484.html?utm_source=blog&amp;utm_medium=blog\">330 Ohm Resistor <\/a><\/li><li><a href=\"https:\/\/aws.amazon.com\/iot\/\">Amazon Web Services AWS IoT<\/a><\/li><li>dweet.io<\/li><li><a href=\"https:\/\/www.arduino.cc\/en\/main\/software\">Arduino IDE<\/a><\/li><li>Any Generic 3D Printer<\/li><\/ul>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Interested to find out more? Check out the <a href=\"https:\/\/www.hackster.io\/carmelito\/plant-monitoring-system-using-aws-iot-6cb054\">full tutorial by CJA3D<\/a> on Hackster.io!<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Automatic Plant Watering System<\/strong><\/h3>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/blog.seeedstudio.com\/wp-content\/uploads\/2021\/03\/FPNJNE4II0MCV1M.png\" alt=\"\" class=\"wp-image-41429\" width=\"600\" srcset=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/FPNJNE4II0MCV1M.png 790w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/FPNJNE4II0MCV1M-300x170.png 300w, https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/FPNJNE4II0MCV1M-768x435.png 768w\" sizes=\"(max-width: 790px) 100vw, 790px\" \/><\/figure><\/div>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>If you want to make your very own automatic plant watering system, this DIY project allows you to do so without any hardware programming, coding, or soldering! This project uses a Wio Link, a Wi-Fi development board to build connected IoT projects with Grove modules.<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p><strong>What do you need?<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/www.seeedstudio.com\/Wio-Link.html?utm_source=blog&amp;utm_medium=blog\">Wio Link<\/a> with Wio Link app<\/li><li><a href=\"https:\/\/www.seeedstudio.com\/Grove-Relay.html?utm_source=blog&amp;utm_medium=blog\">Grove &#8211; Relay<\/a><\/li><li><a href=\"http:\/\/www.seeedstudio.com\/depot\/Grove-Moisture-Sensor-p-955.html?cPath=25_27\">Grove &#8211; Moisture Sensor<\/a><\/li><li><a href=\"http:\/\/www.seeedstudio.com\/depot\/12V-DC-Water-Pump-p-1946.html\">Water pump<\/a><\/li><li>12V DC Adapter (to drive the water pump)<\/li><\/ul>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Interested to find out more? Visit our <a href=\"https:\/\/www.instructables.com\/id\/DIY-an-Automatic-Plant-Watering-Device\/\">full tutorial<\/a> on Instructables!<\/p>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Summary<\/h2>\n\n\n\n<div style=\"height:15px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>That\u2019s all for today on soil moisture sensors. I hope with today\u2019s tutorial, you get a deeper understanding of what they are, how they work and how they can be used in our agricultural or gardening projects! Get started with building a soil sensor project with the&nbsp;<a href=\"https:\/\/www.seeedstudio.com\/Grove-Capacitive-Moisture-Sensor-Corrosion-Resistant.html?utm_source=blog&amp;utm_medium=blog\">Grove &#8211; Capacitive Soil Sensor<\/a>&nbsp;today!<\/p>\n\n\n\n<p>If you want a more complete package, the industrial-grade <a href=\"https:\/\/www.seeedstudio.com\/Soil-Moisture-Temperature-Sensor-p-1356.html?utm_source=blog&amp;utm_medium=blog\">Soil Moisture &amp; Temperature Sensor<\/a> offers temperature readings in addition to soil moisture measurements!<\/p>\n\n\n\n<div style=\"height:30px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Whether you&#8217;re a professional in the agricultural industry, are into gardening, or even if you<\/p>\n","protected":false},"author":2850,"featured_media":41441,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"","_lmt_disable":"","_price":"","_stock":"","_tribe_ticket_header":"","_tribe_default_ticket_provider":"","_tribe_ticket_capacity":"0","_ticket_start_date":"","_ticket_end_date":"","_tribe_ticket_show_description":"","_tribe_ticket_show_not_going":false,"_tribe_ticket_use_global_stock":"","_tribe_ticket_global_stock_level":"","_global_stock_mode":"","_global_stock_cap":"","_tribe_rsvp_for_event":"","_tribe_ticket_going_count":"","_tribe_ticket_not_going_count":"","_tribe_tickets_list":"[]","_tribe_ticket_has_attendee_info_fields":false,"iawp_total_views":0,"footnotes":""},"categories":[1],"tags":[982,10,1395,1456,2681,2691],"class_list":["post-29059","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news","tag-agriculture","tag-sensor","tag-smart-agriculture","tag-smart-farming","tag-soil-moisture-sensor","tag-soil-moisture-sensor-applications"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Soil Moisture Sensor - Getting Started with Arduino - Latest News from Seeed Studio<\/title>\n<meta name=\"description\" content=\"A soil moisture sensor is an essential for argricultural or even simple home gardening projects. Learn about how they work and get started with Arduino!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.seeedstudio.com\/blog\/2020\/01\/10\/what-is-soil-moisture-sensor-and-simple-arduino-tutorial-to-get-started\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Soil Moisture Sensor - Getting Started with Arduino - Latest News from Seeed Studio\" \/>\n<meta property=\"og:description\" content=\"A soil moisture sensor is an essential for argricultural or even simple home gardening projects. Learn about how they work and get started with Arduino!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.seeedstudio.com\/blog\/2020\/01\/10\/what-is-soil-moisture-sensor-and-simple-arduino-tutorial-to-get-started\/\" \/>\n<meta property=\"og:site_name\" content=\"Latest News from Seeed Studio\" \/>\n<meta property=\"article:published_time\" content=\"2020-01-10T10:27:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-03-17T10:02:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"3000\" \/>\n\t<meta property=\"og:image:height\" content=\"1750\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Shawn\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Shawn\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/01\/10\/what-is-soil-moisture-sensor-and-simple-arduino-tutorial-to-get-started\/\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/01\/10\/what-is-soil-moisture-sensor-and-simple-arduino-tutorial-to-get-started\/\",\"name\":\"Soil Moisture Sensor - Getting Started with Arduino - Latest News from Seeed Studio\",\"isPartOf\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/01\/10\/what-is-soil-moisture-sensor-and-simple-arduino-tutorial-to-get-started\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/01\/10\/what-is-soil-moisture-sensor-and-simple-arduino-tutorial-to-get-started\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1.png\",\"datePublished\":\"2020-01-10T10:27:05+00:00\",\"dateModified\":\"2021-03-17T10:02:38+00:00\",\"author\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/c9b61b761840d544e2d830b0e3bc9fe2\"},\"description\":\"A soil moisture sensor is an essential for argricultural or even simple home gardening projects. Learn about how they work and get started with Arduino!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/01\/10\/what-is-soil-moisture-sensor-and-simple-arduino-tutorial-to-get-started\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.seeedstudio.com\/blog\/2020\/01\/10\/what-is-soil-moisture-sensor-and-simple-arduino-tutorial-to-get-started\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/01\/10\/what-is-soil-moisture-sensor-and-simple-arduino-tutorial-to-get-started\/#primaryimage\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1.png\",\"contentUrl\":\"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1.png\",\"width\":3000,\"height\":1750},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/2020\/01\/10\/what-is-soil-moisture-sensor-and-simple-arduino-tutorial-to-get-started\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.seeedstudio.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Soil Moisture Sensor &#8211; Getting Started with Arduino\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#website\",\"url\":\"https:\/\/www.seeedstudio.com\/blog\/\",\"name\":\"Latest News from Seeed Studio\",\"description\":\"Emerging IoT, AI and Autonomous Applications on the Edge\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.seeedstudio.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/c9b61b761840d544e2d830b0e3bc9fe2\",\"name\":\"Shawn\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/5afdc71205d9d485de69bc4b192294e3?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/5afdc71205d9d485de69bc4b192294e3?s=96&r=g\",\"caption\":\"Shawn\"},\"url\":\"https:\/\/www.seeedstudio.com\/blog\/author\/shawn\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Soil Moisture Sensor - Getting Started with Arduino - Latest News from Seeed Studio","description":"A soil moisture sensor is an essential for argricultural or even simple home gardening projects. Learn about how they work and get started with Arduino!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.seeedstudio.com\/blog\/2020\/01\/10\/what-is-soil-moisture-sensor-and-simple-arduino-tutorial-to-get-started\/","og_locale":"en_US","og_type":"article","og_title":"Soil Moisture Sensor - Getting Started with Arduino - Latest News from Seeed Studio","og_description":"A soil moisture sensor is an essential for argricultural or even simple home gardening projects. Learn about how they work and get started with Arduino!","og_url":"https:\/\/www.seeedstudio.com\/blog\/2020\/01\/10\/what-is-soil-moisture-sensor-and-simple-arduino-tutorial-to-get-started\/","og_site_name":"Latest News from Seeed Studio","article_published_time":"2020-01-10T10:27:05+00:00","article_modified_time":"2021-03-17T10:02:38+00:00","og_image":[{"width":3000,"height":1750,"url":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1.png","type":"image\/png"}],"author":"Shawn","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Shawn","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/01\/10\/what-is-soil-moisture-sensor-and-simple-arduino-tutorial-to-get-started\/","url":"https:\/\/www.seeedstudio.com\/blog\/2020\/01\/10\/what-is-soil-moisture-sensor-and-simple-arduino-tutorial-to-get-started\/","name":"Soil Moisture Sensor - Getting Started with Arduino - Latest News from Seeed Studio","isPartOf":{"@id":"https:\/\/www.seeedstudio.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/01\/10\/what-is-soil-moisture-sensor-and-simple-arduino-tutorial-to-get-started\/#primaryimage"},"image":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/01\/10\/what-is-soil-moisture-sensor-and-simple-arduino-tutorial-to-get-started\/#primaryimage"},"thumbnailUrl":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1.png","datePublished":"2020-01-10T10:27:05+00:00","dateModified":"2021-03-17T10:02:38+00:00","author":{"@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/c9b61b761840d544e2d830b0e3bc9fe2"},"description":"A soil moisture sensor is an essential for argricultural or even simple home gardening projects. Learn about how they work and get started with Arduino!","breadcrumb":{"@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/01\/10\/what-is-soil-moisture-sensor-and-simple-arduino-tutorial-to-get-started\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.seeedstudio.com\/blog\/2020\/01\/10\/what-is-soil-moisture-sensor-and-simple-arduino-tutorial-to-get-started\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/01\/10\/what-is-soil-moisture-sensor-and-simple-arduino-tutorial-to-get-started\/#primaryimage","url":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1.png","contentUrl":"https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1.png","width":3000,"height":1750},{"@type":"BreadcrumbList","@id":"https:\/\/www.seeedstudio.com\/blog\/2020\/01\/10\/what-is-soil-moisture-sensor-and-simple-arduino-tutorial-to-get-started\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.seeedstudio.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Soil Moisture Sensor &#8211; Getting Started with Arduino"}]},{"@type":"WebSite","@id":"https:\/\/www.seeedstudio.com\/blog\/#website","url":"https:\/\/www.seeedstudio.com\/blog\/","name":"Latest News from Seeed Studio","description":"Emerging IoT, AI and Autonomous Applications on the Edge","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.seeedstudio.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/c9b61b761840d544e2d830b0e3bc9fe2","name":"Shawn","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.seeedstudio.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/5afdc71205d9d485de69bc4b192294e3?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5afdc71205d9d485de69bc4b192294e3?s=96&r=g","caption":"Shawn"},"url":"https:\/\/www.seeedstudio.com\/blog\/author\/shawn\/"}]}},"modified_by":"Jonathan Tan","views":69138,"featured_image_urls":{"full":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1.png",3000,1750,false],"thumbnail":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1-80x80.png",80,80,true],"medium":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1-300x175.png",300,175,true],"medium_large":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1-768x448.png",640,373,true],"large":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1-1030x601.png",640,373,true],"1536x1536":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1-1536x896.png",1536,896,true],"2048x2048":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1-2048x1195.png",2048,1195,true],"visody_icon":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1.png",32,19,false],"magazine-7-slider-full":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1-1536x1020.png",1536,1020,true],"magazine-7-slider-center":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1-936x897.png",936,897,true],"magazine-7-featured":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1-1024x597.png",1024,597,true],"magazine-7-medium":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1-720x380.png",720,380,true],"magazine-7-medium-square":["https:\/\/www.seeedstudio.com\/blog\/wp-content\/uploads\/2021\/03\/Week-8-13-1-675x450.png",675,450,true]},"author_info":{"display_name":"Shawn","author_link":"https:\/\/www.seeedstudio.com\/blog\/author\/shawn\/"},"category_info":"<a href=\"https:\/\/www.seeedstudio.com\/blog\/category\/news\/\" rel=\"category tag\">News<\/a>","tag_info":"News","comment_count":"0","_links":{"self":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/29059","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/users\/2850"}],"replies":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/comments?post=29059"}],"version-history":[{"count":17,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/29059\/revisions"}],"predecessor-version":[{"id":41452,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/posts\/29059\/revisions\/41452"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/media\/41441"}],"wp:attachment":[{"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/media?parent=29059"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/categories?post=29059"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.seeedstudio.com\/blog\/wp-json\/wp\/v2\/tags?post=29059"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}