window.BOLD.common.Shopify.saveProduct("grove-plant-moisture-sensor", 229356142622, {"id":229356142622,"title":"Grove Resistive Plant Moisture Sensor","handle":"grove-plant-moisture-sensor","description":"\u003ch1 class=\"p1\"\u003e\u003cspan class=\"s1\"\u003eGrove Resistive Plant Moisture Sensor\u003c\/span\u003e\u003c\/h1\u003e\n\u003cp class=\"p1\"\u003e\u003cspan class=\"s1\"\u003eThe \u003cspan class=\"s2\"\u003eGrove - Moisture Sensor\u003c\/span\u003e can be used to detect the moisture of soil. It can be used to decide if the plants in a garden need watering. It can be used in gardens to automate watering plants. It can be used very easily by just inserting the sensor into the soil and reading the output using ADC.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp class=\"p2\"\u003eThis uses a Grove Analog port.\u003c\/p\u003e\n\u003cp class=\"p1\"\u003e\u003cstrong\u003e\u003cspan class=\"s1\"\u003eNOTE: This sensor is not hardened against contamination or exposure of the control circuitry to water and may be prone to electrolytic corrosion across the probes. It is designed for experimenting and prototyping only.\u003c\/span\u003e\u003cspan class=\"s1\"\u003e I\u003c\/span\u003e\u003cspan class=\"s1\"\u003et isn’t well suited to being used outdoors.\u003c\/span\u003e\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp class=\"p2\"\u003e \u003c\/p\u003e\n\u003ch2 class=\"p3\"\u003e\u003cspan class=\"s1\"\u003eFeatures\u003c\/span\u003e\u003c\/h2\u003e\n\u003cul class=\"ul1\"\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eGrove compatible interface\u003c\/span\u003e\u003c\/li\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eEasy to use\u003c\/span\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch2\u003e\u003cspan class=\"s1\"\u003eInterpreting the Output\u003c\/span\u003e\u003c\/h2\u003e\n\u003cp class=\"p2\"\u003e \u003c\/p\u003e\n\u003ch3 class=\"p2\"\u003eSoftware for Arduino\u003c\/h3\u003e\n\u003cp\u003eThe Arduino has a 10 bit ADC (Analog to digital converter). See specifications above.\u003c\/p\u003e\n\u003cpre\u003e\/\/ Test code for Grove - Moisture Sensor \nint sensorPin = A0; \/\/ select the input pin for the moisture sensor\nint sensorValue = 0; \/\/ variable to store the value coming from the sensor7=\n\nvoid setup() {\n \n Serial.begin(9600);\n}\nvoid loop() {\n \/\/ read the value from the sensor:\n sensorValue = analogRead(sensorPin);\n Serial.print(\"sensor = \" );\n Serial.println(sensorValue);\n delay(1000);\n}\n\u003c\/pre\u003e\n\u003ch3 class=\"p1\"\u003e\u003c\/h3\u003e\n\u003ch3 class=\"p1\"\u003e\u003cspan class=\"s1\"\u003eSoftware for the Raspberry Pi \u003c\/span\u003e\u003c\/h3\u003e\n\u003cp class=\"p1\"\u003e\u003cspan class=\"s1\"\u003e(\u003ca href=\"https:\/\/store.switchdoc.com\/grove-4-channel-16-bit-analog-to-digital-converter\/\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eusing the 4 Channel 16 bit ADC for the Raspberry Pi\u003c\/a\u003e)\u003c\/span\u003e\u003c\/p\u003e\n\u003cp class=\"p1\"\u003eThis Python code snippet is taken from SmartPlantPi. This uses a 16 bit ADC.\u003c\/p\u003e\n\u003cp class=\"p1\"\u003e \u003c\/p\u003e\n\u003cpre\u003e if (config.ADS1115_Present):\n Moisture_Raw = ads1115.readADCSingleEnded(config.moistureADPin, gain, sps)\/7 # AIN0 wired to AirQuality Sensor\n state.Moisture_Humidity = Moisture_Raw\/7\n if (DEBUG):\n print \"Pre Limit Moisture_Humidity=\", state.Moisture_Humidity\n if (state.Moisture_Humidity \u0026gt;100):\n state.Moisture_Humidity = 100;\n if (state.Moisture_Humidity \u0026lt;0):\n state.Moisture_Humidity = 0;\n\u003c\/pre\u003e\n\u003cp class=\"p2\"\u003e \u003c\/p\u003e\n\u003ch2 class=\"p3\"\u003e\u003cspan class=\"s1\"\u003eSpecification\u003c\/span\u003e\u003c\/h2\u003e\n\u003cul class=\"ul1\"\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eOperating voltage: 3.3~5V\u003c\/span\u003e\u003c\/li\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eOperating current: 35mA\u003c\/span\u003e\u003c\/li\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eSensor Output Value in dry soil: 0~ 300 (10 bit ADC - 0 - 1024)\u003c\/span\u003e\u003c\/li\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eSensor Output Value in humid soil: 300~700 (10 bit ADC - 0 - 1024)\u003c\/span\u003e\u003c\/li\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eSensor Output Value in water: 700 ~ 950 (10 bit ADC - 0 - 1024)\u003c\/span\u003e\u003c\/li\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003ePCB size: 2.0cm X 6.0cm\u003c\/span\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cmeta charset=\"utf-8\"\u003e\u003cbr\u003e# Here are suggested sensor values:\u003cbr\u003e# Min Typ Max Condition # 0 0 0 sensor in open air \u003cbr\u003e# 0 20 300 sensor in dry soil \u003cbr\u003e# 300 580 700 sensor in humid soil \u003cbr\u003e# 700 940 950 sensor in water","published_at":"2017-10-19T21:23:23-07:00","created_at":"2017-10-19T21:23:24-07:00","vendor":"vendor-unknown","type":"Shop All,Grove,Sensors,Raspberry Pi,Arduino,ESP8266","tags":["Garden"],"price":300,"price_min":300,"price_max":300,"available":true,"price_varies":false,"compare_at_price":995,"compare_at_price_min":995,"compare_at_price_max":995,"compare_at_price_varies":false,"variants":[{"id":3340934709278,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"0225-GMOSN-DSBT","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"Grove Resistive Plant Moisture Sensor","public_title":null,"options":["Default Title"],"price":300,"weight":23,"compare_at_price":995,"inventory_quantity":219,"inventory_management":"shopify","inventory_policy":"deny","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/29e117501181e7a22436ed94a6318b27.jpg?v=1508473404","#\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/b10c108d81d4f6745858f4cf41f25c43_88df11eb-8a4e-494d-9249-1ac4bd0f6893.jpg?v=1508473404","#\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/c6c1a9cccf2a77a53803ab0761e796da.jpg?v=1508473404","#\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/9d575558176023b2b3c3edba1eb0d58f.jpg?v=1508473404","\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/7c8ad5025b76410a02e921d2c7668530.png?v=1508473404"],"featured_image":"\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/29e117501181e7a22436ed94a6318b27.jpg?v=1508473404","options":["Title"],"media":[{"alt":"Grove Plant Moisture Sensor","id":828951625772,"position":1,"preview_image":{"aspect_ratio":1.333,"height":525,"width":700,"src":"\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/29e117501181e7a22436ed94a6318b27.jpg?v=1508473404"},"aspect_ratio":1.333,"height":525,"media_type":"image","src":"\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/29e117501181e7a22436ed94a6318b27.jpg?v=1508473404","width":700},{"alt":"Grove Plant Moisture Sensor","id":828951658540,"position":2,"preview_image":{"aspect_ratio":1.333,"height":960,"width":1280,"src":"\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/b10c108d81d4f6745858f4cf41f25c43_88df11eb-8a4e-494d-9249-1ac4bd0f6893.jpg?v=1508473404"},"aspect_ratio":1.333,"height":960,"media_type":"image","src":"\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/b10c108d81d4f6745858f4cf41f25c43_88df11eb-8a4e-494d-9249-1ac4bd0f6893.jpg?v=1508473404","width":1280},{"alt":"Grove Plant Moisture Sensor","id":828951724076,"position":3,"preview_image":{"aspect_ratio":1.333,"height":960,"width":1280,"src":"\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/c6c1a9cccf2a77a53803ab0761e796da.jpg?v=1508473404"},"aspect_ratio":1.333,"height":960,"media_type":"image","src":"\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/c6c1a9cccf2a77a53803ab0761e796da.jpg?v=1508473404","width":1280},{"alt":"Grove Plant Moisture Sensor","id":828951789612,"position":4,"preview_image":{"aspect_ratio":1.0,"height":1280,"width":1280,"src":"\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/9d575558176023b2b3c3edba1eb0d58f.jpg?v=1508473404"},"aspect_ratio":1.0,"height":1280,"media_type":"image","src":"\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/9d575558176023b2b3c3edba1eb0d58f.jpg?v=1508473404","width":1280},{"alt":"Grove Plant Moisture Sensor","id":828951822380,"position":5,"preview_image":{"aspect_ratio":1.03,"height":1024,"width":1055,"src":"\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/7c8ad5025b76410a02e921d2c7668530.png?v=1508473404"},"aspect_ratio":1.03,"height":1024,"media_type":"image","src":"\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/7c8ad5025b76410a02e921d2c7668530.png?v=1508473404","width":1055}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003ch1 class=\"p1\"\u003e\u003cspan class=\"s1\"\u003eGrove Resistive Plant Moisture Sensor\u003c\/span\u003e\u003c\/h1\u003e\n\u003cp class=\"p1\"\u003e\u003cspan class=\"s1\"\u003eThe \u003cspan class=\"s2\"\u003eGrove - Moisture Sensor\u003c\/span\u003e can be used to detect the moisture of soil. It can be used to decide if the plants in a garden need watering. It can be used in gardens to automate watering plants. It can be used very easily by just inserting the sensor into the soil and reading the output using ADC.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp class=\"p2\"\u003eThis uses a Grove Analog port.\u003c\/p\u003e\n\u003cp class=\"p1\"\u003e\u003cstrong\u003e\u003cspan class=\"s1\"\u003eNOTE: This sensor is not hardened against contamination or exposure of the control circuitry to water and may be prone to electrolytic corrosion across the probes. It is designed for experimenting and prototyping only.\u003c\/span\u003e\u003cspan class=\"s1\"\u003e I\u003c\/span\u003e\u003cspan class=\"s1\"\u003et isn’t well suited to being used outdoors.\u003c\/span\u003e\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp class=\"p2\"\u003e \u003c\/p\u003e\n\u003ch2 class=\"p3\"\u003e\u003cspan class=\"s1\"\u003eFeatures\u003c\/span\u003e\u003c\/h2\u003e\n\u003cul class=\"ul1\"\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eGrove compatible interface\u003c\/span\u003e\u003c\/li\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eEasy to use\u003c\/span\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch2\u003e\u003cspan class=\"s1\"\u003eInterpreting the Output\u003c\/span\u003e\u003c\/h2\u003e\n\u003cp class=\"p2\"\u003e \u003c\/p\u003e\n\u003ch3 class=\"p2\"\u003eSoftware for Arduino\u003c\/h3\u003e\n\u003cp\u003eThe Arduino has a 10 bit ADC (Analog to digital converter). See specifications above.\u003c\/p\u003e\n\u003cpre\u003e\/\/ Test code for Grove - Moisture Sensor \nint sensorPin = A0; \/\/ select the input pin for the moisture sensor\nint sensorValue = 0; \/\/ variable to store the value coming from the sensor7=\n\nvoid setup() {\n \n Serial.begin(9600);\n}\nvoid loop() {\n \/\/ read the value from the sensor:\n sensorValue = analogRead(sensorPin);\n Serial.print(\"sensor = \" );\n Serial.println(sensorValue);\n delay(1000);\n}\n\u003c\/pre\u003e\n\u003ch3 class=\"p1\"\u003e\u003c\/h3\u003e\n\u003ch3 class=\"p1\"\u003e\u003cspan class=\"s1\"\u003eSoftware for the Raspberry Pi \u003c\/span\u003e\u003c\/h3\u003e\n\u003cp class=\"p1\"\u003e\u003cspan class=\"s1\"\u003e(\u003ca href=\"https:\/\/store.switchdoc.com\/grove-4-channel-16-bit-analog-to-digital-converter\/\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eusing the 4 Channel 16 bit ADC for the Raspberry Pi\u003c\/a\u003e)\u003c\/span\u003e\u003c\/p\u003e\n\u003cp class=\"p1\"\u003eThis Python code snippet is taken from SmartPlantPi. This uses a 16 bit ADC.\u003c\/p\u003e\n\u003cp class=\"p1\"\u003e \u003c\/p\u003e\n\u003cpre\u003e if (config.ADS1115_Present):\n Moisture_Raw = ads1115.readADCSingleEnded(config.moistureADPin, gain, sps)\/7 # AIN0 wired to AirQuality Sensor\n state.Moisture_Humidity = Moisture_Raw\/7\n if (DEBUG):\n print \"Pre Limit Moisture_Humidity=\", state.Moisture_Humidity\n if (state.Moisture_Humidity \u0026gt;100):\n state.Moisture_Humidity = 100;\n if (state.Moisture_Humidity \u0026lt;0):\n state.Moisture_Humidity = 0;\n\u003c\/pre\u003e\n\u003cp class=\"p2\"\u003e \u003c\/p\u003e\n\u003ch2 class=\"p3\"\u003e\u003cspan class=\"s1\"\u003eSpecification\u003c\/span\u003e\u003c\/h2\u003e\n\u003cul class=\"ul1\"\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eOperating voltage: 3.3~5V\u003c\/span\u003e\u003c\/li\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eOperating current: 35mA\u003c\/span\u003e\u003c\/li\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eSensor Output Value in dry soil: 0~ 300 (10 bit ADC - 0 - 1024)\u003c\/span\u003e\u003c\/li\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eSensor Output Value in humid soil: 300~700 (10 bit ADC - 0 - 1024)\u003c\/span\u003e\u003c\/li\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eSensor Output Value in water: 700 ~ 950 (10 bit ADC - 0 - 1024)\u003c\/span\u003e\u003c\/li\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003ePCB size: 2.0cm X 6.0cm\u003c\/span\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cmeta charset=\"utf-8\"\u003e\u003cbr\u003e# Here are suggested sensor values:\u003cbr\u003e# Min Typ Max Condition # 0 0 0 sensor in open air \u003cbr\u003e# 0 20 300 sensor in dry soil \u003cbr\u003e# 300 580 700 sensor in humid soil \u003cbr\u003e# 700 940 950 sensor in water"});window.BOLD.common.Shopify.saveVariant(3340934709278, { variant: {"id":3340934709278,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"0225-GMOSN-DSBT","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"Grove Resistive Plant Moisture Sensor","public_title":null,"options":["Default Title"],"price":300,"weight":23,"compare_at_price":995,"inventory_quantity":219,"inventory_management":"shopify","inventory_policy":"deny","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]}, inventory_quantity: 219, product_id: 229356142622, product_handle: "grove-plant-moisture-sensor", price: 300, variant_title: "Default Title", group_id: '', csp_metafield: {}});window.BOLD.apps_installed = {"Product Upsell":3} || {};window.BOLD.common.Shopify.saveProduct("grove-plant-moisture-sensor", 229356142622, {"id":229356142622,"title":"Grove Resistive Plant Moisture Sensor","handle":"grove-plant-moisture-sensor","description":"\u003ch1 class=\"p1\"\u003e\u003cspan class=\"s1\"\u003eGrove Resistive Plant Moisture Sensor\u003c\/span\u003e\u003c\/h1\u003e\n\u003cp class=\"p1\"\u003e\u003cspan class=\"s1\"\u003eThe \u003cspan class=\"s2\"\u003eGrove - Moisture Sensor\u003c\/span\u003e can be used to detect the moisture of soil. It can be used to decide if the plants in a garden need watering. It can be used in gardens to automate watering plants. It can be used very easily by just inserting the sensor into the soil and reading the output using ADC.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp class=\"p2\"\u003eThis uses a Grove Analog port.\u003c\/p\u003e\n\u003cp class=\"p1\"\u003e\u003cstrong\u003e\u003cspan class=\"s1\"\u003eNOTE: This sensor is not hardened against contamination or exposure of the control circuitry to water and may be prone to electrolytic corrosion across the probes. It is designed for experimenting and prototyping only.\u003c\/span\u003e\u003cspan class=\"s1\"\u003e I\u003c\/span\u003e\u003cspan class=\"s1\"\u003et isn’t well suited to being used outdoors.\u003c\/span\u003e\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp class=\"p2\"\u003e \u003c\/p\u003e\n\u003ch2 class=\"p3\"\u003e\u003cspan class=\"s1\"\u003eFeatures\u003c\/span\u003e\u003c\/h2\u003e\n\u003cul class=\"ul1\"\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eGrove compatible interface\u003c\/span\u003e\u003c\/li\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eEasy to use\u003c\/span\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch2\u003e\u003cspan class=\"s1\"\u003eInterpreting the Output\u003c\/span\u003e\u003c\/h2\u003e\n\u003cp class=\"p2\"\u003e \u003c\/p\u003e\n\u003ch3 class=\"p2\"\u003eSoftware for Arduino\u003c\/h3\u003e\n\u003cp\u003eThe Arduino has a 10 bit ADC (Analog to digital converter). See specifications above.\u003c\/p\u003e\n\u003cpre\u003e\/\/ Test code for Grove - Moisture Sensor \nint sensorPin = A0; \/\/ select the input pin for the moisture sensor\nint sensorValue = 0; \/\/ variable to store the value coming from the sensor7=\n\nvoid setup() {\n \n Serial.begin(9600);\n}\nvoid loop() {\n \/\/ read the value from the sensor:\n sensorValue = analogRead(sensorPin);\n Serial.print(\"sensor = \" );\n Serial.println(sensorValue);\n delay(1000);\n}\n\u003c\/pre\u003e\n\u003ch3 class=\"p1\"\u003e\u003c\/h3\u003e\n\u003ch3 class=\"p1\"\u003e\u003cspan class=\"s1\"\u003eSoftware for the Raspberry Pi \u003c\/span\u003e\u003c\/h3\u003e\n\u003cp class=\"p1\"\u003e\u003cspan class=\"s1\"\u003e(\u003ca href=\"https:\/\/store.switchdoc.com\/grove-4-channel-16-bit-analog-to-digital-converter\/\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eusing the 4 Channel 16 bit ADC for the Raspberry Pi\u003c\/a\u003e)\u003c\/span\u003e\u003c\/p\u003e\n\u003cp class=\"p1\"\u003eThis Python code snippet is taken from SmartPlantPi. This uses a 16 bit ADC.\u003c\/p\u003e\n\u003cp class=\"p1\"\u003e \u003c\/p\u003e\n\u003cpre\u003e if (config.ADS1115_Present):\n Moisture_Raw = ads1115.readADCSingleEnded(config.moistureADPin, gain, sps)\/7 # AIN0 wired to AirQuality Sensor\n state.Moisture_Humidity = Moisture_Raw\/7\n if (DEBUG):\n print \"Pre Limit Moisture_Humidity=\", state.Moisture_Humidity\n if (state.Moisture_Humidity \u0026gt;100):\n state.Moisture_Humidity = 100;\n if (state.Moisture_Humidity \u0026lt;0):\n state.Moisture_Humidity = 0;\n\u003c\/pre\u003e\n\u003cp class=\"p2\"\u003e \u003c\/p\u003e\n\u003ch2 class=\"p3\"\u003e\u003cspan class=\"s1\"\u003eSpecification\u003c\/span\u003e\u003c\/h2\u003e\n\u003cul class=\"ul1\"\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eOperating voltage: 3.3~5V\u003c\/span\u003e\u003c\/li\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eOperating current: 35mA\u003c\/span\u003e\u003c\/li\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eSensor Output Value in dry soil: 0~ 300 (10 bit ADC - 0 - 1024)\u003c\/span\u003e\u003c\/li\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eSensor Output Value in humid soil: 300~700 (10 bit ADC - 0 - 1024)\u003c\/span\u003e\u003c\/li\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eSensor Output Value in water: 700 ~ 950 (10 bit ADC - 0 - 1024)\u003c\/span\u003e\u003c\/li\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003ePCB size: 2.0cm X 6.0cm\u003c\/span\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cmeta charset=\"utf-8\"\u003e\u003cbr\u003e# Here are suggested sensor values:\u003cbr\u003e# Min Typ Max Condition # 0 0 0 sensor in open air \u003cbr\u003e# 0 20 300 sensor in dry soil \u003cbr\u003e# 300 580 700 sensor in humid soil \u003cbr\u003e# 700 940 950 sensor in water","published_at":"2017-10-19T21:23:23-07:00","created_at":"2017-10-19T21:23:24-07:00","vendor":"vendor-unknown","type":"Shop All,Grove,Sensors,Raspberry Pi,Arduino,ESP8266","tags":["Garden"],"price":300,"price_min":300,"price_max":300,"available":true,"price_varies":false,"compare_at_price":995,"compare_at_price_min":995,"compare_at_price_max":995,"compare_at_price_varies":false,"variants":[{"id":3340934709278,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"0225-GMOSN-DSBT","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"Grove Resistive Plant Moisture Sensor","public_title":null,"options":["Default Title"],"price":300,"weight":23,"compare_at_price":995,"inventory_quantity":219,"inventory_management":"shopify","inventory_policy":"deny","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]}],"images":["\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/29e117501181e7a22436ed94a6318b27.jpg?v=1508473404","#\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/b10c108d81d4f6745858f4cf41f25c43_88df11eb-8a4e-494d-9249-1ac4bd0f6893.jpg?v=1508473404","#\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/c6c1a9cccf2a77a53803ab0761e796da.jpg?v=1508473404","#\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/9d575558176023b2b3c3edba1eb0d58f.jpg?v=1508473404","\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/7c8ad5025b76410a02e921d2c7668530.png?v=1508473404"],"featured_image":"\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/29e117501181e7a22436ed94a6318b27.jpg?v=1508473404","options":["Title"],"media":[{"alt":"Grove Plant Moisture Sensor","id":828951625772,"position":1,"preview_image":{"aspect_ratio":1.333,"height":525,"width":700,"src":"\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/29e117501181e7a22436ed94a6318b27.jpg?v=1508473404"},"aspect_ratio":1.333,"height":525,"media_type":"image","src":"\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/29e117501181e7a22436ed94a6318b27.jpg?v=1508473404","width":700},{"alt":"Grove Plant Moisture Sensor","id":828951658540,"position":2,"preview_image":{"aspect_ratio":1.333,"height":960,"width":1280,"src":"\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/b10c108d81d4f6745858f4cf41f25c43_88df11eb-8a4e-494d-9249-1ac4bd0f6893.jpg?v=1508473404"},"aspect_ratio":1.333,"height":960,"media_type":"image","src":"\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/b10c108d81d4f6745858f4cf41f25c43_88df11eb-8a4e-494d-9249-1ac4bd0f6893.jpg?v=1508473404","width":1280},{"alt":"Grove Plant Moisture Sensor","id":828951724076,"position":3,"preview_image":{"aspect_ratio":1.333,"height":960,"width":1280,"src":"\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/c6c1a9cccf2a77a53803ab0761e796da.jpg?v=1508473404"},"aspect_ratio":1.333,"height":960,"media_type":"image","src":"\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/c6c1a9cccf2a77a53803ab0761e796da.jpg?v=1508473404","width":1280},{"alt":"Grove Plant Moisture Sensor","id":828951789612,"position":4,"preview_image":{"aspect_ratio":1.0,"height":1280,"width":1280,"src":"\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/9d575558176023b2b3c3edba1eb0d58f.jpg?v=1508473404"},"aspect_ratio":1.0,"height":1280,"media_type":"image","src":"\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/9d575558176023b2b3c3edba1eb0d58f.jpg?v=1508473404","width":1280},{"alt":"Grove Plant Moisture Sensor","id":828951822380,"position":5,"preview_image":{"aspect_ratio":1.03,"height":1024,"width":1055,"src":"\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/7c8ad5025b76410a02e921d2c7668530.png?v=1508473404"},"aspect_ratio":1.03,"height":1024,"media_type":"image","src":"\/\/switchdoc.ricehawk.site\/cdn\/shop\/products\/7c8ad5025b76410a02e921d2c7668530.png?v=1508473404","width":1055}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003ch1 class=\"p1\"\u003e\u003cspan class=\"s1\"\u003eGrove Resistive Plant Moisture Sensor\u003c\/span\u003e\u003c\/h1\u003e\n\u003cp class=\"p1\"\u003e\u003cspan class=\"s1\"\u003eThe \u003cspan class=\"s2\"\u003eGrove - Moisture Sensor\u003c\/span\u003e can be used to detect the moisture of soil. It can be used to decide if the plants in a garden need watering. It can be used in gardens to automate watering plants. It can be used very easily by just inserting the sensor into the soil and reading the output using ADC.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp class=\"p2\"\u003eThis uses a Grove Analog port.\u003c\/p\u003e\n\u003cp class=\"p1\"\u003e\u003cstrong\u003e\u003cspan class=\"s1\"\u003eNOTE: This sensor is not hardened against contamination or exposure of the control circuitry to water and may be prone to electrolytic corrosion across the probes. It is designed for experimenting and prototyping only.\u003c\/span\u003e\u003cspan class=\"s1\"\u003e I\u003c\/span\u003e\u003cspan class=\"s1\"\u003et isn’t well suited to being used outdoors.\u003c\/span\u003e\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp class=\"p2\"\u003e \u003c\/p\u003e\n\u003ch2 class=\"p3\"\u003e\u003cspan class=\"s1\"\u003eFeatures\u003c\/span\u003e\u003c\/h2\u003e\n\u003cul class=\"ul1\"\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eGrove compatible interface\u003c\/span\u003e\u003c\/li\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eEasy to use\u003c\/span\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003ch2\u003e\u003cspan class=\"s1\"\u003eInterpreting the Output\u003c\/span\u003e\u003c\/h2\u003e\n\u003cp class=\"p2\"\u003e \u003c\/p\u003e\n\u003ch3 class=\"p2\"\u003eSoftware for Arduino\u003c\/h3\u003e\n\u003cp\u003eThe Arduino has a 10 bit ADC (Analog to digital converter). See specifications above.\u003c\/p\u003e\n\u003cpre\u003e\/\/ Test code for Grove - Moisture Sensor \nint sensorPin = A0; \/\/ select the input pin for the moisture sensor\nint sensorValue = 0; \/\/ variable to store the value coming from the sensor7=\n\nvoid setup() {\n \n Serial.begin(9600);\n}\nvoid loop() {\n \/\/ read the value from the sensor:\n sensorValue = analogRead(sensorPin);\n Serial.print(\"sensor = \" );\n Serial.println(sensorValue);\n delay(1000);\n}\n\u003c\/pre\u003e\n\u003ch3 class=\"p1\"\u003e\u003c\/h3\u003e\n\u003ch3 class=\"p1\"\u003e\u003cspan class=\"s1\"\u003eSoftware for the Raspberry Pi \u003c\/span\u003e\u003c\/h3\u003e\n\u003cp class=\"p1\"\u003e\u003cspan class=\"s1\"\u003e(\u003ca href=\"https:\/\/store.switchdoc.com\/grove-4-channel-16-bit-analog-to-digital-converter\/\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eusing the 4 Channel 16 bit ADC for the Raspberry Pi\u003c\/a\u003e)\u003c\/span\u003e\u003c\/p\u003e\n\u003cp class=\"p1\"\u003eThis Python code snippet is taken from SmartPlantPi. This uses a 16 bit ADC.\u003c\/p\u003e\n\u003cp class=\"p1\"\u003e \u003c\/p\u003e\n\u003cpre\u003e if (config.ADS1115_Present):\n Moisture_Raw = ads1115.readADCSingleEnded(config.moistureADPin, gain, sps)\/7 # AIN0 wired to AirQuality Sensor\n state.Moisture_Humidity = Moisture_Raw\/7\n if (DEBUG):\n print \"Pre Limit Moisture_Humidity=\", state.Moisture_Humidity\n if (state.Moisture_Humidity \u0026gt;100):\n state.Moisture_Humidity = 100;\n if (state.Moisture_Humidity \u0026lt;0):\n state.Moisture_Humidity = 0;\n\u003c\/pre\u003e\n\u003cp class=\"p2\"\u003e \u003c\/p\u003e\n\u003ch2 class=\"p3\"\u003e\u003cspan class=\"s1\"\u003eSpecification\u003c\/span\u003e\u003c\/h2\u003e\n\u003cul class=\"ul1\"\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eOperating voltage: 3.3~5V\u003c\/span\u003e\u003c\/li\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eOperating current: 35mA\u003c\/span\u003e\u003c\/li\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eSensor Output Value in dry soil: 0~ 300 (10 bit ADC - 0 - 1024)\u003c\/span\u003e\u003c\/li\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eSensor Output Value in humid soil: 300~700 (10 bit ADC - 0 - 1024)\u003c\/span\u003e\u003c\/li\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003eSensor Output Value in water: 700 ~ 950 (10 bit ADC - 0 - 1024)\u003c\/span\u003e\u003c\/li\u003e\n\u003cli class=\"li1\"\u003e\u003cspan class=\"s1\"\u003ePCB size: 2.0cm X 6.0cm\u003c\/span\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cmeta charset=\"utf-8\"\u003e\u003cbr\u003e# Here are suggested sensor values:\u003cbr\u003e# Min Typ Max Condition # 0 0 0 sensor in open air \u003cbr\u003e# 0 20 300 sensor in dry soil \u003cbr\u003e# 300 580 700 sensor in humid soil \u003cbr\u003e# 700 940 950 sensor in water"});window.BOLD.common.Shopify.saveVariant(3340934709278, { variant: {"id":3340934709278,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"0225-GMOSN-DSBT","requires_shipping":true,"taxable":false,"featured_image":null,"available":true,"name":"Grove Resistive Plant Moisture Sensor","public_title":null,"options":["Default Title"],"price":300,"weight":23,"compare_at_price":995,"inventory_quantity":219,"inventory_management":"shopify","inventory_policy":"deny","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[]}, inventory_quantity: 219, product_id: 229356142622, product_handle: "grove-plant-moisture-sensor", price: 300, variant_title: "Default Title", group_id: '', csp_metafield: {}});window.BOLD.common.Shopify.metafields = window.BOLD.common.Shopify.metafields || {};window.BOLD.common.Shopify.metafields["bold_rp"] = {};window.BOLD.common.Shopify.metafields["bold_csp_defaults"] = {};
The Grove - Moisture Sensor can be used to detect the moisture of soil. It can be used to decide if the plants in a garden need watering. It can be used in gardens to automate watering plants. It can be used very easily by just inserting the sensor into the soil and reading the output using ADC.
This uses a Grove Analog port.
NOTE: This sensor is not hardened against contamination or exposure of the control circuitry to water and may be prone to electrolytic corrosion across the probes. It is designed for experimenting and prototyping only. It isn’t well suited to being used outdoors.
Features
Grove compatible interface
Easy to use
Interpreting the Output
Software for Arduino
The Arduino has a 10 bit ADC (Analog to digital converter). See specifications above.
// Test code for Grove - Moisture Sensor
int sensorPin = A0; // select the input pin for the moisture sensor
int sensorValue = 0; // variable to store the value coming from the sensor7=
void setup() {
Serial.begin(9600);
}
void loop() {
// read the value from the sensor:
sensorValue = analogRead(sensorPin);
Serial.print("sensor = " );
Serial.println(sensorValue);
delay(1000);
}
This Python code snippet is taken from SmartPlantPi. This uses a 16 bit ADC.
if (config.ADS1115_Present):
Moisture_Raw = ads1115.readADCSingleEnded(config.moistureADPin, gain, sps)/7 # AIN0 wired to AirQuality Sensor
state.Moisture_Humidity = Moisture_Raw/7
if (DEBUG):
print "Pre Limit Moisture_Humidity=", state.Moisture_Humidity
if (state.Moisture_Humidity >100):
state.Moisture_Humidity = 100;
if (state.Moisture_Humidity <0):
state.Moisture_Humidity = 0;
Specification
Operating voltage: 3.3~5V
Operating current: 35mA
Sensor Output Value in dry soil: 0~ 300 (10 bit ADC - 0 - 1024)
Sensor Output Value in humid soil: 300~700 (10 bit ADC - 0 - 1024)
Sensor Output Value in water: 700 ~ 950 (10 bit ADC - 0 - 1024)
PCB size: 2.0cm X 6.0cm
# Here are suggested sensor values: # Min Typ Max Condition # 0 0 0 sensor in open air # 0 20 300 sensor in dry soil # 300 580 700 sensor in humid soil # 700 940 950 sensor in water