{"id":64,"date":"2016-05-21T21:33:31","date_gmt":"2016-05-21T21:33:31","guid":{"rendered":"https:\/\/blog.anuram.in\/?p=64"},"modified":"2016-05-21T21:33:31","modified_gmt":"2016-05-21T21:33:31","slug":"soil-moisture-sensor-with-esp-12f","status":"publish","type":"post","link":"https:\/\/blog.anuram.in\/?p=64","title":{"rendered":"Soil Moisture sensor with ESP-12F"},"content":{"rendered":"<p><a href=\"https:\/\/blog.anuram.in\/wp-content\/uploads\/2016\/05\/ESP-12-041.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-65 size-full\" src=\"https:\/\/blog.anuram.in\/wp-content\/uploads\/2016\/05\/ESP-12-041.jpg\" alt=\"ESP-12-04[1]\" width=\"700\" height=\"594\" srcset=\"https:\/\/blog.anuram.in\/wp-content\/uploads\/2016\/05\/ESP-12-041.jpg 700w, https:\/\/blog.anuram.in\/wp-content\/uploads\/2016\/05\/ESP-12-041-300x255.jpg 300w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/a><\/p>\n<p>This is my second project with ESP8266. I couldn&#8217;t find much of info or help regarding in majority of ESP8266 forums. My target is to build a automated irrigation system based on soil moisture sensor data, start the drop irrigation and based on temperature and humidity, starting the mister.<\/p>\n<p>In this blog, I am going to describe how to connect ESP12F with Soil Moisture sensor(YL-69) and publish the soil moisture data to www.thingspeak.com channel.<\/p>\n<h2>Requirement<\/h2>\n<ol>\n<li>ESP-12<\/li>\n<li>YL-69 Soil moisture sensor<\/li>\n<li>12v Power supply (This is needed for my future work, not mandatory for this project)<\/li>\n<li>3.3v &amp; 5v Bread board power supply.<\/li>\n<li>1K resistor &#8211; 2 numbers.<\/li>\n<li>8M2 resistor<\/li>\n<li>Wires needed.<\/li>\n<\/ol>\n<h2>Lets start:<\/h2>\n<p>First connect ESP-12F to UART USB interface for pushing the program. For this ESP need to be in programming mode, connect GPIO0 and Ground after which reboot\/reset the board. Once ESP-12 is powered on with in 30 seconds\u00a0flashing should be started.<\/p>\n<p><a href=\"https:\/\/blog.anuram.in\/wp-content\/uploads\/2016\/05\/ESP-12F_UART.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-70 size-full\" src=\"https:\/\/blog.anuram.in\/wp-content\/uploads\/2016\/05\/ESP-12F_UART.png\" alt=\"ESP-12F_UART\" width=\"749\" height=\"398\" srcset=\"https:\/\/blog.anuram.in\/wp-content\/uploads\/2016\/05\/ESP-12F_UART.png 749w, https:\/\/blog.anuram.in\/wp-content\/uploads\/2016\/05\/ESP-12F_UART-300x159.png 300w\" sizes=\"auto, (max-width: 749px) 100vw, 749px\" \/><\/a><\/p>\n<p>Program:<br \/>\n<iframe loading=\"lazy\" width=\"300\" height=\"150\" style=\"height: 510px; width: 100%; margin: 10px 0 10px;\" allowtransparency=\"true\" src=\"https:\/\/codebender.cc\/embed\/sketch:312907\" frameborder=\"0\"><\/iframe><\/p>\n<h3>Demo Video Here:<\/h3>\n<h3><\/h3>\n<h3>Live Soil Moisture data:<\/h3>\n<p><iframe loading=\"lazy\" width=\"450\" height=\"260\" style=\"border: 1px solid #cccccc;\" src=\"https:\/\/thingspeak.com\/channels\/117698\/charts\/1?bgcolor=%23ffffff&amp;color=%23d62020&amp;dynamic=true&amp;results=60&amp;type=line\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is my second project with ESP8266. I couldn&#8217;t find much of info or help regarding in majority of ESP8266 forums. My target is to build a automated irrigation system based on soil moisture sensor data, start the drop irrigation and based on temperature and humidity, starting the mister. In this blog, I am going [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,19],"tags":[],"class_list":["post-64","post","type-post","status-publish","format-standard","hentry","category-arduino","category-esp8266"],"_links":{"self":[{"href":"https:\/\/blog.anuram.in\/index.php?rest_route=\/wp\/v2\/posts\/64","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.anuram.in\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.anuram.in\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.anuram.in\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.anuram.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=64"}],"version-history":[{"count":11,"href":"https:\/\/blog.anuram.in\/index.php?rest_route=\/wp\/v2\/posts\/64\/revisions"}],"predecessor-version":[{"id":77,"href":"https:\/\/blog.anuram.in\/index.php?rest_route=\/wp\/v2\/posts\/64\/revisions\/77"}],"wp:attachment":[{"href":"https:\/\/blog.anuram.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=64"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.anuram.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=64"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.anuram.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=64"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}