<?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>Automated Green House Blog:10.1 - Update Code For Three Dollar EC PPM Meter for MCU</title><link>/challenges-projects/design-challenges/vertical-farming/b/blog/posts/automated-green-house-blog-10-1---update-code-for-three-dollar-ec-ppm-meter-for-mcu</link><description>This code is a slight update of the last one, updated:&amp;gt;Better Uptime Counter&amp;gt;LCD Shield&amp;gt;New Pin out Diagram&amp;gt;Restart Protected Calibration Details&amp;gt;EU and US Plug Calibrated Probe Also a quick update to the code so the calibration v...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Automated Green House Blog:10.1 - Update Code For Three Dollar EC PPM Meter for MCU</title><link>https://community.element14.com/challenges-projects/design-challenges/vertical-farming/b/blog/posts/automated-green-house-blog-10-1---update-code-for-three-dollar-ec-ppm-meter-for-mcu</link><pubDate>Mon, 13 Jul 2020 15:20:07 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:aa55ada5-b757-460b-a211-f76a851c5a69</guid><dc:creator>cosax</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hello all&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;has anybody managed to make this with arduino nano? Do you know the internal resistance of the digital pins?&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=488&amp;AppID=120&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Automated Green House Blog:10.1 - Update Code For Three Dollar EC PPM Meter for MCU</title><link>https://community.element14.com/challenges-projects/design-challenges/vertical-farming/b/blog/posts/automated-green-house-blog-10-1---update-code-for-three-dollar-ec-ppm-meter-for-mcu</link><pubDate>Thu, 02 Aug 2018 05:41:51 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:aa55ada5-b757-460b-a211-f76a851c5a69</guid><dc:creator>magg58</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Michael&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;thank you, it is a really nice project, works excellent!!, best regards&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=488&amp;AppID=120&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Automated Green House Blog:10.1 - Update Code For Three Dollar EC PPM Meter for MCU</title><link>https://community.element14.com/challenges-projects/design-challenges/vertical-farming/b/blog/posts/automated-green-house-blog-10-1---update-code-for-three-dollar-ec-ppm-meter-for-mcu</link><pubDate>Thu, 09 Nov 2017 13:39:59 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:aa55ada5-b757-460b-a211-f76a851c5a69</guid><dc:creator>williamsimson</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi Michael,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I want to follow ur system to my arduino UNO&lt;/p&gt;&lt;p&gt;but i cannot find links for downloading the libraries&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;will it work without the libraries&lt;/p&gt;&lt;p&gt;or i need to download first&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Hi I have found the links&lt;/p&gt;&lt;p&gt;so my next questions are&lt;/p&gt;&lt;p&gt;can we measure the PH dan DO2 using the same method?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;thank you&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=488&amp;AppID=120&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Automated Green House Blog:10.1 - Update Code For Three Dollar EC PPM Meter for MCU</title><link>https://community.element14.com/challenges-projects/design-challenges/vertical-farming/b/blog/posts/automated-green-house-blog-10-1---update-code-for-three-dollar-ec-ppm-meter-for-mcu</link><pubDate>Tue, 26 Sep 2017 23:11:12 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:aa55ada5-b757-460b-a211-f76a851c5a69</guid><dc:creator>khios</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;No sure if your still about but the uptime counter seems to be gaining a whole log of time. it seems to gain a full day every 6 hours approx. currently 6 days 11 hrs when its been up 1.5 days.. Any thoughts? Im using a mega. tried to adapt for a nano but the ec sensor was going nuts (getting a -k etc.. )&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Fully impressed how simple this was to make and modify ( adding a DHT sensor to monitor temp and humidity in the hydro area.)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;i&amp;#39;m using a Aussie 2 pin plug for a probe at the moment.. k is approx 2-2.33 going to try a probe from nicrome wire and a pen .. just got to factor in the resistance of the wire i guess?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;now to find a way to kick the airpump onto a battery airpump in case of a power cut and all be sorted. &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-aa55ada5-b757-460b-a211-f76a851c5a69/6825.contentimage_5F00_1.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;again thanks for your hard work. loving your projects so far &lt;span&gt;[View:/resized-image/__size/16x16/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-aa55ada5-b757-460b-a211-f76a851c5a69/6825.contentimage_5F00_1.png:16:16]&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=488&amp;AppID=120&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Automated Green House Blog:10.1 - Update Code For Three Dollar EC PPM Meter for MCU</title><link>https://community.element14.com/challenges-projects/design-challenges/vertical-farming/b/blog/posts/automated-green-house-blog-10-1---update-code-for-three-dollar-ec-ppm-meter-for-mcu</link><pubDate>Tue, 17 Jan 2017 13:42:18 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:aa55ada5-b757-460b-a211-f76a851c5a69</guid><dc:creator>utthawut</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&lt;span&gt;Vdrop= (((Vin)*(raw))/1024.0); should be changed to &lt;span&gt;Vdrop= (((Vin)*(raw))/&lt;strong&gt;1023.0&lt;/strong&gt;); right? because the maximum value of raw is always 1023.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=488&amp;AppID=120&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Automated Green House Blog:10.1 - Update Code For Three Dollar EC PPM Meter for MCU</title><link>https://community.element14.com/challenges-projects/design-challenges/vertical-farming/b/blog/posts/automated-green-house-blog-10-1---update-code-for-three-dollar-ec-ppm-meter-for-mcu</link><pubDate>Sat, 01 Oct 2016 12:27:25 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:aa55ada5-b757-460b-a211-f76a851c5a69</guid><dc:creator>jasp</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Can I do this also with Arduino Uno R3 or only with Arduino mega?&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=488&amp;AppID=120&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Automated Green House Blog:10.1 - Update Code For Three Dollar EC PPM Meter for MCU</title><link>https://community.element14.com/challenges-projects/design-challenges/vertical-farming/b/blog/posts/automated-green-house-blog-10-1---update-code-for-three-dollar-ec-ppm-meter-for-mcu</link><pubDate>Thu, 02 Jun 2016 04:55:30 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:aa55ada5-b757-460b-a211-f76a851c5a69</guid><dc:creator>balearicdynamics</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I appreciate also your determination continuing and sure completing this project. It is really good; these detailed descriptions become historical reference for the future. It is just following the last year (and this most recent) challenge that I have reviewed this PiIoT challenge strategy to post the articles.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Enrico&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=488&amp;AppID=120&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Automated Green House Blog:10.1 - Update Code For Three Dollar EC PPM Meter for MCU</title><link>https://community.element14.com/challenges-projects/design-challenges/vertical-farming/b/blog/posts/automated-green-house-blog-10-1---update-code-for-three-dollar-ec-ppm-meter-for-mcu</link><pubDate>Thu, 02 Jun 2016 00:20:15 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:aa55ada5-b757-460b-a211-f76a851c5a69</guid><dc:creator>krantz</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Thank you so much for sharing this knowledge. I really appreciate it.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Two questions:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;1) Can I use an Arduino Nano instead of a Mega?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;2) How can I use both the &amp;quot;original&amp;quot; libraries and the &amp;quot;custom&amp;quot; libraries? You see, I already got a project up and running --- using the original libraries from DallasTemp and OneWire -- I am affraid that if I change something in my computer, on the next compilation something will get screwed....&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Regards.&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=488&amp;AppID=120&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Automated Green House Blog:10.1 - Update Code For Three Dollar EC PPM Meter for MCU</title><link>https://community.element14.com/challenges-projects/design-challenges/vertical-farming/b/blog/posts/automated-green-house-blog-10-1---update-code-for-three-dollar-ec-ppm-meter-for-mcu</link><pubDate>Sun, 06 Mar 2016 19:18:41 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:aa55ada5-b757-460b-a211-f76a851c5a69</guid><dc:creator>Former Member</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;&lt;span&gt;Alternative download it at:&amp;nbsp; www.MichaelRatcliffe.com/projects&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Is there place to download source and libraries?&amp;nbsp; The link mentioned says coming soon.&amp;nbsp; Thanks in advance.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;Gerald&lt;/span&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=488&amp;AppID=120&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Automated Green House Blog:10.1 - Update Code For Three Dollar EC PPM Meter for MCU</title><link>https://community.element14.com/challenges-projects/design-challenges/vertical-farming/b/blog/posts/automated-green-house-blog-10-1---update-code-for-three-dollar-ec-ppm-meter-for-mcu</link><pubDate>Sat, 03 Oct 2015 09:28:35 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:aa55ada5-b757-460b-a211-f76a851c5a69</guid><dc:creator>Former Member</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am trying to make order in the mess I have here (not related to you)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;1. For your design, from the socket I get two wires and attach a resistor to one&lt;/p&gt;&lt;p&gt;-The other one without resistor will be your ground?&lt;/p&gt;&lt;p&gt;- The wire attached to resistor and goes directly to Arduino not via resistor will be EC sensor?&lt;/p&gt;&lt;p&gt;- The one going via resistor will be EC POWER&lt;/p&gt;&lt;p&gt;Or the last two are the other way around?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. Can I have a copy of your code without the LCD functions?&amp;nbsp; or link to download? &lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=488&amp;AppID=120&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Automated Green House Blog:10.1 - Update Code For Three Dollar EC PPM Meter for MCU</title><link>https://community.element14.com/challenges-projects/design-challenges/vertical-farming/b/blog/posts/automated-green-house-blog-10-1---update-code-for-three-dollar-ec-ppm-meter-for-mcu</link><pubDate>Fri, 25 Sep 2015 17:24:48 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:aa55ada5-b757-460b-a211-f76a851c5a69</guid><dc:creator>m.ratcliffe</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;I got an email regarding this project &amp;quot;&lt;/p&gt;&lt;p&gt;&lt;em&gt;Hi&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;I&amp;#39;m new Hydro trying to setup a monitor system to a friend.&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;I am with EC sensor now&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;I bought one from Web not sure it&amp;#39;s reading well, and I have one more coming via post from US&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;But I want meanwhile to study this topic and also seeing your video I might be able to create such cheap sensor for kids I teach in school, it will be mainly DIY for them&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;em&gt;So couple of questions if I may&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;I do not have a solution with known EC, I will use tap water assuming it is 1.2. Is it OK?&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;I used 1k resistor&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;I will use different temperature sensor (&lt;a class="jive-link-external-small" href="https://www.sparkfun.com/products/11050" rel="nofollow ugc noopener" target="_blank"&gt;https://www.sparkfun.com/products/11050&lt;/a&gt;)&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div&gt;&lt;em&gt;Temperature Sensor - Waterproof (DS18B20) - SEN-11050 - SparkFun Electronics&lt;/em&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;em&gt;SEN-11050: This sealed digital temperature probe lets you precisely measure temperatures in wet environments with a simple 1-Wire interface. The DS18B20 provides 9 to&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;a class="jive-link-external-small" href="https://www.sparkfun.com/products/11050" rel="nofollow ugc noopener" target="_blank"&gt;Read more...&lt;/a&gt;&lt;/em&gt;&lt;/p&gt;&lt;/div&gt;&lt;p style="text-align:right;"&gt;&lt;em&gt;Remove preview&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;So to calibrate all I need&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;1. Change temperature calling functions before and after the loop (&lt;span&gt;//************Estimates Resistance of Liquid ****************//&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;2. Change the value of &lt;span&gt;CalibrationEC&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;3. Change and play with k&lt;/em&gt;&lt;/p&gt;&lt;p&gt;&lt;em&gt;That is all?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/em&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Hi Roni, it is great that you are wanting to play around with this EC probe. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;1&amp;gt;&amp;nbsp; Your Temperature sensor is the same unit but in a plastic housing [And mine cost $1] So you will not need to change any of the code. I am using a modified onewire.h and dallas.h, you can download them from www.michaelratcliffe.com/projects with the EC code, or add a pull up to the data line of the temp probe [google arduino, "Tempprobe name pullup"]. &lt;/p&gt;&lt;p&gt;2&amp;gt; In the new code you can calibrate by the LCD screen [$3 on ebay]&lt;/p&gt;&lt;p&gt;3&amp;gt; If you dont have a known solution to calibrate against, stick with the standard values for K [EU or USA plug now added] they will give good estimates until you get some fluid to calibrate, this will be better than calibrating using a unkown value [tap water can vary from 0.1 to 0.5].&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Only other thing to note is, pick a plug the students cannot plug into the wall [see above video/pinout] and be aware that the plug needs to be hung in the solution not touching the bottom or sides [it will give bad readings].&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If you want to use this probe to control an aquaponics unit, check out the new blog:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;a class="jive-link-blog-small" href="/challenges-projects/design-challenges/vertical-farming/b/blog/posts/automated-green-house-blog-11---self-optimising-automated-nutrient-doser"&gt;Automated Green House Blog:11 - Self Optimising Automated Nutrient Doser&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Need any more help, I will ussualy get back to you in 24hrs. &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Mike &lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=488&amp;AppID=120&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>