{"id":173,"date":"2019-01-17T17:13:22","date_gmt":"2019-01-17T17:13:22","guid":{"rendered":"http:\/\/simervillefarm.com\/?p=173"},"modified":"2019-01-17T17:32:20","modified_gmt":"2019-01-17T17:32:20","slug":"farm-iot-beginings","status":"publish","type":"post","link":"https:\/\/simervillefarm.com\/?p=173","title":{"rendered":"Farm IoT beginings"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"173\" class=\"elementor elementor-173 elementor-bc-flex-widget\">\n\t\t\t\t\t\t<div class=\"elementor-inner\">\n\t\t\t\t<div class=\"elementor-section-wrap\">\n\t\t\t\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-957f926 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"957f926\" data-element_type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t\t\t<div class=\"elementor-row\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-f1557db\" data-id=\"f1557db\" data-element_type=\"column\">\n\t\t\t<div class=\"elementor-column-wrap elementor-element-populated\">\n\t\t\t\t\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-243a2e8 elementor-widget elementor-widget-text-editor\" data-id=\"243a2e8\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>The <a href=\"http:\/\/www.orangepi.org\/\">Orange pi<\/a>\u00a0 that I built and installed in the chicken coop to control the light is having some problems.\u00a0 Now why do you need to have the light in the hen house computer controlled Mike, isn&#8217;t that overkill?\u00a0 First off, let me have my fun.\u00a0 Second off, chickens need three things to generate an egg, food, clean water and light.\u00a0 Third, see my fist point.\u00a0 Now to the issues that the Orange pi is having.\u00a0 It really isn&#8217;t designed to operate basically outdoors, they are fragile little computers that are not really suited for the wild temperature swings and humidity changes.\u00a0 Plus they run from a <a href=\"https:\/\/icdn4.digitaltrends.com\/image\/sandisk-200gb-microsd-card-1200x630-c-ar1.91.jpg?ver=1\">microSD<\/a> memory card and those things are notoriously flaky at the best of times.\u00a0 So I got it into my head to just use an <a href=\"https:\/\/www.arduino.cc\/\">arduino<\/a> to control the light, but then I wanted to be able to have it on the farm computer network.\u00a0 Enter the <a href=\"https:\/\/en.wikipedia.org\/wiki\/NodeMCU\">nodemcu<\/a>.\u00a0 it has built in WiFi and is basically arduino compatible.\u00a0 So I set about bread boarding up a prototype until with two temperature and humidity sensors as well as a barometric sensor and of course a relay to do the original intended purpose of controlling the light in the hen house.\u00a0\u00a0<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-ca71028 elementor-widget elementor-widget-image\" data-id=\"ca71028\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t<img width=\"225\" height=\"300\" src=\"https:\/\/i0.wp.com\/simervillefarm.com\/wp-content\/uploads\/2019\/01\/IMG_20190116_220700.jpg?fit=225%2C300&amp;ssl=1\" class=\"attachment-medium size-medium\" alt=\"\" loading=\"lazy\" srcset=\"https:\/\/i0.wp.com\/simervillefarm.com\/wp-content\/uploads\/2019\/01\/IMG_20190116_220700.jpg?w=3036&amp;ssl=1 3036w, https:\/\/i0.wp.com\/simervillefarm.com\/wp-content\/uploads\/2019\/01\/IMG_20190116_220700.jpg?resize=225%2C300&amp;ssl=1 225w, https:\/\/i0.wp.com\/simervillefarm.com\/wp-content\/uploads\/2019\/01\/IMG_20190116_220700.jpg?resize=768%2C1024&amp;ssl=1 768w, https:\/\/i0.wp.com\/simervillefarm.com\/wp-content\/uploads\/2019\/01\/IMG_20190116_220700.jpg?resize=600%2C800&amp;ssl=1 600w, https:\/\/i0.wp.com\/simervillefarm.com\/wp-content\/uploads\/2019\/01\/IMG_20190116_220700.jpg?w=2340 2340w\" sizes=\"(max-width: 225px) 100vw, 225px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-db61ac3 elementor-widget elementor-widget-text-editor\" data-id=\"db61ac3\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>With all that horribleness done I was able to set to writing the code.\u00a0 Why two temperature and humidity sensors you ask?\u00a0 I will have one inside the hen house just so I can monitor what the environment is inside the coop.\u00a0 The second one will be mounted in a protective pipe and attached to the side of the coop along with the barometric pressure sensor to log the outside weather.\u00a0 With that data I hope to write a program that can forecast the weather here on the farm.<\/p><p>Then I had to sit down in front of <a href=\"http:\/\/kicad-pcb.org\/\">KiCad<\/a> and design the layout for the printed circuit board I need to etch and mount the components to.\u00a0<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2d8155e elementor-widget elementor-widget-image\" data-id=\"2d8155e\" data-element_type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-image\">\n\t\t\t\t\t\t\t\t\t\t\t\t<img width=\"300\" height=\"225\" src=\"https:\/\/i0.wp.com\/simervillefarm.com\/wp-content\/uploads\/2019\/01\/IMG_20190117_115745.jpg?fit=300%2C225&amp;ssl=1\" class=\"attachment-medium size-medium\" alt=\"\" loading=\"lazy\" srcset=\"https:\/\/i0.wp.com\/simervillefarm.com\/wp-content\/uploads\/2019\/01\/IMG_20190117_115745.jpg?w=4048&amp;ssl=1 4048w, https:\/\/i0.wp.com\/simervillefarm.com\/wp-content\/uploads\/2019\/01\/IMG_20190117_115745.jpg?resize=300%2C225&amp;ssl=1 300w, https:\/\/i0.wp.com\/simervillefarm.com\/wp-content\/uploads\/2019\/01\/IMG_20190117_115745.jpg?resize=768%2C576&amp;ssl=1 768w, https:\/\/i0.wp.com\/simervillefarm.com\/wp-content\/uploads\/2019\/01\/IMG_20190117_115745.jpg?resize=1024%2C768&amp;ssl=1 1024w, https:\/\/i0.wp.com\/simervillefarm.com\/wp-content\/uploads\/2019\/01\/IMG_20190117_115745.jpg?resize=380%2C285&amp;ssl=1 380w, https:\/\/i0.wp.com\/simervillefarm.com\/wp-content\/uploads\/2019\/01\/IMG_20190117_115745.jpg?resize=285%2C214&amp;ssl=1 285w, https:\/\/i0.wp.com\/simervillefarm.com\/wp-content\/uploads\/2019\/01\/IMG_20190117_115745.jpg?resize=600%2C450&amp;ssl=1 600w, https:\/\/i0.wp.com\/simervillefarm.com\/wp-content\/uploads\/2019\/01\/IMG_20190117_115745.jpg?w=2340 2340w, https:\/\/i0.wp.com\/simervillefarm.com\/wp-content\/uploads\/2019\/01\/IMG_20190117_115745.jpg?w=3510 3510w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f206e74 elementor-widget elementor-widget-text-editor\" data-id=\"f206e74\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t<div class=\"elementor-text-editor elementor-clearfix\">\n\t\t\t\t<p>I am sure that this layout will change several times before I am finished.\u00a0 I have plans to build several of these modules to do various tasks on the farm.\u00a0 I want to make a simpler one that just does temperature, humidity and a relay for the light for the second coop.\u00a0 I would also like to make one that would replace the arduino I built up 5 or so years ago to control the heat lamp, and light for my chicken brooder.\u00a0 I am also thinking of one that would regulate the temperature and humidity in the green house that that I have yet to build.\u00a0 Oh and don&#8217;t forget about the monitor I would like for the hay loft to warn me of potential loft fires.\u00a0 Yeah I can see lots of uses for these little things.\u00a0 I am actually wondering if there is a market for such a modular <a href=\"https:\/\/en.wikipedia.org\/wiki\/Internet_of_things\">IoT<\/a> system like this.\u00a0 Hmmm things to think about.<\/p>\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>The Orange pi\u00a0 that I built and installed in the chicken coop to control the light is having some problems.\u00a0 Now why do you need to have the light in the hen house computer controlled Mike, isn&#8217;t that overkill?\u00a0 First off, let me have my fun.\u00a0 Second off, chickens need three things to generate an<\/p>\n<p class=\"more-link\"><a href=\"https:\/\/simervillefarm.com\/?p=173\" class=\"themebutton2\">Read More<\/a><\/p>\n","protected":false},"author":2,"featured_media":174,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[7],"tags":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/simervillefarm.com\/wp-content\/uploads\/2019\/01\/IMG_20190116_220700.jpg?fit=3036%2C4048&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paynvj-2N","_links":{"self":[{"href":"https:\/\/simervillefarm.com\/index.php?rest_route=\/wp\/v2\/posts\/173"}],"collection":[{"href":"https:\/\/simervillefarm.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/simervillefarm.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/simervillefarm.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/simervillefarm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=173"}],"version-history":[{"count":3,"href":"https:\/\/simervillefarm.com\/index.php?rest_route=\/wp\/v2\/posts\/173\/revisions"}],"predecessor-version":[{"id":178,"href":"https:\/\/simervillefarm.com\/index.php?rest_route=\/wp\/v2\/posts\/173\/revisions\/178"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/simervillefarm.com\/index.php?rest_route=\/wp\/v2\/media\/174"}],"wp:attachment":[{"href":"https:\/\/simervillefarm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/simervillefarm.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/simervillefarm.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}