เมนู
สินค้าในตระกร้า

ขาย โมดูลวัดความชื้นในดิน ราคา 40.00 บาท ในไทย

ขาย โมดูลวัดความชื้นในดิน  ราคา 40.00 บาท ในไทย

รายละเอียด

โมดูลวัดความชื้นในดิน 

Humidity Sensor

ตัวอย่างโค๊ด


  1. // กำหนดพิน LED 1
  2. int ledPin = 2;
  3. // กำหนดพิน LED 2
  4. int ledPin3 = 3;
  5. // กำหนดพินที่ใช้สำหรับอ่านค่า analog
  6. int analogPin = 5;
  7. // ตัวแปรเก็บค่า analog
  8. int val = 0;
  9.  
  10. void setup() {
  11. // กำหนดโหมดของ LED 1 เป็น OUTPUT
  12. pinMode(ledPin, OUTPUT);
  13. // กำหนดโหมดของ LED 2 เป็น OUTPUT
  14. pinMode(ledPin3, OUTPUT);
  15. // เริ่มต้นใช้งาน Serial communication ที่ 9600 bps
  16. Serial.begin(9600);
  17. }
  18.  
  19. void loop() {
  20. // อ่านค่า analog จากพินที่กำหนด
  21. val = analogRead(analogPin);
  22.  
  23. // แสดงค่า analog ที่อ่านได้ผ่าน Serial
  24. Serial.print("val = ");
  25. Serial.println(val);
  26.  
  27. // ตรวจสอบค่า analog ถ้าน้อยกว่า 500
  28. if (val < 500) {
  29. // ปิด LED 1 และเปิด LED 2
  30. digitalWrite(ledPin, LOW);
  31. digitalWrite(ledPin3, HIGH);
  32. }
  33. else {
  34. // เปิด LED 1 และปิด LED 2
  35. digitalWrite(ledPin, HIGH);
  36. digitalWrite(ledPin3, LOW);
  37. }
  38.  
  39. // หน่วงเวลา 100 มิลลิวินาที
  40. delay(100);
  41. }
  42.  

 

Free Shipping Soil Hygrometer Humidity Detection Module Moisture Water Sensor for Arduino

 

Brand new and high quality

 

This is a simple water sensor, can be used to detect soil moisture

 

Module Output is high level when the soil moisture deficit,or output is low

 

Can be used in module plant waterer device, and the plants in your garden no need people to manage

 

Operating voltage: 3.3V~5V

 

Dual output mode,analog output more accurate

 

A fixed bolt hole for easy installation

 

With power indicator (red) and digital switching output indicator (green)

 

Having LM393 comparator chip, stable

 

Panel PCB Dimension: Approx.3cm x 1.5cm

 

Soil Probe Dimension: Approx. 6cm x 3cm

 

Cable Length: Approx.21cm

 

Interface Description(4-wire):

 

VCC: 3.3V-5V

 

GND: GND

 

DO: digital output interface(0 and 1)

 

AO: analog output interface

 

Instructions for Use:

 

Soil moisture module is most sensitive to the ambient humidity is generally used to detect the moisture content of the soil

 

Module to reach the threshold value is set in the soil moisture, DO port output high, when the the soil humidity exceeds a set threshold value, the module D0 output low

 

The digital output D0 can be connected directly with the microcontroller to detect high and low by the microcontroller to detect soil moisture

 

The digital outputs DO shop relay module can directly drive the buzzer module, which can form a soil moisture alarm equipment

 

Analog output AO and AD module connected through the AD converter, you can get more precise values of soil moisture
ขาย โมดูลวัดความชื้นในดิน ราคา 40.00 บาท ในไทย
40.00 บาท
  • จำนวนสินค้า: 29
  • รุ่น: Humidity Sensor
  • น้ำหนัก: 7.50g
  • SKU: 3006
Product Views: 5124

สินค้าที่เกี่ยวข้อง

เป็น PH SENSOR MODULE ใช้ร่วมกับ บอร์ด Arduino ได้  เหมาะสำหรับไปทำระบบควบคุมอัตโนมัติ วิธีการต่อใช้งาน  - ขา TO คือ แสดงค่าอุณห..
800.00 บาท
infrared sensor module  โมดูลคำอธิบาย       โมดูลเซ็นเซอร์โมดูลปรับตัวให้เข้ากับแสงโดยรอบ,มีคู่ของเปล่งอินฟราเ..
25.00 บาท
โมดูลวัดแรงสั่นสะเทือน Vibration Sensor * สัญาณที่ออกเป็น Digital Output 0-1 (ON/OFF) โดยมีโวลุ่มปรับระดับความแรงในการสั่นได้ รายละเอียด ..
40.00 บาท
เป็น module Relay สำหรับ Drive ไฟ 220V โดยใช้สัญญาน 5V จากไมโครคอนโทรลเลอร์ โดย module จะมีวงจรป้องกันในตัว เพื่อไม่ให้ Controler เสียหาย คุณส..
40.00 บาท
เป็น Relay Module ที่ใช้ไฟเลี้ยงโมดูล 12V และ Input รองรับแรงดัน 5-12V สามาถต่อกับไฟรถยนต์ได้  หรือ ใช้งาน กับ โซลาเซล แบตเตอรี่ 12V โดยสามาถ..
40.00 บาท