Difference between revisions of "Sensor-Moisture"

From Microduino Wiki
Jump to: navigation, search
(Features)
 
(9 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
|-
 
|-
 
|
 
|
[[File: Microduino-Moisture.jpg|400px|thumb|right| Sensor-Moisture]]
+
[[File: Microduino-Moisture.jpg|300px|thumb|right| Sensor-Moisture]]
  
 +
The product number of Sensor-Moisture is: MSDT23
 
Sensor-Moisture is a soil humidity detection sensor.
 
Sensor-Moisture is a soil humidity detection sensor.
  
 
==Introduction of Sensor Pins==
 
==Introduction of Sensor Pins==
{{Sensor_explain
+
{{ST_Pinout
|nameA=[[Sensor-Moisture]]
+
|st_name=Moisture Sensor
|modeA=Analog read
+
|pin3=Analog Input
|modeB=NC
 
 
}}
 
}}
 +
 
==Features==
 
==Features==
 
*Resistance-type humidity sensitive component with high sensitivity;  
 
*Resistance-type humidity sensitive component with high sensitivity;  
*Low consumption and high stability;  
+
*Low consumption and high stability;
*Output: 0~5V analog signal
 
  
 
==Specification==
 
==Specification==
*Operation voltage: 3.0V~5.5V
+
*Sensor voltage
*1.27mm-pitch 4PIN interface;   
+
**3.0V~5.5V working voltage
* Pin description: GND, VCC, signal input and NC(empty). Since the input signal is simulated, it needs analog interface to detect (A0~A7), which can be connected the pins (10,1,12) of the Sensorhub with the corresponding pins(A6,A2,A0). 
+
*Size of the sensor
[[file:mCookie-sensorhub_rule.JPG|thumb|800px|center]]
+
**Size of the board: 23.5mm*13mm
[[File: Microduino-Moisture_rule1.jpg|600px|thumb|center]]
+
**1.27mm-pitch 4PIN interface connected to sensorhub;
 +
**CAD drawing of sensor: '''[[File:Sensor_CAD.zip]]'''    
 +
*Technical parameter
 +
**Output: 0~5V analog signal
 +
*Connection
 +
**This sensor can be connected to the following pins of core: A0~A7
  
 
==Document==
 
==Document==
*Schematic: '''[[File: Microduino_Moisture.Zip]]'''
+
*Schematic diagram: '''[[File: Microduino_Moisture.Zip]]'''
 +
*Main sensor: '''[[File:Sensor-Moisture datasheet.pdf]]'''
  
 
==Development==
 
==Development==
 +
===Program Download===
 +
*Download and unzip the program'''[[File:Sensor-Moisture_Test.zip]]'''
 +
 +
===Programming===
 +
{{Upload
 +
|nameA=[[Microduino-Core]], [[Microduino-USBTTL]]
 +
|nameB=[[Microduino-USBTTL]]
 +
|boardName=Microduino/mCookie-Core(328p), Atmega328P@16M,5V
 +
|fileName=Sensor-Moisture Test.ino
 +
}}
 +
 +
===Hardware Setup===
 +
*Referring to the following diagram, connect the 将Sensor-Moisture to analog pin A0/A1 of '''[[Microduino-Sensorhub]]'''.
 +
<br>
 +
[[file:Microduino-sensorhub_Moisture.JPG|thumb|400px|left]]
 +
<br style="clear: left"/>
  
microduino-Moisture can be applied in soil humidity detection of the potted plant, agricultural irrigation and soil erosion.  
+
===Result===
 +
*After download, open the serial monitor
 +
*The return value of the sensor is "0.00" when it doesn't touch anything, and the value will be larger than 0 when it touches the soil. The displayed value represents the moisture of the soil.
  
 
==Application==
 
==Application==
*All hardware needed: [[Microduino-Core]], [[Microduino-USBTTL]], [[Microduino-Sensorhub]], a USB cable and wires; 
+
It can be applied to potted plants, agricultural irrigation, soil loss and other soil moisture detecting situations, and it can serve for irrigation control.
*Software:  
 
**Make sure you build Microduino IDE. If not, please refer to: [[Microduino Getting start]]
 
*Stack all modules and connect the Moisture module to A0 port of Sensorhub with a wire. 
 
*Open Arduino IDE, select File→Examples→Basics→ReadAnalogVoltage program examples, choose the right board from Tools→Board and then compile.
 
*Select the right port from Tools→Serial Port in Arduino IDE after compiling, then download program.
 
*After download, you can open the serial monitor and tell soil humidity from the displayed value, which is "0.00" when the Moisture sensor doesn't touch any object and will become bigger than 0" when touching the soil.
 
  
 
==Purchase==
 
==Purchase==

Latest revision as of 06:41, 4 August 2017

Language: English  • 中文
Sensor-Moisture

The product number of Sensor-Moisture is: MSDT23 Sensor-Moisture is a soil humidity detection sensor.

Introduction of Sensor Pins

Sensor backpin.png

Moisture Sensor
General Pin Out Sensor / Trinket's Pin Out
PIN1 (GND) GND
PIN2 (VCC) VCC
PIN3 (SIGNAL-A) Analog Input
PIN4 (SIGNAL-B) Not Connected
  • General Pin Out is the standard pin out of a Sensor / Trinket connector.
  • Sensor / Trinket's Pin Out is this specific Sensor / Trinket's wiring in relation to the General Pin Out.
  • SIGNAL-A / SIGNAL-B are signals that could be digital input, digital output, analog input or analog output. Or special signals such as serial communication (SoftwareSerial, IIC (I2C), etc) or other special signals.
  • Not Connected refers to the Pin not being used for this particular Sensor / Trinket.
  • Read more about the hub module.

Features

  • Resistance-type humidity sensitive component with high sensitivity;
  • Low consumption and high stability;

Specification

  • Sensor voltage
    • 3.0V~5.5V working voltage
  • Size of the sensor
    • Size of the board: 23.5mm*13mm
    • 1.27mm-pitch 4PIN interface connected to sensorhub;
    • CAD drawing of sensor: File:Sensor CAD.zip
  • Technical parameter
    • Output: 0~5V analog signal
  • Connection
    • This sensor can be connected to the following pins of core: A0~A7

Document

Development

Program Download

Programming

  • Follow the Software Getting Started Guide.
  • Select the Board, Processor and Port.
  • Click [File]->[Open], browse to the project program address, and click "Sensor-Moisture Test.ino" to open the program.
  • After confirming all these items are correct, click "→" to download the program to the development board.

Hardware Setup

  • Referring to the following diagram, connect the 将Sensor-Moisture to analog pin A0/A1 of Microduino-Sensorhub.


Microduino-sensorhub Moisture.JPG


Result

  • After download, open the serial monitor
  • The return value of the sensor is "0.00" when it doesn't touch anything, and the value will be larger than 0 when it touches the soil. The displayed value represents the moisture of the soil.

Application

It can be applied to potted plants, agricultural irrigation, soil loss and other soil moisture detecting situations, and it can serve for irrigation control.

Purchase

History

Pictures

  • Front
File:Microduino-Moisture-F.JPG
Microduino-Moisture Front
  • Back
File:Microduino-Moisture -b.JPG
Microduino-Moisture Back
Retrieved from "https://wiki.microduinoinc.com/index.php?title=Sensor-Moisture&oldid=21497"