Soil moisture
Moderators: grovkillen, Stuntteam, TD-er
Soil moisture
Hi,
Anyone know if this soil moisture sensor is compatible with ESP easy ?
How do i have to set it up ?
Same for this water level sensor ?
Thx in advance
Anyone know if this soil moisture sensor is compatible with ESP easy ?
How do i have to set it up ?
Same for this water level sensor ?
Thx in advance
Re: Soil moisture
For the first one a definite yes. You can use the analog output to adc or the digital to any other gpio. The threshold is set up with the poti.
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8
Re: Soil moisture
From my understanding, the soil moisture sensor you have shown does not last very long in use. There are a couple of capacitive soil moisture sensors which should work longer if you can keep them sealed from moisture. Their accuracy is very dependent on a stable voltage
https://www.dfrobot.com/product-1385.html
https://www.tindie.com/products/miceuz/ ... re-sensor/
https://www.indiegogo.com/projects/soil ... rduino-diy#/
https://www.tindie.com/products/aprbrot ... rod_search
The have used a previous version of the last one after replacing the battery with a 18650 and voltage regulator. The new version has a different temp sensor which may not be supported by espeasy, and a clever switch operated by gpio which allows you to also monitor the battery voltage, as the ADC is also used to measure the soil moisture. This also should allow an correction to the soil moistur reading as the battery voltage drops. Adapting a plugin is not very hard.
The others I have not used.
https://www.dfrobot.com/product-1385.html
https://www.tindie.com/products/miceuz/ ... re-sensor/
https://www.indiegogo.com/projects/soil ... rduino-diy#/
https://www.tindie.com/products/aprbrot ... rod_search
The have used a previous version of the last one after replacing the battery with a 18650 and voltage regulator. The new version has a different temp sensor which may not be supported by espeasy, and a clever switch operated by gpio which allows you to also monitor the battery voltage, as the ADC is also used to measure the soil moisture. This also should allow an correction to the soil moistur reading as the battery voltage drops. Adapting a plugin is not very hard.
The others I have not used.
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Soil moisture
I think many use the fork soil sensor incorrectly (don't hold this against me if I'm wrong, I don't have one myself) by letting them operate 24/7. The DC current will make the cathode loose the metallic part fairly fast if operated 100% of the time. I would suspect the life time to increase if you only let them run for lets say 30 seconds twice an hour?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: Soil moisture
That would be preferable indeed. With task run, there should actually be a way to achieve that with rules.grovkillen wrote: ↑18 Apr 2018, 20:49 I think many use the fork soil sensor incorrectly (don't hold this against me if I'm wrong, I don't have one myself) by letting them operate 24/7. The DC current will make the cathode loose the metallic part fairly fast if operated 100% of the time. I would suspect the life time to increase if you only let them run for lets say 30 seconds twice an hour?
However, I replaced the fork of this sensor by a stainless steel one, lasts for 9 months already without visible corrosion. It's an "ok" solution.
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8
Re: Soil moisture
Thx for your answers
Which device type do i have to choose in Esp easy ?For the first one a definite yes. You can use the analog output to adc or the digital to any other gpio. The threshold is set up with the poti.
Re: Soil moisture
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8
Re: Soil moisture
Yes that works
One more question if i put the soil moisture sensor in water i get a value of 326.
If i remove it from water i havea value of 960.
how cani convert it to percent ? 100% wet, 0%dry ?
One more question if i put the soil moisture sensor in water i get a value of 326.
If i remove it from water i havea value of 960.
how cani convert it to percent ? 100% wet, 0%dry ?
Re: Soil moisture
if i want to use the digital input, wich device type do i have to set up in espeasy?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Soil moisture
A switch which it essentially is then, high signal when the level is above the set level (adjusted by the potentiometer).
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: Soil moisture
another very interesting sensor would be this one:
https://ex-store.de/Kapazitiver-Feuchti ... altausgang
...but its unavailable because he works on a new (better) revision which should be release in may??
https://ex-store.de/Kapazitiver-Feuchti ... altausgang
...but its unavailable because he works on a new (better) revision which should be release in may??
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: Soil moisture
Cool, let's hope the new version cost about the same.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
- dynamicdave
- Normal user
- Posts: 258
- Joined: 30 Jan 2017, 20:25
- Location: Hampshire, UK
Re: Soil moisture
Hi,
I use the first version of the mositure sensor.
I don't use the digital output. I use the voltage or analogue output.
The voltage output connects to the analogue input on an ESP8266 (Wemos D1 Mini).
I've mounted the Wemos D1 Mini on a small breadboard and routed the +3v3 for the moisture sensor via a transistor (that acts as switch).
The ESP8266 talks to Node-Red via MQTT which means I can send a message to turn-on the transistor (and power-up) the moisture sensor for a few seconds every 15-minutes or so.
Cheers from Dynamic Dave
I use the first version of the mositure sensor.
I don't use the digital output. I use the voltage or analogue output.
The voltage output connects to the analogue input on an ESP8266 (Wemos D1 Mini).
I've mounted the Wemos D1 Mini on a small breadboard and routed the +3v3 for the moisture sensor via a transistor (that acts as switch).
The ESP8266 talks to Node-Red via MQTT which means I can send a message to turn-on the transistor (and power-up) the moisture sensor for a few seconds every 15-minutes or so.
Cheers from Dynamic Dave
- dynamicdave
- Normal user
- Posts: 258
- Joined: 30 Jan 2017, 20:25
- Location: Hampshire, UK
Re: Soil moisture
Here's a link to a PDF instruction sheet that I made for the IoT Club where I work as a tutor.
It covers the practical steps involved in setting up the mositure sensor.
http://youtrain.me.uk/iotclub/pdf/rs_11.pdf
Cheers from David
It covers the practical steps involved in setting up the mositure sensor.
http://youtrain.me.uk/iotclub/pdf/rs_11.pdf
Cheers from David
-
- New user
- Posts: 1
- Joined: 10 Apr 2019, 18:59
Re: Soil moisture
Thanks for sharing this information.Drum wrote: ↑18 Apr 2018, 20:29 From my understanding, the Soils testing Phoenix moisture sensor you have shown does not last very long in use. There are a couple of capacitive soil moisture sensors which should work longer if you can keep them sealed from moisture. Their accuracy is very dependent on a stable voltage
https://www.dfrobot.com/product-1385.html
https://www.tindie.com/products/miceuz/ ... re-sensor/
https://www.indiegogo.com/projects/soil ... rduino-diy#/
https://www.tindie.com/products/aprbrot ... rod_search
The have used a previous version of the last one after replacing the battery with a 18650 and voltage regulator. The new version has a different temp sensor which may not be supported by espeasy, and a clever switch operated by gpio which allows you to also monitor the battery voltage, as the ADC is also used to measure the soil moisture. This also should allow an correction to the soil moistur reading as the battery voltage drops. Adapting a plugin is not very hard.
The others I have not used.
Re: Soil moisture
I was looking and found a new one
https://www.tindie.com/products/pinotec ... re-sensor/
Looks like it might last longer but is more expensive.
https://www.tindie.com/products/pinotec ... re-sensor/
Looks like it might last longer but is more expensive.
Who is online
Users browsing this forum: Bing [Bot] and 1 guest