<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Dror Ettlinger-Levy on Medium]]></title>
        <description><![CDATA[Stories by Dror Ettlinger-Levy on Medium]]></description>
        <link>https://medium.com/@DrorEttlinger-Levy?source=rss-ae020c2525f3------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*WABuuwklWILgGXKqfiw5Jw.png</url>
            <title>Stories by Dror Ettlinger-Levy on Medium</title>
            <link>https://medium.com/@DrorEttlinger-Levy?source=rss-ae020c2525f3------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 04:47:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@DrorEttlinger-Levy/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Practical Applications of Soil Moisture Sensors in Machine Learning and for Remote Sensing]]></title>
            <link>https://medium.com/@DrorEttlinger-Levy/practical-applications-of-soil-moisture-sensors-in-machine-learning-and-for-remote-sensing-c2e55798a641?source=rss-ae020c2525f3------2</link>
            <guid isPermaLink="false">https://medium.com/p/c2e55798a641</guid>
            <dc:creator><![CDATA[Dror Ettlinger-Levy]]></dc:creator>
            <pubDate>Thu, 13 Jun 2024 05:55:16 GMT</pubDate>
            <atom:updated>2024-06-13T14:07:56.572Z</atom:updated>
            <content:encoded><![CDATA[<h3>Practical Applications of Soil Moisture Sensors in Machine Learning and IoT for Remote Sensing in Agriculture and Soil Exploration</h3><p>IoT projects in the agriculture and soil sectors rely on remote sensing data from sensors, drones, and satellites. Understanding the operational principles of these sensors and correctly processing the signals they produce is essential for effective utilization of these technologies in ML models.</p><p>The focus of this article is on how soil moisture sensors work:</p><ol><li>Compare <strong>AC (capacitor-based)</strong> and<strong> DC (resistor-based)</strong> soil moisture sensors.</li><li>Main Operating Principle: <strong>Parasitic Capacitance (Fringe Capacitance)</strong></li><li><strong>Signal Conversion</strong> for Capacitor Based Soil Moisture Sensors</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/1*qw-nYB3Ib3XKh_JdB4dykQ.png" /></figure><h4>Compare AC (capacitor-based) and DC (resistor-based) soil moisture sensors</h4><p>Capacitor-based sensors have become <strong>more common</strong> due to their ability to avoid the issues of corrosion and sensitivity to ions that affect resistor-based sensors using DC. Here is why:</p><ul><li><strong>Resistor-based sensors</strong> that use <strong>DC (direct current)</strong> pass through the metal probes to transmit voltage directly through the soil. This measures conductivity based on the resistance caused by free ions in the soil, which restrict the current flow.</li><li>While this method is simple and effective for calculating soil resistance, it can lead to sensor <strong>corrosion</strong> over time, eventually causing the sensor to become ineffective, even within just a few days.</li><li>For resistor-based sensors there is a<strong> greater impact of ions</strong>, such as those from <strong>fertilizers and salts</strong>, on changing the voltage output.</li><li><strong>Capacitor-based sensors use AC (alternating current)</strong>. The next section will explain their working principle further.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dqNRLFHXwUnq0Ih8bDvEoA.jpeg" /><figcaption>AC (capacitor-based) and DC (resistor-based) soil moisture sensors</figcaption></figure><h4>Main Principle — Parasitic Capacitance (Fringe Capacitance)</h4><p>The main working principle of capacitive soil moisture sensor is <strong>Fringe capacitance;</strong> a type of <strong>parasitic capacitance</strong>.</p><p>Parasitic capacitance is the unavoidable and typically unwanted <strong>capacitance that exists between the parts of an electronic component</strong> or circuit due to their proximity to each other.</p><p><strong>Fringe capacitance is a type of parasitic capacitance</strong> that occurs in capacitors. This happens because the electric field extends beyond the physical plates, and the electric field lines are not fully confined between the capacitor plates.</p><p><strong>I learned more about the fringe capacitance in two interesting articles on how to design a fringing field capacitive sensor from scratch (links — </strong><a href="https://www.youtube.com/watch?v=zxg5dlmXznQ&amp;ab_channel=IEEESensors"><strong>video</strong></a>, <a href="https://medium.com/r?url=https%3A%2F%2Fieeexplore.ieee.org%2Fdocument%2F6866205%3Fdenied%3D"><strong>article</strong></a><strong>).</strong></p><figure><img alt="Fringe Fields exist on the edges of a parallel plate capacitor" src="https://cdn-images-1.medium.com/max/562/0*BnCFtCL-s3ckI9kh.jpg" /><figcaption>Fringe fields exist on the edges of a parallel plate capacitor</figcaption></figure><p>In a parallel plate capacitor, fringe capacitance refers to the capacitance between the <strong>edges of the plates</strong> where the electric field lines extend beyond the area directly between the plates.</p><p>This capacitance is generally unwanted because it can decrease the overall capacitance of the device and cause undesired coupling or interference in circuits.</p><p>However, by intentionally increasing the size of the two copper traces, we can <strong>exploit this effect to our advantage</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/797/1*07RZ7zv255RrFydnOhe12Q.png" /><figcaption>Capacitive soil moisture sensor, source: arduinokitproject.com</figcaption></figure><p>The Capacitive Soil Moisture Sensor works based on fringe capacitance; the <strong>PCB (Printed Circuit Board) is used as a capacitor</strong>, not as a real capacitor but as a parasitic capacitance.</p><p>The capacitance of this parasitic capacitor is determined by the shape of the traces and the environment surrounding it , known as the <strong>dielectric constant</strong>. The dielectric constant is a dimensionless quantity; it is a ratio of the electric field in a vacuum to the electric field in the material.</p><p><strong>When water content in soil increases, it changes the overall dielectric constant of the soil. </strong>The dielectric coefficient of dry soil is between 2 and 6, and with water, it can reach 50.</p><ul><li>When soil has high water content, its dielectric coefficient increases compared to that of the air in the pores.</li><li>The increase in the dielectric coefficient of the medium (the soil) leads to longer charging times and lower voltages.</li></ul><p>The next section will explain how this voltage is produced.</p><h4>Signal Conversion for C<strong>apacitor Based S</strong>oil Moisture Sensors</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YOlU71j_M9HO-6cwezMIpA.jpeg" /></figure><p>There are three main components that will be discussed in this section: the 555 timer IC (integrated circuit), the RC integrator, and the AC to DC rectifier.</p><p><strong>555 Timer IC</strong></p><p>Signal production begins with the <strong>555 Timer</strong> operating as an <strong>astable oscillator</strong>; it produces a continuous square wave output that alternates between two voltage levels. This square wave serves as the basic timing signal for the circuit (see the image above).</p><p><strong>RC Integrator</strong></p><p>Next, the square wave output from the 555 timer goes into an <strong>RC integrator</strong>, which changes it into a triangular-like waveform. The rate at which the waveform rises and falls is influenced by the soil moisture content, which affects the sensor’s capacitance.</p><p><strong>Rectifier AC to DC</strong></p><p>Finally, the triangular-like waveform from the RC integrator is passed through a <strong>rectifier circuit</strong>, which converts the alternating current (AC) signal into a direct current (DC) signal.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/867/1*yogaym709PSW8GOvZBoLZg.png" /><figcaption>How does a capacitive soil moisture sensor work, source: LastMinuteEngineers.com</figcaption></figure><p><strong>DC voltage levels </strong>can be used to indicate soil moisture content. For 3.3v and 5v MCUs (Microcontrollers), about 1.5v indicates wet soil, while 3v indicates dry soil. The greater the moisture content, the higher the electrical resistance to current, resulting in lower voltage values. <strong>Therefore, low voltage values indicate higher moisture content.</strong></p><p><strong>For a holistic approach in remote sensing and practical use of sensors</strong>, I believe it is necessary to investigate in depth; Understanding the practical use of sensors for remote sensing of soil moisture in IoT applications and machine learning modeling in the agricultural sector is crucial.</p><p>When we understand how sensors work, their limitations, and how to clean and analyze the signal in a more accurate way, we can make our ML models more efficient.</p><p>Appreciate your interest and your remarks, you can connect me <a href="https://www.linkedin.com/in/drorettlingerlevy/">here</a> — <a href="https://www.linkedin.com/in/drorettlingerlevy/"><strong>LinkedIn — Dror Ettlinger-Levy.</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c2e55798a641" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>