<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Forget Me Not: Episode 11B - Soil Sensor Design</title><link>/challenges-projects/design-challenges/forget-me-not/b/blog/posts/forget-me-not-episode-11b---soil-sensor-design</link><description>Previous Posts: Epidode 1: Forget Me Not: Application Episode 2: Forget Me Not: The Best Laid Plans ... Episode 3: Forget Me Not: Setup EnOcean with openHAB Episode 4: Forget Me Not: Medication System Episode 5A: Forget Me Not: Using Notify My Android</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Forget Me Not: Episode 11B - Soil Sensor Design</title><link>https://community.element14.com/challenges-projects/design-challenges/forget-me-not/b/blog/posts/forget-me-not-episode-11b---soil-sensor-design</link><pubDate>Tue, 30 Sep 2014 18:06:44 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:3b373a7f-fe93-4af1-9381-b129b2973dbc</guid><dc:creator>hlipka</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;One thing to be aware of: when using the soil sensor with DC current, it will corrode sooner or later. You can use high-quality probes (e.g. galvanized rods or stainless steel), or use alternating current.&lt;/p&gt;&lt;p&gt;One way to do the latter is to connect the propbe not between ground and an input pin, but between two GPIO pins (both with pull-up-resistors). Then for each measurement one pin goes high, and the other is used as input. Next time the other pin goes high, and so on. That way the current flows in alternatrring directions which can greatly reduce corrosion.&lt;/p&gt;&lt;p&gt;Disadvantage: this doesn&amp;#39;t play nice with your method of linearizing the input curve. But OTOH: since the relation between soil moisture and resistance is probably not linear, why do you need to linearize the relation between resistance and measured input voltage? I would just go with, lets say, 4 or 5 different moisture level, and the corresponding input voltages. From these values you can do easily linear approximation (two subtractions, one division) to get the value you need.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=18742&amp;AppID=100&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Forget Me Not: Episode 11B - Soil Sensor Design</title><link>https://community.element14.com/challenges-projects/design-challenges/forget-me-not/b/blog/posts/forget-me-not-episode-11b---soil-sensor-design</link><pubDate>Tue, 30 Sep 2014 17:48:58 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:3b373a7f-fe93-4af1-9381-b129b2973dbc</guid><dc:creator>DAB</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Great post.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Did you consider setting up a resister bridge circuit?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I do like your final circuit.&amp;nbsp; Simple and linear, makes logic decisions easy.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;DAB&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=18742&amp;AppID=100&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Forget Me Not: Episode 11B - Soil Sensor Design</title><link>https://community.element14.com/challenges-projects/design-challenges/forget-me-not/b/blog/posts/forget-me-not-episode-11b---soil-sensor-design</link><pubDate>Tue, 30 Sep 2014 06:14:30 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:3b373a7f-fe93-4af1-9381-b129b2973dbc</guid><dc:creator>fvan</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Wow, very nicely done &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-3b373a7f-fe93-4af1-9381-b129b2973dbc/contentimage_5F00_1.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;(I confirm figure 1 is broken ...)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Frederick&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=18742&amp;AppID=100&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Forget Me Not: Episode 11B - Soil Sensor Design</title><link>https://community.element14.com/challenges-projects/design-challenges/forget-me-not/b/blog/posts/forget-me-not-episode-11b---soil-sensor-design</link><pubDate>Tue, 30 Sep 2014 05:15:17 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:3b373a7f-fe93-4af1-9381-b129b2973dbc</guid><dc:creator>mcb1</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Nice job.&lt;/p&gt;&lt;p&gt;It&amp;#39;s a much better approach than just measuring the resistance.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;One of your images has gone AWOL.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Mark&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=18742&amp;AppID=100&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>