-34%

Grove – Moisture sensor 土壤濕度感測器 seeed原廠

NT$181 NT$120 未稅

Moisture Sensor可以用來探測土壤的濕度。把它應用到你的盆栽裡吧,這樣你的盆栽就可以在口渴的時候向你求助了。

尚有庫存

  • 商品說明

商品說明

Grove – Moisture sensor 土壤濕度感測器

這個Moisture Senor可以用於檢測土壤的水分,或者判斷傳感器周圍是否有水分,讓您花園裡的植物在渴望時能夠伸出援手。該傳感器非常易於使用,您只需將它插入土壤並讀取數據即可。使用這個傳感器,您可以製作一個小工程,讓植物給您發送消息,如“我現在口渴,請給我一些水”。
Grove - 濕度傳感器

特徵

  • 基於土壤電阻率變化的測量
  • 即插即用
  • 盆栽愛好者必備良友

 

規格

項目 條件 最小值 典型值 最大值 單位
電壓 3.3 / 5 V
電流 0 / 35 mA
輸出值 乾燥土壤 0 ~ 300 /
濕潤土壤 300 ~ 700 /
水中 700 ~ 950 /

應用示例

接下來是一個簡單的用Moisture Sensor探測土壤濕度的示例。

1.將Moisture Sensor連接到Grove – Base Shield上的模擬輸入接口A0,然後將其插入土壤當中。
2.將Grove – Base Shield安裝到主控上,再把主控連接上電腦。

完成後,硬件應該是如下圖一樣的: Note: Moisture Sensor電路的部分不能夠被水直接淋到,否則將有可能導致損壞。所以,用於戶外或環境中可能有水濺到電路部分的情況時,請為其作必要的保護。
Moisture1.jpg

3. 將下面的代碼拷貝到一個新的Arduino sketch上。

int sensorPin = A0; // select the input pin for the potentiometer
int sensorValue = 0; // variable to store the value coming from the sensor

void setup() {
  // declare the ledPin as an OUTPUT:
   Serial.begin(9600);  
}

void loop() {
  // read the value from the sensor:
  sensorValue = analogRead(sensorPin);    
  delay(1000);          
  Serial.print("sensor = " );                       
  Serial.println(sensorValue);                   
}

4.將代碼下載到你的主控上,如果你不了解如何下載代碼,請點擊這裡
5.我們在不同的濕度條件下做了以下的測試,從串口中可以看到對 應的讀數。

No load.jpg Dry soil.jpg Humility soil.jpg IN water.jpg
Sensor in air Sensor in dry soil Sensor in humid soil Sensor in water

 

出貨清單

  • Grove – Moisture Sensor x1
  • Grove連接線 x1

 

Documents

 

=========================================================

 

Grove – Moisture Sensor

The Grove – Moisture Sensor can be used to detect the moisture of soil, to judge if there is dampness around the sensor. 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.

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 , please use it for PROTOTYPING ONLY.

Features

  • Grove compatible interface
  • Easy to use