Sensor-Moisture

From Microduino Wiki
Revision as of 08:36, 8 November 2016 by Fengfeng (talk) (Development)
Jump to: navigation, search
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
  • Pins of the sensor:
    • PIN1: GND
    • PIN2: VCC
    • General signal pins:
      • PIN3(IO1): digital/analog signal
      • PIN4(IO2): NC(null)
    • Special signal pins:
      • If it is IIC: IO1/IO2 are respectively SDA/SCL.
      • If it is soft serial port: IO1/IO2 are respectively tx/rx.
  • Special to Sensor-Moisture sensor pins
    • PIN1: GND
    • PIN2: VCC
    • PIN3(IO1): Analog read
    • PIN4(IO2): NC


Microduino sensor can communicate with core module through the connection with Microduino-Module Sensor Hub.

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


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 respresents the moisture of the soil.

Application

  • All hardware needed: Microduino-Core, Microduino-USBTTL, Microduino-Sensorhub, a USB cable and wires;
  • Software:  
  • 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

History

Pictures

  • Front
File:Microduino-Moisture-F.JPG
Microduino-Moisture Front
  • Back
File:Microduino-Moisture -b.JPG
Microduino-Moisture Back