The product number of Sensor-Moisture is: MSDT23
Sensor-Moisture is a soil humidity detection sensor.
Introduction of Sensor Pins
|
- 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.
|
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
Hardware Setup
- Referring to the following diagram, connect the 将Sensor-Moisture to analog pin A0/A1 of Microduino-Sensorhub.
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
|