Soil Moisture Sensor
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
Specification¶
Item | Value |
---|---|
Power supply | 3.3v or 5v |
Output voltage signal | 0~4.2v |
Current | 35mA |
Interface¶
Platforms Supported¶
Arduino |
---|
Usage¶
Hardware¶
STEP1 Prepare the below stuffs:
Crowduino Uno | Sensor Shield For Arduino | Moisture Sensor |
---|---|---|
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.
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 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.
STEP3 Load the program in the Arduino IDE
STEP4 Click the 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;
3.Touch the sensor with your hand
FAQs¶
You can list you question here or contact with techsupport@elecrow.com for technology support.