Looking at the principles of operation of the Capacitive soil moisture sensor, testing its output in wet to dry conditions, and taking it out to the garden for a real soil test!
These sensors on Amazon (affiliate links):
Amazon.com: https://amzn.to/2LJ6kLS
Amazon.ca: https://amzn.to/2JnQDrV
Capacitive Sensor References:
Capacitive-Based Liquid Level Sensing Sensor Reference
Design
http://www.ti.com/lit/ug/tidu736a/tidu736a.pdf
The Fringe-Capacitance of Etching Holes for CMOS-MEMS
http://www.mdpi.com/2072-666X/6/11/1445/htm
Patreon: https://www.patreon.com/gadgetreboot
Pinterest: https://www.pinterest.ca/GadgetReboot
Twitter: @GadgetReboot https://twitter.com/gadgetreboot
, https://i.ytimg.com/vi/pdGRs7GXBeE/hqdefault.jpg
source
Playing with capacitive sensor
Hmmm v2 regulator is empty on mine, also no silk text v2
https://youtu.be/1jKAxLyOY_s
Will this work with stonewool?
is it possible to read the capacitance of the probe using dc out? I need that value for my program to work
Hi Can you convert the analog signal to digital?
We used epoxy to encapsulate the circuit portion, and found this sensor works particularly well if you spend another $1 to pair it with an ADS1115 ADC module for some pretty spectacular resolution:
https://thecavepearlproject.org/2020/10/27/hacking-a-capacitive-soil-moisture-sensor-for-frequency-output/
thank you! finally i understood how it really works
Have you tried if you see a difference after a few days? Once the water sets around the soil, I'm wondering if the values of "humid soil" actually work. Soil that you just watered is not the same a few hours later
I got a couple of them, unfortunately only one works. The others all have a similar erratic behaviour. I double checked output Volages with Multimeter. So I know. 100% is 1.2V and 0% is 2.1V. now when i put the unit in water or in air, I get appropiate stable readings. But at the moment I put it into the earth it starts to act unpredictable, putting out instable Voltages between 3,5 and 1 Volts. I disconnect the Data from the A/D converter and measure output voltage and can confirm the strange output of the moisture sensor. Now i am thinking moisture and conductivity, so I enclosed the entire device including the now soldered on wires in epoxy, still have the same erratic behaiour when in earth. I am so tired of this shit.
Thanks for this great video. I'm using one of these in my garden, connected to an ESP8266 but I am getting erratic values. Sometimes it is steady and decreasing just a little at a time, which is what I would expect. Other times it jumps up or down by 50%. If I move it just a little then it definitely changes big time. Any thoughts on how I can stabilize the readings?
Don't forget the sensor is very non-linear. In my testing, it is much less sensitive in the top half, which is impractical.
That sensor has a ground plain on the backside
We built a circuit on the breadboard and measured the frequency. When we measured the frequency in front of the Cprobe, we had about 250 kHZ. For your information, we excluded the 3.3 regulator part. I'm worried because 370kHZ is not coming out. Please give me some advice if possible!
Thanks so much for this video. Some of these are faulty, I hope you don't mind me posting the link to the video that explains how to fix them (not made by me). I think many people will benefit: https://www.youtube.com/watch?v=QGCrtXf8YSs&frags=pl%2Cwn
Isn't it more important to get the reference values from actual dry and moist soil? The ratio of the dielectric constant of water/air is probably quite different than moist soil/dry soil. So for calibrating this using a micro controller, I would find some soil I define as dry, note the value, and water it to make a definition of moist. Then I'd use those values for the micro controller to determine when it's time to water the soil. Thank you very much for this explanation. I see that I've bought the crap kind of sensor, the electrolysis one with two prongs with exposed copper.
i would love more videos about those.
Hi does anybody know what the serial output is related to? As in the values it gives on the datasheet of water being [360-260] etc?
very good , thanks
maybe I need an outdoor meter. Yuck. LOL 🙂
hi, how long does it take to get a reading? we'll need to know this when using it with a microcontroller. thx!
I doubt you can use the map funcion: https://esp32.com/viewtopic.php?f=19&t=13235&p=52339#p52339
can we put in 5v pin in arduino?
should we seal the sensor of its sides??
Do you have an estimated area this sensor is capable of measuring?
To cover the electronics, you can you use something like this: https://www.thingiverse.com/thing:2952434
hello, thanks for this video.
I wanted to ask you if by chance you could explain to me more precisely the internal circuit of the sensor
The output range in these things seems to change once you hook up a relay and pump. nice test btw, thanks.
Excellent test and a real electronics explanation. Wonderful tutorial.
I usually see programmers using water and air as the 2 extremes (wet and dry) to calibrate the sensor, but that's not entirely correct. As far as I understood the capacitive sensor, it deppends on the conductivity of the medium in which it is inserted right? Pure water (or water with food colouring as well) has not a great conductivity, at least not as high as water + soil because of minerals. So while calibrating like this, you might see moisture levels in wet soil higher than pure water, which would be weird. Am I correct? (Sorry for bad english)
Thanks for good explanation.
Could you epoxy the whole sensor (components) to make it waterproof?
Iow is epoxy harmful to the smd components?
THX
why didnt you also epoxy the electronics?
In what 555 voltage input?, its getting 3.34v output.
Thanks
hello this sensor its is patent http://www.freepatentsonline.com/6904789.html ?? Do they work the same?
I just bought 10 of these and I was looking for a video to teach me about them. This was very helpful. Do you have a video on just the 555 chip?
I looked into the datasheet of the IC and didn't understand how this works. Thanks for the explanation. This circuit design is really cheap, but effective. Amazing how people solve some problems 🙂
the guy knows his shit..
Very well explained, thank you very much!
Hi, will length /width of the cable influence readings from sensor? Typically you do not want to have electronics near to the soil, that is getting water. So if you place your measuring device (ESP, Arduino, RaspPi, etc) 10-15 meters away, there will be long cable. I am testing this sensor with ESP32 runnign Micropython, but so far do not get reliable result. My cable is about 3 meters long. Curiuos if anybody has this reliably working in their gardening projects.
Excellent video. You demystify what's going on very well and actually make it interesting.
I have a crap clone, with a NE555 and no regulator. Output is far less steady 🙁
On the other hand, I've spotted those nice I2C "Chirp!" module : https://wemakethings.net/chirp/
how do you connect the sensor to the voltmeter
thanks
putting epoxy around the components and socket on top? And maybe a transparent heat shrinking tube, too…
So if I were to use this for low powered applications, the 555 timer would drain the battery, no?
Finally! This is the sensor Ive been waiting a month for so far! Come on ali!
Useful video