Soil Moisture Sensor

From Elecrow
Revision as of 10:09, 7 June 2022 by Admin (talk | contribs) (→‎Resources)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

This Moisture Sensor can be used to detect the moisture of soil or your pet plant's water level, let the plants in your garden reach out for human help. With the Octopus Electronic Bricks interface can very easy to used with the sensor shield V4.0.
This sensor uses the two probes to pass current through the soil, and then it reads that resistance to get the moisture level. More water makes the soil conduct electricity more easily (less resistance), while dry soil conducts electricity poorly (more resistance).
Module:SPM32100S

13995200420 1.jpg

Alt text


Specification

Item Value
Power supply 3.3v or 5v
Output voltage signal 0~4.2v
Current 35mA


Interface

Moisture port.png


Platforms Supported

Arduino
Arduino.png


Usage

Hardware

STEP1 Prepare the below stuffs:
Crowduino Uno Sensor Shield For Arduino Moisture Sensor
Crowduino 2.jpg 13995196110 2.jpg 13995200420 1.jpg
Get one now Get one now Get one now
STEP2 Plug Sensor Shield For Arduino into Crowduino;
STEP3 Plug Moisture Sensor into A0 port on the Sensor Shield with cable;
STEP4 Connect Crowduino to PC via a Mini USB cable.
20220607095448.png
NOTE
If we don't have Sensor Shield For Arduino, We also can directly connect this module to Crowduino Uno as below.
Crowduino Uno Moisture Sensor
A0 SIG
5V VCC
GND GND

Software

STEP1 Download MoistureSample.zip
STEP2 Configure controller board&communication port
On top of the Arduino IDE, click “Tools>Board>” and select “Arduino Uno” from the available options
SELECT BOARD.png
Select the COM port that indicates Arduino Uno. Please note that the actual numbers after the “COM” word will vary from computer to computer, so they could be different from the ones shown in the figure.
S 2 2.png
STEP3 Load the program in the Arduino IDE
Moisture sample.png
STEP4 Click the Upload.png to upload the code to the Crowduino board
STEP5 After the program is downloaded, open the Serial Monitor of Arduino IDE, set baud rate to 9600, and the value of soil moisture will be printed
STEP6 Put the sensor in different environments, look at the printed value, in different environments, the value will change
1.Put the sensor in the air, and the printed value is 0;
2.Put the sensor in the water to read the value;
Moisture sensor data1.png
3.Touch the sensor with your hand
Moisture sensor data2.png


FAQs

You can list you question here or contact with techsupport@elecrow.com for technology support.

Resources

Moisture_Sensor_Eagle_file.zip
MoistureSample.zip