{"id":300,"date":"2012-03-28T22:09:00","date_gmt":"2012-03-29T03:09:00","guid":{"rendered":"http:\/\/kylegabriel.com\/projects\/2012\/03\/irrigation-controller-and-timer.html"},"modified":"2019-08-30T09:35:38","modified_gmt":"2019-08-30T14:35:38","slug":"irrigation-controller-and-timer","status":"publish","type":"post","link":"https:\/\/kylegabriel.com\/projects\/2012\/03\/irrigation-controller-and-timer.html","title":{"rendered":"Garden Irrigation Automation"},"content":{"rendered":"\n<p>I found the highest and brightest part of my yard, cleared the vegetation, lightly tilled the earth, and laid bricks and 4x4s to walk on. I erected a fence from bamboo harvested in the yard, to protect it from an American bulldog that shares the yard. <\/p>\n\n\n\n<!--more-->\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<style type=\"text\/css\">\r\n\t#foogallery-gallery-1167 .fg-image {\r\n        width: 300px;\r\n    }\r\n<\/style>\r\n\t\t\t\t<div class=\"foogallery foogallery-container foogallery-default foogallery-lightbox-foobox-free fg-gutter-10 fg-center fg-default fg-light fg-border-thin fg-shadow-small fg-loading-default fg-loaded-fade-in fg-caption-hover fg-hover-fade fg-hover-zoom fg-ready\" id=\"foogallery-gallery-1167\" data-foogallery=\"{&quot;item&quot;:{&quot;showCaptionTitle&quot;:true,&quot;showCaptionDescription&quot;:true},&quot;lazy&quot;:true}\" >\r\n\t<div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2287.jpg\" data-attachment-id=\"1213\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img fetchpriority=\"high\" decoding=\"async\" width=\"300\" height=\"250\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2287\/1585114961.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22300%22%20height%3D%22250%22%20viewBox%3D%220%200%20300%20250%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2350.jpg\" data-attachment-id=\"1214\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"300\" height=\"250\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2350\/289323739.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22300%22%20height%3D%22250%22%20viewBox%3D%220%200%20300%20250%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2356.jpg\" data-attachment-id=\"1215\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"300\" height=\"250\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2356\/3376346530.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22300%22%20height%3D%22250%22%20viewBox%3D%220%200%20300%20250%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><\/div>\r\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>Although the box I chose to house the circuitry in is waterproof, space constraints and my desire to control and monitor from within my house influenced the design heavily. I also wanted this project to be modular, so if I wanted to change the sensors and power other devices, I could easily do so.<\/p>\n\n\n\n<p>The design I ended up with was comprised of three barrel plugs and a single 3-lead audio plug (float sensor, pump pressure switch sensor, temperature sensor, and rain sensor), two solid state relay-controlled electrical outlets (well pump and solenoid valve), and a blue LED next to each outlet as a power indicator.<\/p>\n\n\n\n<p>The 1\/2 HP well pump is rated output is 9 gallons per minute (GPM) @ 30 or 55 pounds per square inch (PSI), and has a current rating of 8.5 amps. At 120 volts, that&#8217;s 1020 watts of power consumption. If we assume these figures are accurate, we can take Atlanta&#8217;s January, 2012 electricity cost of $0.113\/kWh (killoWatt-hour) and project how much it would cost to water every day of an 8-month growing season, for 30 seconds.<\/p>\n\n\n\n<p>(30 seconds\/day) x (30 days\/month) x (8 months\/year) x (1 minute\/60 seconds) x (1 hour\/60 minutes) = 2 hours.<br>(2 hours run time) x (1020 Watts) = 2040 Watt-hours = 2.04 kWh.<br>(2.04 kWh) x ($0.113\/kWh) = $0.226<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<style type=\"text\/css\">\r\n\t#foogallery-gallery-1168 .fg-image {\r\n        width: 300px;\r\n    }\r\n<\/style>\r\n\t\t\t\t<div class=\"foogallery foogallery-container foogallery-default foogallery-lightbox-foobox-free fg-gutter-10 fg-center fg-default fg-light fg-border-thin fg-shadow-small fg-loading-default fg-loaded-fade-in fg-caption-hover fg-hover-fade fg-hover-zoom fg-ready\" id=\"foogallery-gallery-1168\" data-foogallery=\"{&quot;item&quot;:{&quot;showCaptionTitle&quot;:true,&quot;showCaptionDescription&quot;:true},&quot;lazy&quot;:true}\" >\r\n\t<div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2307.jpg\" data-attachment-id=\"1210\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"300\" height=\"250\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2307\/1894144401.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22300%22%20height%3D%22250%22%20viewBox%3D%220%200%20300%20250%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2303.jpg\" data-attachment-id=\"1211\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"300\" height=\"250\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2303\/3938652565.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22300%22%20height%3D%22250%22%20viewBox%3D%220%200%20300%20250%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2304.jpg\" data-attachment-id=\"1212\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"300\" height=\"250\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2304\/3266827150.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22300%22%20height%3D%22250%22%20viewBox%3D%220%200%20300%20250%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><\/div>\r\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"> <strong>Control Box<\/strong> <\/h2>\n\n\n\n<p>The electrical components include an ATMega328, two Crydom D1210 solid state relays, <a href=\"http:\/\/www.sparkfun.com\/products\/9767\" target=\"_blank\" rel=\"noreferrer noopener\">7-segment display<\/a>, reed switch float sensor, 24-volt solenoid valve (sprinkler valve), real time clock module, temperature sensor (10k thermistor), two blue LEDs, <a href=\"http:\/\/www.sparkfun.com\/products\/9117\" target=\"_blank\" rel=\"noreferrer noopener\">push-button rotary encoder<\/a>, and a 5-volt USB power adapter.<\/p>\n\n\n\n<p>The ATMega uses the relays to control the power to the well pump and solenoid valve connected to the house&#8217;s water supply. A schedule is set with the rotary encoder and the real time clock is referenced to turn the well pump on at the scheduled time. If the rain barrels begin to run low on water, the float sensor will signal for the solenoid valve to be opened at the house&#8217;s spigot to begin filling a barrel with water. This prevents the water level from falling below the pump&#8217;s intake pipe and allowing the pump to run dry, seizing or destroying the pump in the process. The temperature sensor signals if the temperature is too low and prevents the pump and valve from operating. The rain sensor prevents watering during or following a rainfall.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<style type=\"text\/css\">\r\n\t#foogallery-gallery-1169 .fg-image {\r\n        width: 250px;\r\n    }\r\n<\/style>\r\n\t\t\t\t<div class=\"foogallery foogallery-container foogallery-default foogallery-lightbox-foobox-free fg-gutter-10 fg-center fg-default fg-light fg-border-thin fg-shadow-small fg-loading-default fg-loaded-fade-in fg-caption-hover fg-hover-fade fg-hover-zoom fg-ready\" id=\"foogallery-gallery-1169\" data-foogallery=\"{&quot;item&quot;:{&quot;showCaptionTitle&quot;:true,&quot;showCaptionDescription&quot;:true},&quot;lazy&quot;:true}\" >\r\n\t<div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2301.jpg\" data-attachment-id=\"1198\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2301\/1493409651.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2302.jpg\" data-attachment-id=\"1199\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2302\/3387154030.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2310.jpg\" data-attachment-id=\"1200\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2310\/2826821411.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2317.jpg\" data-attachment-id=\"1201\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2317\/3168243908.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2322.jpg\" data-attachment-id=\"1202\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2322\/4010502503.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2330.jpg\" data-attachment-id=\"1203\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2330\/2755280039.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2331.jpg\" data-attachment-id=\"1204\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2331\/865922243.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2332.jpg\" data-attachment-id=\"1205\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2332\/2742857182.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2333.jpg\" data-attachment-id=\"1206\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2333\/1298622018.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2336.jpg\" data-attachment-id=\"1207\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2336\/468201176.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2434.jpg\" data-attachment-id=\"1208\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2434\/325572054.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2435.jpg\" data-attachment-id=\"1209\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2435\/3248657334.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><\/div>\r\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>While powered, the stock well pump relies on a pressure switch to enable and disable the current to the motor. A situation where there may be a blockage in the outflow line would cause pressure to build up. If the pressure measured in the pump head exceeds ~50 PSI, the switch will interrupt the power to the pump to prevent damage. Because no pressure tank is installed, the line pressure quickly drops after the power loss, restoring power to the pump. This off\/on cycling rapidly occurs, about 2 to 3 times per second, and if the line pressure doesn&#8217;t return to normal, the pump could eventually burn out. To prevent this, a 5.5v USB power adapter was utilized for a solution. This acts as a signal from the pressure switch that power is being given to the pump. When this 5.5v signal is lost when the pump relay is energized, the whole system is programmed to shut down, as it indicates the pressure switch has been activated.<\/p>\n\n\n\n<p>The enclosure was opened and wires were soldered to the AC input and DC output leads. The enclosure was resealed with marine epoxy. While testing, it was discovered that the capacitor within the USB adapter prevented the voltage from dropping&nbsp;enough&nbsp;within the amount of time the pressure switch stayed off in it&#8217;s on\/off cycling (250-500 ms). This was resolved by adding resistors to drain the excess energy in the capacitor. I was able to reliably detect a drop in voltage after adding resistors in parallel reached roughly 30 Ohms.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<style type=\"text\/css\">\r\n\t#foogallery-gallery-1170 .fg-image {\r\n        width: 350px;\r\n    }\r\n<\/style>\r\n\t\t\t\t<div class=\"foogallery foogallery-container foogallery-default foogallery-lightbox-foobox-free fg-gutter-10 fg-center fg-default fg-light fg-border-thin fg-shadow-small fg-loading-default fg-loaded-fade-in fg-caption-hover fg-hover-fade fg-hover-zoom fg-ready\" id=\"foogallery-gallery-1170\" data-foogallery=\"{&quot;item&quot;:{&quot;showCaptionTitle&quot;:true,&quot;showCaptionDescription&quot;:true},&quot;lazy&quot;:true}\" >\r\n\t<div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2413.jpg\" data-attachment-id=\"1196\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"350\" height=\"300\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2413\/1828497014.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22350%22%20height%3D%22300%22%20viewBox%3D%220%200%20350%20300%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2452.jpg\" data-attachment-id=\"1197\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"350\" height=\"300\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2452\/3822432538.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22350%22%20height%3D%22300%22%20viewBox%3D%220%200%20350%20300%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><\/div>\r\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"> <strong>Operating Instructions<\/strong> <\/h2>\n\n\n\n<pre class=\"wp-block-preformatted\"> <em>-<\/em>*-*<em>-<\/em>*-*<em>-<\/em>* Operation and Navigation <em>-<\/em>*-*<em>-<\/em>*-*<em>-<\/em>*\n The current time &amp; temperature will alternate on the display by default.\n If the colon is blinking when the time is displayed, the schedule is on.\n If the colon is not blinking and stays solid, the schedule is turned off.\n While the time &amp; temperature is being displayed. The knob can be pressed\n to activate the control menu. Turn the knob to change a value, then press\n to confirm the value.\n\n <em>-<\/em>*-*<em>-<\/em>*-*<em>-<\/em>* Menu Options <em>-<\/em>*-*<em>-<\/em>*-*<em>-<\/em>*\n 1: Exit the control menu and return to displaying the current time.\n  2: Display schedule(s) in the format: start time, duration on, days\n between running, next run day (1=Mon\u20267=Sun).\n  3: Change schedule\n  A: \"#  x\" #: Which schedule, x: How many schedules to use (up to 3).\n  B: \"XXYY\" X: Starting hour, Y: Starting minute. Selecting the time will\n     confirm &amp; display the next schedule time.\n  C: \"#  x\" #: Which schedule, x: watering duration in seconds (~5\n     gallons\/minute).\n  D: \"#d x\" #: Which schedule, x: how many days between running the\n     schedule.\n  E: \"#n x\" #: Which schedule, x: Which day of the week to start schedule\n     (1=Mon\u20267=Sun).\n  4: Override the pump (to run the sprinkler) to either remain OFF or ON\n  5: Override the valve (to fill the barrels) to either remain OFF or ON\n  6: Turn the timer schedule OFF or ON\n  7: Reset the pump and valve overrides so they return to a scheduled\n     operation (if schedule is turned on)\n  8: Display temperature history over the past 24 hours, 0 is the most\n     current temperature stored\n\n -*<em>-<\/em>*-*<em>-<\/em>*-* Emergency Modes <em>-<\/em>*-*<em>-<\/em>*-*<em>-<\/em>*\n If an emergency is detected, the valve and pump will remain off until the \n button is pressed to resume normal operation. During emergency mode, one of\n the following will interupt anything currently being displayed:\n\n -E-1: The valve was open > 15 continuous seconds. This indicates the water\n is not activating the float switch in a timely manner. Ensure the hose going\n into the tank is connected &amp; clear, the valve is operational, the spigot is\n open, the tanks are free of leaks, the float switch is free to move, and the\n switch is indeed activated when the water level reaches the sensor.\n\n -E-2: The pressure switch began rapidly turning on and off or the pump has\n run dry. This indicates there is too much pressure building in the pump outlet\n or no water at the pump inlet. Ensure the outflow hose from the pump is not\n kinked, the sprinkler screen\/heads are clean, and there is an adequate amount\n of water reaching the pump inlet.\n\n -E-3: The float switch has been activated after more than 3 minutes from when\n the end of a scheduled watering. This indicates there may be a leak or water\n is being manually removed via the barrel's spigot. If the barrels were allowed\n to fill, which could take over a minute of the valve turning on and off [to\n equilibriate the water levels], the float switch should not activate this late.\n If water is being manually taken out, remember to exit emergency mode in order\n to resume the schedule.<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"> <strong>Water Storage and Delivery System<\/strong> <\/h2>\n\n\n\n<p>Water enters one 55-gallon barrel by flex tubing from the gutter while hoses connecting all 5 barrels equilibrates the water throughout. The pump siphons from one barrel and pumps it through a garden hose that runs out to the garden.<\/p>\n\n\n\n<p>The outflow pipe from the pump rises higher than the highest possible water line, to prevent water from siphoning out while the pump is not running. This is only possible when a separate pipe extends from the top of the bend to allow air to be introduced into this bend immediately following the pump being turned off. This vent serves two purposes- it allows air to flow into the top portion of the pipe when the pump shuts off, preventing the gravitational flow of water toward the sprinkler from drawing all water out from the barrels, and it also alters the water pressure that&#8217;s allowed to reach the sprinkler by either closing (increase pressure) or opening (decrease pressure) the Ball-valve 1 (see diagram below), diverting the flow back into the barrel so no water is lost. With Ball-valve 2 in-line after the bend, there is now the ability to completely alter the pressure from 0% to ~100% beyond Ball-valve 2.<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2012\/03\/Pressure-Control-System.jpg\" alt=\"\" class=\"wp-image-260\" width=\"482\" height=\"302\" srcset=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2012\/03\/Pressure-Control-System.jpg 482w, https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2012\/03\/Pressure-Control-System-300x188.jpg 300w, https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2012\/03\/Pressure-Control-System-150x94.jpg 150w\" sizes=\"(max-width: 482px) 100vw, 482px\" \/><figcaption>Simple piping system to introduce air to prevent siphoning following pump shutoff<\/figcaption><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\nThe float sensor is inserted through a drilled hole in the barrel and tightened for a water-tight seal. The 10K thermistor and 10K resistor were encased in heat-shrink tubing and epoxy for water resistance.\n\n<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<style type=\"text\/css\">\r\n\t#foogallery-gallery-1171 .fg-image {\r\n        width: 250px;\r\n    }\r\n<\/style>\r\n\t\t\t\t<div class=\"foogallery foogallery-container foogallery-default foogallery-lightbox-foobox-free fg-gutter-10 fg-center fg-default fg-light fg-border-thin fg-shadow-small fg-loading-default fg-loaded-fade-in fg-caption-hover fg-hover-fade fg-hover-zoom fg-ready\" id=\"foogallery-gallery-1171\" data-foogallery=\"{&quot;item&quot;:{&quot;showCaptionTitle&quot;:true,&quot;showCaptionDescription&quot;:true},&quot;lazy&quot;:true}\" >\r\n\t<div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2486.jpg\" data-attachment-id=\"1192\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2486\/2836992232.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2617.jpg\" data-attachment-id=\"1193\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2617\/3549049070.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2622.jpg\" data-attachment-id=\"1194\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2622\/4192981685.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2626.jpg\" data-attachment-id=\"1195\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2626\/1674484401.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2423.jpg\" data-attachment-id=\"1185\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2423\/1975579829.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2425.jpg\" data-attachment-id=\"1186\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2425\/2434676272.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2426.jpg\" data-attachment-id=\"1187\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2426\/33453869.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2427.jpg\" data-attachment-id=\"1188\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2427\/1696764089.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2472.jpg\" data-attachment-id=\"1189\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2472\/2033884524.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2473.jpg\" data-attachment-id=\"1190\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2473\/43932833.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2485.jpg\" data-attachment-id=\"1191\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2485\/86498313.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><\/div>\r\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"> <strong>Rain Sensor<\/strong> <\/h2>\n\n\n\n<p>\nThe principle behind how this works is conduction. When there is no water in the cup, air separates the two screws. A wire connected to one screw carrying a 5-volt potential and the other screw is wired to an ADC pin of the ATMega. Since this large air gap is non-conductive, these 5 volts are not detectable by the ATMega. When rainwater fills the cap, it acts as a conductor, allowing electrons to pass from one wire to the other, completing the circuit and signaling to postpone irrigating the garden.\n\n<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<style type=\"text\/css\">\r\n\t#foogallery-gallery-1172 .fg-image {\r\n        width: 250px;\r\n    }\r\n<\/style>\r\n\t\t\t\t<div class=\"foogallery foogallery-container foogallery-default foogallery-lightbox-foobox-free fg-gutter-10 fg-center fg-default fg-light fg-border-thin fg-shadow-small fg-loading-default fg-loaded-fade-in fg-caption-hover fg-hover-fade fg-hover-zoom fg-ready\" id=\"foogallery-gallery-1172\" data-foogallery=\"{&quot;item&quot;:{&quot;showCaptionTitle&quot;:true,&quot;showCaptionDescription&quot;:true},&quot;lazy&quot;:true}\" >\r\n\t<div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2468.jpg\" data-attachment-id=\"1181\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2468\/2827977756.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2469.jpg\" data-attachment-id=\"1182\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2469\/1184124800.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2482.jpg\" data-attachment-id=\"1183\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2482\/3444821690.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2483.jpg\" data-attachment-id=\"1184\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"250\" height=\"200\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2483\/1526013662.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22250%22%20height%3D%22200%22%20viewBox%3D%220%200%20250%20200%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><\/div>\r\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\"> <strong>Water Collection Filter<\/strong> <\/h2>\n\n\n\n<p>\nTo prevent large debris from entering the barrels, a self-cleaning filter was made from two symmetrical gutter spouts connected together and a metal screen mounted inside at a 45-degree angle from the entry port. Debris that enters is pushed by the water to exit the filter.\n\n<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n<style type=\"text\/css\">\r\n\t#foogallery-gallery-1173 .fg-image {\r\n        width: 300px;\r\n    }\r\n<\/style>\r\n\t\t\t\t<div class=\"foogallery foogallery-container foogallery-default foogallery-lightbox-foobox-free fg-gutter-10 fg-center fg-default fg-light fg-border-thin fg-shadow-small fg-loading-default fg-loaded-fade-in fg-caption-hover fg-hover-fade fg-hover-zoom fg-ready\" id=\"foogallery-gallery-1173\" data-foogallery=\"{&quot;item&quot;:{&quot;showCaptionTitle&quot;:true,&quot;showCaptionDescription&quot;:true},&quot;lazy&quot;:true}\" >\r\n\t<div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2633.jpg\" data-attachment-id=\"1178\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"300\" height=\"250\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2633\/701614202.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22300%22%20height%3D%22250%22%20viewBox%3D%220%200%20300%20250%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2641.jpg\" data-attachment-id=\"1179\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"300\" height=\"250\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2641\/301655088.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22300%22%20height%3D%22250%22%20viewBox%3D%220%200%20300%20250%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><div class=\"fg-item fg-type-image fg-idle\"><figure class=\"fg-item-inner\"><a href=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2015\/08\/dsc2642.jpg\" data-attachment-id=\"1180\" data-type=\"image\" class=\"fg-thumb\"><span class=\"fg-image-wrap\"><img decoding=\"async\" width=\"300\" height=\"250\" class=\"skip-lazy fg-image\" data-src-fg=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/cache\/2015\/08\/dsc2642\/2451377444.jpg\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22300%22%20height%3D%22250%22%20viewBox%3D%220%200%20300%20250%22%3E%3C%2Fsvg%3E\" loading=\"eager\"><\/span><span class=\"fg-image-overlay\"><\/span><\/a><figcaption class=\"fg-caption\"><div class=\"fg-caption-inner\"><\/div><\/figcaption><\/figure><div class=\"fg-loader\"><\/div><\/div><\/div>\r\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\nFinally, a photo of my current garden using this system, at the beginning of the growing season.&nbsp;I hope this has served as entertainment, inspiration, or a practical how-to for your own garden project.\n\n<\/p>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2012\/03\/DSC2627-1024x613-1024x613.jpg\" alt=\"\" class=\"wp-image-258\" width=\"768\" height=\"460\" srcset=\"https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2012\/03\/DSC2627-1024x613.jpg 1024w, https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2012\/03\/DSC2627-1024x613-300x180.jpg 300w, https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2012\/03\/DSC2627-1024x613-250x150.jpg 250w, https:\/\/kylegabriel.com\/projects\/wp-content\/uploads\/sites\/3\/2012\/03\/DSC2627-1024x613-150x90.jpg 150w\" sizes=\"(max-width: 768px) 100vw, 768px\" \/><\/figure>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>I found the highest and brightest part of my yard, cleared the vegetation, lightly tilled the earth, and laid bricks and 4x4s to walk on. I erected a fence from bamboo harvested in the yard, to protect it from an American bulldog that shares the yard.<\/p>\n","protected":false},"author":1,"featured_media":163,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,9,24],"tags":[],"class_list":["post-300","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-automation","category-cultivation","category-microcontroller"],"_links":{"self":[{"href":"https:\/\/kylegabriel.com\/projects\/wp-json\/wp\/v2\/posts\/300"}],"collection":[{"href":"https:\/\/kylegabriel.com\/projects\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kylegabriel.com\/projects\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kylegabriel.com\/projects\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kylegabriel.com\/projects\/wp-json\/wp\/v2\/comments?post=300"}],"version-history":[{"count":0,"href":"https:\/\/kylegabriel.com\/projects\/wp-json\/wp\/v2\/posts\/300\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kylegabriel.com\/projects\/wp-json\/wp\/v2\/media\/163"}],"wp:attachment":[{"href":"https:\/\/kylegabriel.com\/projects\/wp-json\/wp\/v2\/media?parent=300"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kylegabriel.com\/projects\/wp-json\/wp\/v2\/categories?post=300"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kylegabriel.com\/projects\/wp-json\/wp\/v2\/tags?post=300"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}