Forum >Moisture Sensor (SKU:SEN0114) Units?
ArduinoGeneral

Moisture Sensor (SKU:SEN0114) Units?

userHead anonymous_fz 2012-10-17 07:46:18 5436 Views5 Replies
In this page here:

[url=http://www.dfrobot.com/wiki/index.php/Moisture_Sensor_(SKU:SEN0114)]http://www.dfrobot.com/wiki/index.php/Moisture_Sensor_(SKU:SEN0114)[/url]

The value range is mentioned...

Value range:

1. 0 ~300 : dry soil
2. 300~700 : humid soil
3. 700~950 : in water

What are the units for measuring this value range? like 0 ~300 what? what is the measurement unit?

2014-03-12 19:35:20 Yes, it is linear.
You could check the analog sensor value
  # 0  ~300    dry soil
  # 300~700    humid soil
  # 700~950    in water
It is only the sensor value, you need transform it into Humidity

Add this line:
dat=analogRead(0);                  //humidity max connected to A0
dat=map(dat, 0, 1023, 0, 100);

The dat will be the real humidity.
userHeadPic Grey.CC
2014-03-12 18:25:16 ? have bought Moisture Sensor (SKU:SEN0114) and i would like to ask you if this sensor is linear?
I sent data from sensor by an xbee in ASCII to arduino, and convert it to demical. I would like to know if sensor is linear? when i have 0% humidity is dry solid and when i have 100% is water?
userHeadPic Louks
2012-10-18 17:23:39 its just a sensor, it doesn't need to be programmed. That is the analog range of values it gives.
The sample code provided will give you those readings...
userHeadPic Hector
2012-10-18 05:36:45 So the soil moisture sensor has to be programmed with the given ranges? or is it already programmed like that or is the program written in the sample code of the AFWS controller? userHeadPic anonymous_fz
2012-10-17 16:47:52 There is no units for this, its just a range of values. from 0~1000


That is why we broke it down to different value ranges.
userHeadPic Hector