463 Why most Arduino Soil Moisture Sensors suck (incl. solution)

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ส.ค. 2023
  • Unfortunately, most soil moisture sensors used in our Arduino, ESP8266, or ESP32 projects destroy themselves after a short while. We need a better solution.
    Today we will test different sensors, and I will show you how they work and why most sensors from China destroy themselves. And, of course, we will find a solution to the problem.
    My second channel: / hb9blawireless
    Links:
    Good (capacitive) moisture sensors: s.click.aliexpress.com/e/_DlK... or amzn.to/3YDFBUu (use 5V for power)
    Another type: s.click.aliexpress.com/e/_DdJ...
    Good write-up for the capacitive sensors: thecavepearlproject.org/2020/...
    Check this video before you order your sensor: • Capacitive Soil Moistu...
    Patreon supporter companies:
    passiv-energie.gmbh/
    www.welectron.com/
    yosmart.com/
    TH-camr Patreon: / @makersmashup
    The links above usually are affiliate links that support the channel (at no additional cost to you).
    Supporting Material and Blog Page: www.sensorsiot.org
    GitHub: www.github.com/sensorsiot
    My Patreon Page: / andreasspiess
    Discord: / discord
    If you want to support the channel, please use the links below to start your shopping. No additional charges for you, but I get a commission on your purchases to buy new stuff for the channel
    My Amazon.com shop: www.amazon.com/shop/andreassp...
    For Banggood bit.ly/2jAQEf4
    For AliExpress: For AliExpress: bit.ly/3MtXUY8 (just go on from here to your product)
    For Amazon.de: amzn.to/2r0ZCYI
    For Amazon UK: amzn.to/2mxBaJf
    For ebay.com: ebay.to/2DuYXBp
    profile.php?...
    / spiessa
    www.instructables.com/member/...
    Please do not try to email me. This communication channel is reserved for my primary job
    As an Amazon Associate, I earn from qualifying purchases
    #no#midroll#ads
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 374

  • @lint2023
    @lint2023 8 หลายเดือนก่อน +52

    A range of these capacitance sensors were tested on the Flaura - Smart Plant Pot video. The youtube algorithm worked this time! This channel shows that many are made with flaws and he shows the flaws (82% of his test sample), how to choose when buying, and how to fix the flaws if you have one. It is definitely worth watching.

    • @D4no00
      @D4no00 8 หลายเดือนก่อน +4

      finding a good design and ordering your own PCBs should be trivial, this will save you headdache of searching for good ones and it will times more cheaper.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +3

      Thank you for the info. I added the link to the video in the description.

    • @JohannesHerrmann
      @JohannesHerrmann 27 วันที่ผ่านมา

      Do you have a source, where to get components, that fulfill those 3 criteria?

  • @AndreasSpiess
    @AndreasSpiess  8 หลายเดือนก่อน +74

    This is a re-upload of video#207 of June 17, 2018. Some other solutions proposed by the viewers are:
    - Connect an output pin of the MCU instead of VCC to the sensors and switch it to high only for measurement. This reduces the time the current is flowing
    - Use other probe materials like steel, nails, or even gold-plated material
    The "green stuff" is copper-oxide for sure not healthy, but it should not hurt the plants in minor concentrations. The same happens at the Statue of Liberty, BTW.
    Some viewers also used nail polish to protect the edges.
    And it seems that sensors with manufacturing errors are in the market. Search for the "Flaura - Smart Plant Pot" channel

    • @FAB1150
      @FAB1150 8 หลายเดือนก่อน +5

      Ah, I knew I recognized the sensor in a plastic bag! :)

    • @TobyRobb
      @TobyRobb 8 หลายเดือนก่อน +2

      For resistive probes AC reduces corrosion i have found..The control circuitry is more complex however.

    • @rak3shpai
      @rak3shpai 8 หลายเดือนก่อน +7

      I don't know if it will help extend the life of the sensor, but another possible optimisation is to power the sensor from the MCU's pins such that the polarity of the sensor can be flipped in software. Then, when a reading is needed, a polarity can be chosen at random to take the reading. The assumption is that the electrolysis reaction can be reversed by reversing the polarity.

    • @user255
      @user255 8 หลายเดือนก่อน +4

      It is not copper oxide. CuO is black and Cu2O is red. It is some mixture of copper hydroxide/carbonate. Maybe Cu2(OH)2CO3 and some other copper compounds also.

    • @kwinzman
      @kwinzman 8 หลายเดือนก่อน +6

      Why did you re-upload the 5 year old video?

  • @jurjenbos228
    @jurjenbos228 8 หลายเดือนก่อน +2

    I tried to measure moisture 45 years ago with two wires, and found out it worked for about a day. When I asked my teacher, he introduced me into the wonderful world of electrochemistry. Thank you, Jos Berenzten!

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +2

      Must have been a good teacher, that you still remember this situation! I had a teacher who helped me build an FM transceiver, and you see what I became ;-)

  • @leiferickson3183
    @leiferickson3183 8 หลายเดือนก่อน +11

    Hi Andreas! Just a comment about the home made PCB. It is very easy for copper clad FR4 to make 2 cuts through the copper down the center close together with a razor blade. Then lift a corner of the copper with the razor blade and grab it with a small pliers. It can usually be stripped off fairly easily. It should only take a minute or so to do.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +1

      Good idea! Thanks for the tip!

  • @raymitchell9736
    @raymitchell9736 8 หลายเดือนก่อน +20

    What I can recollect about Soil moisture sensors is that you need to either operate them with an AC signal, or periodically run an AC signal through them to prevent the electrode from destroying itself, particularly sensors like the water mark that uses a gypsum (I think that's what's in there) in a small canister and if you don't there is a migration effect that will eventually destroy the sensor. Sorry, wish I had more details I hope that helps. The capacitive sensors are probably the best for you applications, but the cheap ones could potential work if you treat them right.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +4

      Thanks for your additions. We also have to distinguish between measuring moisture and humidity, and I am not sure if gypsum is used to measure moisture.

    • @raymitchell9736
      @raymitchell9736 8 หลายเดือนก่อน +1

      @@AndreasSpiess 1. The watermark. made by Irrometer, is a soil moisture sensor, it's a green plastic outer shell with a stainless steel screen and there's a white powder in it, I overheard someone say it could be gypsum... maybe it's doped with something? It is probably a company secret. 2. There was also a leaf wetness sensor that was gold plated with a bunch of fingers that wouldn't touch and the moisture in the air would "bridge" that gap. 3. The Last kind of sensor is a Humidity sensor and their capacitive, long ago this was done (in accurately I will state) with a 555 and was tuned in the factory (painful to do) the newest sensors by Senterion DHT (Digital Humidity Temperature) sensors come already calibrated.

    • @olfo4100
      @olfo4100 8 หลายเดือนก่อน +6

      Why power the sensor constantly? You only need a second or less to get the current value..

    • @raymitchell9736
      @raymitchell9736 8 หลายเดือนก่อน +1

      @@olfo4100 You don't... this was a low power application running on batteries, but the generated AC is used to prevent migration of material from one pole to the other. Even powering for short bursts in the same direction migrates the material and the sensor looses the ability to read over time... it might take a while to happen.

    • @NicksStuff
      @NicksStuff 3 หลายเดือนก่อน +2

      What if you switch the polarity (but still use DC) from one measure to the next?
      And, obviously, turn them on for a few milliseconds at a time (when you make a measurement) and not run them 24/7?

  • @kissinnokissinnovation8097
    @kissinnokissinnovation8097 5 หลายเดือนก่อน

    Very good tuto, as usual. You are our Master Theacher.
    Another good solution to protect the capacitive sensor pcb from moisture would be to cover the edges with neil varnish.

    • @AndreasSpiess
      @AndreasSpiess  5 หลายเดือนก่อน

      Thank you for your kind words! And I agree with the nail varnish.

  • @moustick2025
    @moustick2025 8 หลายเดือนก่อน +1

    With your explaination it is very clear the one to use. Thank you for good work.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      You are welcome!

  • @AlbertoCaruso-qc4hk
    @AlbertoCaruso-qc4hk 2 หลายเดือนก่อน

    Wow, this video is incredibly fascinating! I'm really intrigued by the concept of building a multilevel soil sensor after watching this. However, I'm not quite sure where to begin or how to go about it. It would be amazing to see a video from you detailing the process and offering guidance on how to create one. Your content is always so informative and inspiring!

    • @AndreasSpiess
      @AndreasSpiess  2 หลายเดือนก่อน

      You can do it if you want!

  • @B_mata
    @B_mata 8 หลายเดือนก่อน +2

    Hi Andreas, Always a pleasure to view your videos. I have played with quite a few of the capacitive sensors. I found that with some of them, the 1M ohm resistor that is supposed to be connected between GND and SIG is there but is NOT connected to GND! . Seems to be a design defect as a whole batch I ordered from the famous Chinese supplier had the same problem. As a result, the reading was false. To correct it, I just soldered a 1M ohm resistor between the two pins on the connector. Easier than trying to correct it on the PCB with the surface mounted components.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      I heard of this flaw, too, and added a link to a video where it is shown in the description

  • @ShafaqIftikhar-pw9ld
    @ShafaqIftikhar-pw9ld 8 หลายเดือนก่อน +2

    Great video. Thankyou for the upload!!!!

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      Glad you enjoyed it!

  • @ProfMarcoCamara
    @ProfMarcoCamara 8 หลายเดือนก่อน +2

    I have one project where I decided to solve this problem reading the sensors very quickly, and then turn-off the circuit where the sensors are connected. First the Arduino turn the circuit on, then I made 64 readings in less than a second, and calculate the average value of the readings. After that I turn off the circuit. As I have to make just one or two measures per day, I think this is a good workaround.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +1

      Indeed, this is a good idea to reduce corrosion.

  • @psane
    @psane 8 หลายเดือนก่อน

    Your videos are always wonderful, instructional and your Swiss accent is adorable too

    • @AndreasSpiess
      @AndreasSpiess  7 หลายเดือนก่อน

      Thank you for your kind words!

  • @Poult100
    @Poult100 8 หลายเดือนก่อน

    Thank you! This reminds me of the capacitive tank level sensors. Same principle.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +1

      Yes, just longer ;-)

    • @Poult100
      @Poult100 8 หลายเดือนก่อน

      @@AndreasSpiess the most effective frequency was particularly interesting. I suppose this would have to be experimented with, if one was to make a level sensor where the tank material (dielectric) was quite thick (8mm).
      I love your videos. Always nicely informative and without annoying background (sometimes foreground!) music 👍😁

  • @jackflash6377
    @jackflash6377 8 หลายเดือนก่อน

    A very timely video.
    I'm working on a tool, a portable moisture sensor.
    Subscribed.
    Thanks!!

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      Welcome aboard the channel!

  • @Rendra5758
    @Rendra5758 8 หลายเดือนก่อน

    Thx for this topic...
    It's long time we develope this.. and have so many alternative..
    But sometimes, its also depends on media that need to be measured..

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      I agree. These sensors are made for typical soil only.

  • @planker
    @planker 3 หลายเดือนก่อน

    Excellent!
    I had to correct my shopping cart after watching this video.
    Capacitance types as mentioned in Flaura's video and yours will be the choice of sensor.

    • @AndreasSpiess
      @AndreasSpiess  3 หลายเดือนก่อน

      Glad you saw the videos before hitting the wrong order button ;-)

  • @nathanschmidt1843
    @nathanschmidt1843 8 หลายเดือนก่อน

    Thanks for pointing out the “if you let it sit for six months or so” issue - helped solve my mystery and fixed my shower. 👍

    • @AndreasSpiess
      @AndreasSpiess  7 หลายเดือนก่อน

      Always here to help ;-)

  • @larsniklassonhede3798
    @larsniklassonhede3798 8 หลายเดือนก่อน

    Very nice view over the lake. Switzerland is beautiful. I have had the same problem with "open" sensors. I took bicycle spokes and solder it on the sensor. It works OK.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      I wonder how you were able to solder to steel spokes. I did not know it works.

  • @wernerviehhauser94
    @wernerviehhauser94 8 หลายเดือนก่อน +1

    I remember getting the "chirp" sensors that ran on 3V coin cells back in - well, long ago. What I missed on these capacitive sensors was square wave output - I would assume that would be easier to transmit over longer distances. I've seen I^2C and RS485 versions, but they are pretty expensive.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +1

      Some people add an ESP8266 directly to the sensor and use the air for transmission ;-) Transferring the square wave might also be problematic. It could catch some noise over the distance.

    • @wernerviehhauser94
      @wernerviehhauser94 8 หลายเดือนก่อน

      @@AndreasSpiess I was thinking about that, but them mildew killed most of the plants so I didn't follow that up back then and forgot about it during the pandemic. My students brought that up as an add-on to the school garden, and now I'm working on it again. As a physicist turned teacher, I am not on good terms with analogue signals over long distances. Measuring pulse durations and calculating a median sound better to me (I might be wrong here, though - maybe I'm just bad at analogue wiring)

    • @tychojobsis1726
      @tychojobsis1726 8 หลายเดือนก่อน

      Or use a differential analog signal. This increases the complexity a bit on both the sending and receiving side, but because the signal is differential interference will not be a problem.
      When the cables become very long then the transmission line effects can become non-negligible.

    • @col0342
      @col0342 8 หลายเดือนก่อน

      @@AndreasSpiess "use the air for transmission" WiFi eats battery juice quite fast. Be prepared to wire your entire garden with VCC or replace the coin batteries multiple times a day.

  • @ChrisB...
    @ChrisB... 8 หลายเดือนก่อน +2

    Loving the SHT-35 for humidity, so far at least. They seem to be quite a bit more robust than the old DHT sensors. I run 2 of them 24/7 to add humidity to my plants via a relay-controlled humidifier.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      I am not sure if humidity sensors work to measure moisture. Do you use them for moisture?

    • @ChrisB...
      @ChrisB... 8 หลายเดือนก่อน

      I don't, but you did mention humidity sensors in the video. :) So slightly on topic.

  • @MarinusMakesStuff
    @MarinusMakesStuff 8 หลายเดือนก่อน +3

    Great video, I tried explaining to a colleague in our makerspace why the moisture sensors they used for literally all the plants are bad for the soil and everyone was complaining what I was such a downer and that it should work fine because 'everyone does this' and 'why would they be so massively sold if they dont work'. Well, now we know why. Anyway, the moisture sensors all failed within a year and some plants died. Copper oxide is really bad for plant life.
    I'll be sure to share this video to prove my point, but on top, the best part of this video is that you offer a solid solution. I will get a bunch of these sealed sensors and seal the PCB edges and components with some additional epoxy coating. I might even design my own since you shared the schematics and it looks like this could also work with copper enameled wires since these some pre-insulated and might be easy to wrap around a customly designed 3D printed part (no worries, I use PolyCarbonate for the printed parts so it won't degrade like PLA).

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +2

      Maybe a small plastic bag would do the trick instead of coating or 3D printing. It could be replaced if needed.

    • @MarinusMakesStuff
      @MarinusMakesStuff 8 หลายเดือนก่อน

      @@AndreasSpiess I'm thinking, maybe using graphite as an electrode in this case might actually make a lot of sense.

  • @tomstern1681
    @tomstern1681 8 หลายเดือนก่อน +3

    Using stainless steel will help with the longevity of the sensor. This type of sensing is good for a small container where you don't care too much about the moisture content at different depths. One could use several of these at different depths in order to construct a map that describes the soil's behavior to watering. This information can be used to optimize water usage and similar concept is used in professional sensors.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +2

      An interesting idea!

    • @retireeelectronics2649
      @retireeelectronics2649 8 หลายเดือนก่อน

      Stainless steel rods/probes have been used for resistivity and Induced Polarization surveys for a long time. As long as you alternate the polarity you get a good reading and can measure the change in moisture over a large area. Like the video, lots of trash on the market.

  • @kisssys5414
    @kisssys5414 7 หลายเดือนก่อน

    I've used a similar circuit on the Farm-Data-Relay-System attached to a Watermark Soil Moisture Sensor. I've used the sensor for years and it works well. I also make Gypson Moisture Sensors that I have described on Printable. They provide similar readings but they tend to dissolve over a period of time. Watermark sensors are very expensive but are worth the money for monitoring my foundation in Texas.

    • @AndreasSpiess
      @AndreasSpiess  7 หลายเดือนก่อน

      Glad to read that you use the FDR system (I once made a video about it)

  • @chuxxsss
    @chuxxsss 8 หลายเดือนก่อน

    Summer???? Spring is almost here in Australia. Great show, Andreas.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      Still summer here. Up to 35 degrees which is exceptional!

    • @chuxxsss
      @chuxxsss 8 หลายเดือนก่อน

      @AndreasSpiess Stop it, still cold here 17 degree.

  • @princebanini
    @princebanini 8 หลายเดือนก่อน

    these are some very interesting insights

  • @tomad4051
    @tomad4051 8 หลายเดือนก่อน

    Nice!, good research👍🏻👍🏻

  • @sebydocky5080
    @sebydocky5080 8 หลายเดือนก่อน +2

    There is the "tinovi I2C Non-Contact Capacitive Soil Moisture, Temperature sensor" which works very well (full waterproof). I wrote the ESPhome component (avalable in the last ESPhome dev)

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +1

      This sensor looks good! And I like people writing ESPhome components. Thank you!

  • @reyes09071962
    @reyes09071962 8 หลายเดือนก่อน +4

    Could you propose a method to calibrate the output characteristics for the particular soil type, installation depth, and soil compaction? In other words can we compensate for these effects in order to improve repeatability? Maybe comment on use as tank fluid level sensing. Thank you.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      1. I am not sure if they can be calibrated for precision. At least, I did not find any information about it. It is more to show you when you have to water your plants
      2. I made a video about measuring water tank levels. Capacitive sensors are used there, too. They are longer.

  • @Scrogan
    @Scrogan 8 หลายเดือนก่อน +14

    Great video! I did some research a while back into these and came to a similar conclusion, that both of the main sorts are fatally flawed. Coating the capacitive sensor with a stronger layer (e.g. dipping in epoxy), or pulsing the conductive sensor for very short times were the results I came to. I’m not sure what the corrosion without any current is, but I figure it’s pretty low. A gold-plated sensor might last long even with a continuous current.
    As for the toxicity, considering the nonzero chance of that plating containing lead, I’d be very hesitant to use an off the shelf Chinese conductive sensor. Don’t want my broccoli to start lowering IQ points. Tin and nickel, and especially copper, can be toxic to plants too, but with the small concentrations after rain washing things it’s likely not a big deal. Actually, some people deliberately corrode copper wire in their soil to increase the amount of copper in the soil. Apparently copper deficiency is common enough in plants that it’s a cheap way of improving plant growth, though I haven’t looked into it myself.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +2

      Thank you for your additional information! I agree with the dipping.

    • @galaxya40s95
      @galaxya40s95 8 หลายเดือนก่อน +2

      Another way to prolong the life of the electrodes is to switch which one is positive and negative with each measurement.

    • @Scrogan
      @Scrogan 8 หลายเดือนก่อน +3

      @@galaxya40s95 I suspect that will just double it, though you might find that it replates some of the lost metal back.
      Some materials won’t corrode, mainly inert metals like platinum and iridium, gold is probably pretty good too. But there’s also some conductive oxides, like indium-tin-oxide (found on a lot of LCD and probably OLED displays), and lead dioxide (as acts as one electrode in a lead acid battery). All but the lead are expensive, and the lead is too toxic to put in your soil.

    • @hamjudo
      @hamjudo 8 หลายเดือนก่อน +2

      Just stating the obvious here: Don't add copper to your soil unless you know it is deficient in it. Too much copper is also bad for plants and other wildlife.

    • @Scrogan
      @Scrogan 8 หลายเดือนก่อน +2

      @@hamjudo this is definitely true. Especially since in acidic soil the copper will be pretty soluble and easily absorbed. Copper carbonate is (I think) a safer less-soluble form of copper to add to soil, I’ve heard of people converting their used etchant to carbonate before disposing at least. I convert it to copper metal.

  • @Tibrification
    @Tibrification 8 หลายเดือนก่อน +2

    Nice re-up, Herr Spiess. :-) To further enhance this widely used humidity sensor, please have a look for the page titled "Hacking a Capacitive Soil Moisture Sensor (v1.2) for Frequency Output" from the Cave Pearl Project. There you will find 3.3V capability, how to use higher frequencies and some more tips and hacks around this sensor. In short: instead of the sensor with the NE555 chip you should favor the version with the CMOS TLC555 chip.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +1

      A very comprehensive write-up. Thank you for the link. I will include it in the video description

  • @hemanthkumar5438
    @hemanthkumar5438 8 หลายเดือนก่อน +1

    Very insightful, A few years back someone shared this corrosion problem, i think the guy used graphite rods to solve it.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      Graphite rods are probably also a good idea.

  • @nkronert
    @nkronert 8 หลายเดือนก่อน +3

    I'm wondering if there are also moisture sensors that work on the principle that periodically a small resistor gets heated by electric current and then a circuit measures how long it takes for the resistor to cool down again, which should be dependent on ground moisture levels.

    • @Mark-Harding
      @Mark-Harding 8 หลายเดือนก่อน +1

      This is how the old gardena probes work, and work well. I don't know about the new smart probe, which is flat instead of round. The smart probe and gateway cost 300€, so expensive to test.

    • @nkronert
      @nkronert 8 หลายเดือนก่อน +1

      @@Mark-Harding That's a rather big pricetag 🥴

  • @vazquezjm
    @vazquezjm 7 หลายเดือนก่อน

    Great video Andreas! I've been having problems with the capacitive sensor, making my house main differential circuit breaker go off as soon as the sensor contacts the soil. I'm assuming there's some kind of leakage? Will try the plastic bag to isolate the sensor and see if it helps

    • @AndreasSpiess
      @AndreasSpiess  7 หลายเดือนก่อน +1

      The 5V power supply should insulate your devices from the net. So pay attention!

    • @vazquezjm
      @vazquezjm 7 หลายเดือนก่อน

      @@AndreasSpiesshmm, that could be the issue... will try with a different PSU. Thanks for replying!

  • @AJB2K3
    @AJB2K3 8 หลายเดือนก่อน +1

    I testesd one of the capacitive V1.2 wrapped in film for resin UV resin detection and was surprised it worked.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      Thank you for sharing your experience!

  • @SoundsLikeOdie
    @SoundsLikeOdie 8 หลายเดือนก่อน

    I've never used them. I was expecting you to use Proximity sensor with it's sensitivity set extremely low.
    I have no idea if it would work but I'm my head it makes sense.
    Nice video.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +1

      Just try it and you know if it works ;-)

  • @JuergenRarey-Th
    @JuergenRarey-Th 8 หลายเดือนก่อน

    Hi Andreas, did you ever try to put a Bosch BME sensor into a cavity underground like a small platic pot with the opening facing down? This would give you the relative humidity of the air in equilibrium with the soil.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      I learned that measuring humidity and moisture is a different thing. So I never tried it.

  • @lutzsommer4708
    @lutzsommer4708 8 หลายเดือนก่อน +4

    Well use missed the two most important principles for measuring soil moisture. 1. Time Domain Reflectometry (TDR).
    2. Frequency Domain Reflectometry (FDR) / Capacitance (Frequency)
    Both are state of the art when measuring soil moisture within scientific context. When I saw your video I hoped that you have managed to build one. 😅

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +1

      I know that these produce better results. But unfortunately, they are much more expensive and rarely used for the hobby. Even to build one is not easy. Or did you find a project?

    • @lutzsommer4708
      @lutzsommer4708 8 หลายเดือนก่อน +2

      That is correct, they are expensive as hell. I hoped that your expertise is sufficient to build one yourself since the principal is well documented. 😅 I started reverse engineering one but never finished. BUT I will do that in the future, at least I will try.

  • @TobyRobb
    @TobyRobb 8 หลายเดือนก่อน +1

    In production horticulture we use a neutron probe, but they are expensive. I have found the capacitive probes have a narrow range and are easily disturbed, somewhat difficult to calibrate IMHO, but definitely a cheaper option!

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +2

      I agree with your judgment. They are ok to provide a signal to water the plants than to do studies. As you write, their values depend on many factors.

  • @stefanhertweck
    @stefanhertweck 8 หลายเดือนก่อน

    Hello Andreas, Gardena (Husqvarna) uses a different approach for its irrigation/sprinkler system. Its moisture sensor contains a metal tip that is enclosed in felt. This metal tip heats up periodically (about every 30 minutes) and, based on its temperature decay (cooling time), the degree of soil moisture is calculated. When "wet", the connection between two pins is "closed," when dry the connection stays "open". The two pins are connected to the irrigation controller. Why periodically - to allow for battery operation. Greetings, Stefan.

    • @AndreasSpiess
      @AndreasSpiess  7 หลายเดือนก่อน

      Thank you for the description. I never read about such a method. But obviously, it works!

  • @user-xv5ll6wr4p
    @user-xv5ll6wr4p 8 หลายเดือนก่อน

    Hi Andreas, I have tested the capacitive moisture sensors quite extensively in aquaponics. I use a ADS1115. I found considerable variation due to tempurature fluctuation.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      Thank you for sharing your experience. Other commenters confirmed your finding. I do not think these sensors are suitable for precise measurements. But they are okay to create signals for watering.

  • @dan-nutu
    @dan-nutu 8 หลายเดือนก่อน

    Good morning Herr Spiess, I hope your summer holiday is going well, we're missing your fresh content every Sunday morning :)
    WRT capacitive soil sensors - I coated their edges in 2 layers of nail polish but I was surprised to still find their _surface_ delaminated and corroded after little more than a year in use. Not going to buy again, they're kind of a lost hope.

    • @awaagrikh8331
      @awaagrikh8331 8 หลายเดือนก่อน

      Yours can survive up to 1 years. Mine is less than 3 months even if I coated it.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +1

      Good to know. Thank you for the feedback. So we need to find another cover like plastic.

    • @dan-nutu
      @dan-nutu 8 หลายเดือนก่อน

      @@awaagrikh8331 maybe mine also delaminated and corroded earlier, I noticed the readings started drifting after just a few months but I took them out of the pots about a year later since by that time I wasn't paying any attention to them anymore.

  • @morpheusde
    @morpheusde 8 หลายเดือนก่อน

    Hallo Andreas, der Beitrag kommt genau zur richtigen Zeit :-) bin gespannt, ich habe einen mit zwei V2A Stahlröhrchen "gebaut" :-) Den Kapazitiven Sensor hatte ich auch schon mehrfach verbaut, leider hat sich auch hier nach einiger Zeit die Farbe / Isolierung gelöst und die Kupferbahn aufgelöst, nicht gerade gesund für die Pflanzen

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +1

      Ja, die scheinen auch nicht ewig zu halten. Vielleicht würde eine Plastiktasche Abhilfe schaffen. Die Sensoren müssen ja die Erde nicht berühren.

    • @morpheusde
      @morpheusde 8 หลายเดือนก่อน

      @@AndreasSpiess im Baumarkt gibt es streichbare Faserverstärkte Dichtmasse, die hab ich diese Woche zum Dach abdichten verwendet ich glaube ich streiche mal so ein Teil damit ein und teste es. Damit könnte man auch die Elektronik am oberen Ende abdichten. Ich berichte dir :-)

  • @jmr
    @jmr 8 หลายเดือนก่อน +1

    I have a commercially made sensor (Ecowitt WH51) that appears to have a continuous loop that goes into the soil. Perhaps under the coating it's not a continuous conductor though. It eems very reliable but now I want to see what is inside.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +1

      Inside are two not connected traces that form a capacitor.

    • @jmr
      @jmr 8 หลายเดือนก่อน +1

      @@AndreasSpiess That's my suspicion after watching your video. It was very helpful to understanding how it works.

  • @AdityaMehendale
    @AdityaMehendale 8 หลายเดือนก่อน +5

    Grutti Andreas,
    If you look at the schematic at 8:28 - the exposed "sensor-electrodes" still have a DC on them, albeit being used capacitively.
    It is a simple addition to place two large-value film-capacitors in series, one on each of the electrodes, to effectively"DC-isolate" these from any active electronics. The plasti-dip or whatever then has to do less work (esp. with pinholes etc. still being able to ruin the sensor). As the two series capacitors are much larger than the soil-dependent capacitance, they do not affect the frequency-modulation.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      I agree with your proposal. However, some viewers suggested that the PCB lasts only for a short time too. So maybe a small plastic bag around the sensor would help...

    • @edw4699
      @edw4699 7 หลายเดือนก่อน

      Because of the exposed electronics on that board, the fact that the PCB sides are still exposed, the fact that in some boards the 1M ohm resistor is not connected on one side and the fact that some of those sensors come with an NE555 rather than a TLC555 and the fact I like to experiment with moisture sensors, I have used the PlastiDip method, the plastic bag method (as also suggested by Andreas) and I have rebuilt the circuit, but with the electronics separate from the sensor and the sensor connected via relatively large capacitors. In fact all 3 methods work pretty well. My most favorite method is still to use some carbon rods to measure the soil resistance, but I am well aware that the latter basically measures ions, whereas the capacitive method measures water.
      If you are really serious about using the capacitive method, I would indeed rebuild the circuit and add 2 capacitors as described, put the electronics in a water tight enclosure, with a short shielded cable to the sensor itself. On top of that you could also switch off the power supply to the circuit and thus to the sensor.
      But in real honesty....just two carbon rods do fine for home use

    • @vazquezjm
      @vazquezjm 7 หลายเดือนก่อน

      @@edw4699amazing explanation. Two "carbon rods" = center part of pencils? Could you share some schematics?

    • @edw4699
      @edw4699 7 หลายเดือนก่อน

      @@vazquezjm No, carbon rods, not 'center parts of pencils'. The latter would break when you put them in the soil.
      Schematics???? really: one goes to the analog in and the other to either ground or Vcc

    • @DavidHust
      @DavidHust 2 หลายเดือนก่อน +1

      @@vazquezjmThat would be graphite.

  • @scrapwomblecreatives6944
    @scrapwomblecreatives6944 8 หลายเดือนก่อน

    NICE HAVE NOT SEEN THIS BEFORE THANKYOU. Have many old stuff from this time and have start growing my own food salads stock for added sustainability in a ever changing eco system, thinks I can grow indoor in window light controlled systems but as you know controlling these systems are harder than people think you for replay sir.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +1

      Growing your own stuff can be very rewarding. Indoors it is probably a bit easier because of the lack of several pests

  • @trombabaroque
    @trombabaroque 8 หลายเดือนก่อน

    Did you check the RF-emissions of the capacitive sensor with a SA? I think there might be a lot of harmonics causing QRM in the HF bands. Maybe not relevant for the average houshold, but in fact, for example I've turned off my weather-station because of spurious emissions in the ISM-band, disturbing my satellite groundstation. So, maybe as a HAM-operator I'm a little bit over-sensitive to this . Anyway - nice video, thanks!

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      No, I did not check it for QRM. I have enough other sources, and I am building a remote station because of that ;-)

  • @pete3897
    @pete3897 8 หลายเดือนก่อน

    Could you drive the original sensors with an AC voltage to avoid the electrolisys and then rectify the output signal with a diode?

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      That would complicate the design, but it is possible and would reduce the corrosion.

  • @MikeKasprzak
    @MikeKasprzak 8 หลายเดือนก่อน +1

    The first real Arduino project I built used these resistance sensors. I was so proud of myself, until the 3rd and 4th days when the sensors were ruined.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      This went fast! Usually, they live a bit longer.

  • @PineCoffee
    @PineCoffee 8 หลายเดือนก่อน +4

    I have tried all the sensors shown as well. For the capacitive one, it consistently gave "wet" readings even when the soil had completely dried out. It seems like the moisture sticks on the sensor surface, it couldn't dry off quick enough as compared to the moisture in the soil. I had to remove the sensor to wipe it down for it to show the correct readings again, which makes it completely pointless.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +3

      Interesting. So the sensors worked, but the contact with the soil somehow was not good. This is the first time I have heard this.

    • @awaagrikh8331
      @awaagrikh8331 8 หลายเดือนก่อน

      That is very true. In short, it is not install and forget. Choosing where to install it is also important.

    • @florinpandele5205
      @florinpandele5205 8 หลายเดือนก่อน

      Maybe try to add a layer of sponge or ink absorbing paper on it will do the trick? It's worth trying if you have the time..

    • @PineCoffee
      @PineCoffee 8 หลายเดือนก่อน +2

      @@AndreasSpiess There were also a few occasions when I pulled out the sensor, I could not spot dampness with the naked eye, but after a quick wipe, the readings went back to normal. Could mineral deposits also affect readings, I am not sure. I can say when testing outside soil, the sensor always works perfectly when trying with water. I have since given up trying to automate watering.

    • @PineCoffee
      @PineCoffee 8 หลายเดือนก่อน +1

      @@awaagrikh8331 You are right, I think different types of soil/soil mix might also have an impact.

  • @dougbas3980
    @dougbas3980 8 หลายเดือนก่อน

    Interesting, just what I found using in my greenhouse. Thanks.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      I hope your plants do well if they get sufficient water with your automation ;-)

  • @FrankGraffagnino
    @FrankGraffagnino 8 หลายเดือนก่อน

    i would love to see you include a "Gypsum" soil moisture sensor in your comparison!

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      I agree it would be interesting to compare the readings of the (quite expensive) gypsum sensors with the ones of these cheap sensors. This is more for an agricultural channel, I think.

  • @dabi4754
    @dabi4754 8 หลายเดือนก่อน

    I use a very good nail varnish to cover all the moisture sensor v1.2 including the chip and the pins and wires and works fine since 2-3 years now. But there is a missing connection between ground pin and the a ground trace. Simply solder a small diameter wire on both side of the pins header. Cheap China stuff but works.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      Thanks for sharing your experience. I left a video where the quality problems are explained.

  • @ilkkapirttimaa
    @ilkkapirttimaa 8 หลายเดือนก่อน

    I have used that cheap sensor on my Christmas tree to warn about low water level for many years without a problem. I realised this design error and implemented very simple correction: I'm not powering it all the time. I use Arduino output pin to power sensor only for a couple of ms only when I do measuring once per each hour.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +1

      This is a good improvement and reduces corrosion!

  • @stevecummins324
    @stevecummins324 6 หลายเดือนก่อน

    Arduino's can drive and measure capacitive changes between plates directly. There even an offical library for reading such sensors.
    It's also *easy* to create such plates oneself. If aluminum or titanium is used it's also possible to anodize the surface to insulate them. Far more even and resilient surface than varnish Nb the thickness of such an anodized layer adjusts the value/range of such a sensor

    • @AndreasSpiess
      @AndreasSpiess  6 หลายเดือนก่อน

      Thank you for your additional info!

  • @wherami
    @wherami 8 หลายเดือนก่อน

    Great info

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      Glad it was helpful!

  • @GeekendZone
    @GeekendZone หลายเดือนก่อน

    Good explanation as always.

    • @AndreasSpiess
      @AndreasSpiess  หลายเดือนก่อน

      Thanks for watching!

  • @matambale
    @matambale 8 หลายเดือนก่อน +1

    Andreas - good to see this topic again. I was a disappointed to learn that even capacitive sensors fail over time if they are just coated with resin, as the resin still allows water intrusion via osmosis. I wonder if that includes all forms of epoxy.
    Perhaps the probes and the base of the instrument body could be coated with "Plasti-Dip"? The plastic bag is a fine idea, I guess, but really the sensors should be fully sealed in plastic until the whole instrument is up out of the soil and well out of the way of splashes, etc. So rather than putting plastic "leggings" on the sensor probes, I'm talking about plastic "pants" that reach to the top of the sensing instrument.
    I am a bit sloppy when watering plants, yes. :^)

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      Thanks for sharing your experience. I do not have longtime experience with the different sorts of epoxy. Maybe others experimented with it already.

    • @col0342
      @col0342 8 หลายเดือนก่อน

      The thicker the protective layer, the less sensitive the sensor is. Which means: use a very fluid resin for coating, so that it will cure in a thin layer.

  • @tim_bbq1008
    @tim_bbq1008 8 หลายเดือนก่อน

    Another technique can be to only power the sensor while the moisture content is being measured. No reason to read the sensor constantly, once an hour or so is more than enough. Cut the power to the sensor to only a few seconds per day will extend the life of the sensor.

  • @hagaygodovanik4334
    @hagaygodovanik4334 7 หลายเดือนก่อน

    you can use the cheaper ones without their electronics, and alternate the current thru them. the main problem with all these sensors is their resistance depends on the soil and the minerals present. takes allot of effort to calibrate them on specific soil now try it with changing soilminerals (rain water vs tap)

    • @AndreasSpiess
      @AndreasSpiess  7 หลายเดือนก่อน

      I agree with your findings.

  • @alx8439
    @alx8439 8 หลายเดือนก่อน +1

    Another option to extend the lifespan of sensors with exposed copper conductors is to make measurements in a descrete manner. I.e. not constantly but once every 30 minutes for example.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +1

      I agree.

    • @HL65536
      @HL65536 7 หลายเดือนก่อน

      And keep the time that it is switched on as short as possible. Usually ~10µs should be enough. Then even more frequent measurements should be possible. What could also help is to lower the voltage that it has available. According to wikipedia, water electrolysis requires a minimum of 1.23V. Measuring with max 0.5V should therefore eliminate corrosion. That may be worth testing.

  • @miguelangelsimonfernandez5498
    @miguelangelsimonfernandez5498 8 หลายเดือนก่อน

    The first sensors can benefit from probes made of stainless steel. But all have a major flaw in that they use a lot of power and they are not the best thing for IOT standalone sensors. Also resin coatings in pcb board suffer in the long run from water permeating through the pores because of osmosis. This causes blisters filled with acid under the coating. The latter I suppose one could accept it as a wear part in the system.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +1

      Maybe the capacitive sensors can be protected by plastic foil since they do not need contact with the soil.

  • @Argosh
    @Argosh 8 หลายเดือนก่อน +1

    It's super easy to build this kind of sensor yourself anyway. Just get copper rod, solder wires to two pieces, add the 500kOhm input resistor, to one and a ground wire to the other. Add a second wire to the one with the 500kOhm directly to an analog in of your microcontroller.
    That's it. You can have either the v+ or ground coming from a toggleable port so you can save a bit of life on your sensor.

  • @MJLMICRO
    @MJLMICRO 8 หลายเดือนก่อน

    What about sensing by weight instead of moisture level? A flower pot will have a certain consistent weight. As moisture evaporates, the weight will be reduced. At a certain point, you turn on the water. You might have to re-calibrate from time to time as the plant grows.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +1

      That is a good idea. I once made a video on how to use load cells.

  • @ulisherny236
    @ulisherny236 8 หลายเดือนก่อน

    Hallo aus Österreich, Andreas! Ich mag deine Videos. And "the Swiss accent" :)
    Wegen des Kupfers...
    Wenn du, so wie du es gemacht hast, die Elektroden ins Leitungs-/Brunnenwasser steckst (nimmt man ja meist zum Gießen) und mit ein wenig Spannung und einigem Strom beaufschlagst, erzeugts du einfach Knallgas. Sauerstoff und Wasserstoff an je einer Elektrode, das entstehende Wasserstoffgas kann als Blasen an der Oberfläche der Kathode freigesetzt werden.
    Komplizierter ist es mit Folgendem:
    Im Leitungswasser sind üblicherweise verschiedene gelöste Salze enthalten, darunter Natrium- bzw. Kalziumionen und Hydrogencarbonationen (HCO₃⁻), die möglicherweise reagieren könnten, um Kupfersalze wie Natriumkuprat (Na₂CuO₂) oder Kupfercarbonat (CuCO₃) zu bilden. Verschiedenen Faktoren wie Wasserzusammensetzung, pH-Wert, Temperatur und Stromstärke beeinflussen die Reaktion.
    Wenn man Pflanzen mit einer solchen Flüssigkeit bewässert, bzw das im feuchten Erdreich auftritt, könnte dies potenziell schädlich sein, da Kupfer in höheren Konzentrationen toxisch für Pflanzen sein kann. Kupfer ist für Pflanzen notwendig, aber nur in geringen Mengen. Bei zu hoher Konzentration kann es jedoch die Aufnahme von anderen wichtigen Nährstoffen behindern und oxidativen Stress verursachen.
    Die Kalkablagerungen könnten auch den Boden pH-Wert erhöhen, was wiederum die Nährstoffverfügbarkeit für Pflanzen beeinflussen könnte. Ein erhöhter pH-Wert kann dazu führen, dass bestimmte Nährstoffe weniger leicht aufgenommen werden können. Es ist wichtig zu beachten, dass die Auswirkungen auf Pflanzen von verschiedenen Faktoren abhängen, einschließlich der Konzentrationen der beteiligten Ionen, der Dauer der Bewässerung und der Empfindlichkeit der Pflanzenart.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +1

      Danke für deine ausführlichen Erklärungen. Chemie war nie meine Stärke ;-)

  • @maxximumb
    @maxximumb 8 หลายเดือนก่อน

    I wonder if the resistance sensors would be better with graphite / carbon probes? Carbon is pretty inert in water electrolysis, unlike copper. Whilst they wouldn't last forever, they would significantly outlast copper traces. Also carbon is not toxic to plants whereas high concentrations of copper can be.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      Others used graphite rods. I do not know how their handling is. The ones I know are very brittle.

  • @ManuOutdoor
    @ManuOutdoor 8 หลายเดือนก่อน

    Danke die für den super Beitrag! 73 von HB9TIA!

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      Gern geschehen! 73

  • @JoopKomkommerShake
    @JoopKomkommerShake 8 หลายเดือนก่อน

    You can use the first pcb very easy with an arduino and no electrolysis.
    Connect the pcb between to analog inputs. For example A1 and A2.
    In the first measurement make A1 output high, it will supply now 5V to the sensor, read the analog value from A2.
    For the second measurement you do the opposite, make A2 digitaal out high and read the analoge value from from A1.
    Repeat the above.
    With this way you measure a sort of with ac and the electrodes with not desolve.
    If the reading of the adc is to low, try setting the reference to 1.1V or other value.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      Thank you for the info. Indeed, you can reduce the time current flows with this method

  • @ItsTristan1st
    @ItsTristan1st 8 หลายเดือนก่อน

    The capacitive approach is a simplified form of impedance spectroscopy. The real fun with that is when you sweep the frequency and take a spectrum instead.

    • @liquidsonly
      @liquidsonly 8 หลายเดือนก่อน +1

      Indeed so. I worked with non-linear dielectric spectroscopy for years measuring yeast viability.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      What would I discover in the spectrum? Is there any information available?

  • @makoado6010
    @makoado6010 8 หลายเดือนก่อน

    there is a prefect soluiton from 70's: gypsum block. the response time is slow but extremly accurate.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      Thank you for the info. I found that these sensors are pretty expensive.

    • @makoado6010
      @makoado6010 8 หลายเดือนก่อน

      @@AndreasSpiess easy to make u just need two graphite electrode and gypsum. and a temperature sensor if u want to be really pro.

  • @TheEmbeddedHobbyist
    @TheEmbeddedHobbyist 8 หลายเดือนก่อน

    Any electron flow in a damp environment will cause material to migrate either from your plate or to your plate.
    None contact is the only way to go, or treat the sensor like an LCD display where there it has to be treated the same, an AC signal with no DC component, or you destroy the segment.

  • @electronics.unmessed
    @electronics.unmessed 8 หลายเดือนก่อน +1

    Cool DIY sensor ;-). But seriously, I think a capacitive DIY sensor can be a good option for makers and you can easily create a square wave signal with a microprocessor board.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +1

      I agree. But the simplicity of a 555 timer is hard to beat ;-)

  • @taoufikbadri6959
    @taoufikbadri6959 8 หลายเดือนก่อน

    Thanks !

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      You are welcome!

  • @thysgildenhuys2821
    @thysgildenhuys2821 8 หลายเดือนก่อน

    Danke!

  • @J0stik
    @J0stik 8 หลายเดือนก่อน

    sonoff ms01 is looking pretty good, it sends data trough I2C, it is on my to do list to test one in esphome and if satisfied switch from all other ones .... but it is not on top of my list ....

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      Xiaomi offers a similar one, too. They are a good solution if you do not want to tinker.

    • @J0stik
      @J0stik 8 หลายเดือนก่อน

      @@AndreasSpiess looking for some "reliable" to integrate with esphome for home assistant. Will look at it, if you know about more please let me know, because i am in fight with soil moisture sensors from spring.

  • @cyrillethierry9515
    @cyrillethierry9515 8 หลายเดือนก่อน

    Hello Andreas I use the last sensor (capacitive on), there is a but you forgot. The value measured is not stable since it is impacted by the temperature. It creates quite big differences. I ve not solved this yet.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      I do not think these sensors are accurate, too. They are good to remind you to water your plants, not for agricultural studies...

  • @mhlvos
    @mhlvos 8 หลายเดือนก่อน

    Bedankt

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      I appreciate your support!

  • @GeorgeMixalis
    @GeorgeMixalis 7 หลายเดือนก่อน

    If price is not an issue, i have uses smt100 and smt50 from truebner on a research project. They currently have an uptime of 4 years (but they cost 100 and 50euros respectedly)

    • @AndreasSpiess
      @AndreasSpiess  7 หลายเดือนก่อน

      I recently saw them on on a fair. They seem to be solid.

  • @awaagrikh8331
    @awaagrikh8331 8 หลายเดือนก่อน

    I tried several capacitive sensors-cheap one, DF Robot one and two other Chinese brands. None can survive more than 3 to 6 months even if I coated it. Soil is salty due to fertilizer usage so it greatly reduce the life span of the sensors.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      That is what others reported, too. Maybe a small plastic bag instead of a coating would help? The sensors do not need to be in contact with the soil.

  • @GlennHamblin
    @GlennHamblin 8 หลายเดือนก่อน

    So you made an unintentional electrolyzing cell. You are deplating the anode(+) side and plating the cathode(-) side. As well as liberating some hydrogen on one electrode and oxygen on the other. One way to make them last longer is to swap the polarity every other time you read it and only activate it when you want to read it. Nickel plating the electrodes will also help some. 😊
    And for the capacitive version you might use some spray on conformal coating.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      Thanks for your tips! Conformal coating for sure helps.

    • @stevecummins324
      @stevecummins324 6 หลายเดือนก่อน

      Or with suitable choice of material... Any dc current flow will anodize a plate and stop the conduction.

  • @desparky
    @desparky 4 หลายเดือนก่อน

    I remember reading about this problem in the 1980's (probably in Electronics Australia Magazine). If I recall correctly, there was an IC manufacturer who produced a chip specifically for this application. It applied a small AC signal to the probe for measurement to prevent electrolysis.
    I see lots of moisture probes advertised now and just assumed they would use the AC method. I forget how much junk is sold out there.

    • @AndreasSpiess
      @AndreasSpiess  4 หลายเดือนก่อน +1

      I did not know that this issue is so old.

    • @desparky
      @desparky 4 หลายเดือนก่อน

      @@AndreasSpiess I guess I'm showing my age here, haha.
      Keep the great videos coming, they're always interesting and I learn a lot from you. Cheers.

    • @AndreasSpiess
      @AndreasSpiess  3 หลายเดือนก่อน

      @@desparky It cannot be the age. I am 66 ;-)

  • @coldfinger459sub0
    @coldfinger459sub0 8 หลายเดือนก่อน

    Metal salt fertilizers that people use to fertilize the plants affect the readings and the life expectancy.
    Most powdered metal salt based plant fertilizers are extremely conductive
    Just like when you’re making a battery and you’re adding acid
    Like a nickel, and a penny the copper nickel with a piece of paper in between, and you add some vinegar
    As you’re going to summer in the soil gets dryer, faster, the salts from your fertilizer, build up and acidity or the salt content spikes .
    Throwing off your sensor readings .

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      Thank you for the info. Is this also true for capacitive sensors?

  • @Electronieks
    @Electronieks 8 หลายเดือนก่อน

    Durex is a brand to protect some sensors with a rubber layer

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +1

      Thank you for the information!

  • @alx123
    @alx123 8 หลายเดือนก่อน

    The two-legged sensor with a gold plating most better than of cheaper lead. I've tested ENIG version about 2 month, if not scratch them, no corrosion will be even with fertilizers. And power on must be very short as possible for measuring.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      Thank you for the info!

  • @ThierryC2373
    @ThierryC2373 8 หลายเดือนก่อน +1

    I have tested the capacitive soil moisture sensors extensively and they are not reliable whatsoever to measure anything accurately in soil, the only working solution is to make a resistive sensor that receive power only for a very short time with prongs in stainless steel or silver solder. That was my solution to manage my sprinkler system in Florida. Anyway, there is no need to measure the moisture in real time, 2 or 3 times a day is more than enough, humidity does not leave spontaneously the soil.

    • @dousiastailfeather9454
      @dousiastailfeather9454 8 หลายเดือนก่อน

      Tin the copper! Or use silver solder...

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      Thank you for sharing your experience! Shortening the measuring time for sure reduces corrosion.

  • @arpcatchall822
    @arpcatchall822 8 หลายเดือนก่อน

    I use hot-galvanized nails as probes. These are the gray, rough looking ones. Few years now, no corrosion. Avoid electro-galvanized (shiny) - they wont last.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      Good tip. Thanks!

  • @matthewmaxwell-burton4549
    @matthewmaxwell-burton4549 8 หลายเดือนก่อน

    Ah the classic ox redox reaction. You might even be creating metal complexes in the water (gets very complicated to know if its plain rust or a complex of Fe)

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +1

      Thanks for the explanation!

  • @Suchtzocker
    @Suchtzocker 8 หลายเดือนก่อน

    I bought the Xiaomi Miflora Sensor wich has also a lot of knockoffs wich are cheaper, Monitoring it for 7 Montths now and it works fine and reliable + has integration features Battery still shows 100% You pay a little extra for the enclosure ( water resistant ) and the ease of use ( not encrypted BLE ) and a nice byfeature is the EC measuring wich gives a rough ( not really useful ) estimate when its time to give a little more fertilizer or if there is too much salt build up
    Integrated in HomeAssistant with Automated Watering learning based of the dry / wet cycle and times it takes the plant to take up the water added
    I couldnt have or use more features and its working out of the box, no need to ask for more after fiddling around with diy solutions for years im happy that this project is now running and working

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      I agree these Miflora sensors are a good choice. Thank you for sharing your experience!

  • @markwarburton8563
    @markwarburton8563 8 หลายเดือนก่อน +1

    Who would've thought that the verable 555 timer would get a new lease on life being used in a humidity sensor? That chip just keeps on giving.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +1

      Indeed, this is a very versatile chip. (And it was invented by a Swiss ;-)

  • @colfaxschuyler3675
    @colfaxschuyler3675 8 หลายเดือนก่อน

    This was interesting, but might be a little out of context.
    This would probably be fine as a physical liquid level measure, but that's not how dirt and moisture work in most agricultural situations.
    If your plants roots are sopping wet, your plant is likely drowning.
    Usually there is much less liquid in soil, and that may make the readings much different.
    Could you repeat the experiment with the last sensor, using different types of soil, and adding water like a grower would?
    The best test scenario would be in a large planting container exposed to the outside air conditions and to the sun, but protected from direct rain. That way, there is a large amount of soil, there is air, heat, sunlight, wind, to dry the soil, and you can add water in small amounts, as if from a sprinkler or irrigation system. The moisture in the soil will need to equalize across the bulk of material, rather than just detect full saturation.
    Water would arrive on top, and then get wicked through the soil. Having a short or small container might give false readings from water pooling in the bottom, saturating the lower part of the sensor. The sensor needs to be affected by the correct amounts of moisture in the soil, not just "dry_ and" saturated" conditions.
    That would simulate regular growing medium better, and give a better idea as to the signals seen and the response time to detect actual soil conditions.
    _____
    As an added thought, this looks like it would be a good wired system for a central garden plot.
    Consider a yard, though, or multiple garden plots, distributed areas, etc.
    Having wires running 10s or 100s of feet, in multiple directions, on opposite sides of structures, etc., and with foot traffic or vehicle traffic in the area.
    This would be hard to set up, calibrate, and maintain.
    A larger scale solution would call for wireless communications, sensor differentiation, logging, and probably power management.
    This is a job for SUPERMA-- Sorry, I got carried away. This is a job for: I don't know... It's got to be be cost, able to leap large distances, be identified, easy on the batteries, etc. LoRa? I don't know the costs or component size. 422mhz? ATtiny85? RaspiNano? BLE?
    I can think of a couple approaches.
    I can envision a mesh network for ease of adding sensors and extending the coverage of the network, but that seems complicated.
    I can see having a base station and just relying on low power rf transmitters, logging and sleep routines, and periodic polling fob the base station.
    I believe that BLE can operate as a mesh network.
    That's enough to think about now. I think I want more coffee.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +1

      When I made this video, I was looking for studies as you describe. They should be made by agriculture engineers, not electronics engineers. But unfortunately, I did not find any. That may be different now.
      These sensors could be more precise. I think they can be used to generate watering signals in typical home environments.
      If you want to avoid cables, maybe you google "LoRa moisture sensors". Their range can be a few km. You also find many videos about the LoRa technology on this channel.

    • @colfaxschuyler3675
      @colfaxschuyler3675 8 หลายเดือนก่อน

      @@AndreasSpiess Thank you. I am thinking more along the lines of a home owner. We aren't on a large plot, but with a growing space at the front of the yard, two near the house in front, four spread through the back yard, the thought of monitoring all of that using wires is a problem.
      I guess in the end, I would pick maybe two or three, but even then, that's a lot of wiring spread across hundreds of feet in different directions.
      As a manual (handheld) tool, that might be a more practical solution for me, but then we're back to doing things manually.
      Still, it's a neat video.

  • @rhysun
    @rhysun 8 หลายเดือนก่อน

    I wonder if an air humidity sensor placed under an upturned cup on the soil surface would be of any use. It could be an interesting experiment.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      Maybe you try it? The sealing has to be very good, I assume. Otherwise, you probably measure the humidity of the room.

  • @olfo4100
    @olfo4100 8 หลายเดือนก่อน

    Why do you want to apply the dc voltage to the sensor all the time? Normally it is sufficient to check the moisture once a day and power the sensor for just one second or below? Then the resistance sensors are also quite durable..

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      I agree. This is a good idea!

  • @felenov
    @felenov 8 หลายเดือนก่อน +1

    A super cheap workaround is running DC for 10ms every minute or so. You still get your readings and the sensor lasts much longer.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      You are right. This helps to avoid electrolysis.

  • @wbcc3388
    @wbcc3388 8 หลายเดือนก่อน

    Would using two stainless steel probes solve the corrosion problem?

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      There are several proposals in the comments. One mentioned special nails that avoid the corrosion problem.

  • @electronron1
    @electronron1 8 หลายเดือนก่อน

    I coated the edges of my capacitive sensors with clear finger nail polish. I set up an Arduino Nano with the sensor and an ESP-8266 (ESP-01) and can monitor the data via WiFi.
    If I didn't already have the Nano and ESP-01 I would probably use one of the Arduino's that have WiFi built in.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      Good concept! You probably could have left the Arduino out and only used an ESP8266. But of course one that has the ADC pin exposed...

  • @mehmetayparyangozalumni2606
    @mehmetayparyangozalumni2606 6 หลายเดือนก่อน

    Great vid 👌

  • @NathanSweet
    @NathanSweet 8 หลายเดือนก่อน

    Even the capacitive sensor isn't good, with exposed FR4 edges. I looked into this once and Steven's Hydraprobe looks good. It gives moisture, temp, salinity over RS-485 using 50MHz RF. The cost is $695 though (!).

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน +1

      I agree. These TDR sensors are much better, I agree. But for controlling the watering of 10 flower pots probably a bit expensive ;-)

    • @NathanSweet
      @NathanSweet 8 หลายเดือนก่อน

      ​@@AndreasSpiess FWIW, HydraProbe isn't TDR, it uses radar to measure dielectric impedance. It measures the energy storage and energy loss of the soil to determine the moisture content. This reduces the influence of salinity and temperature compared to other solutions, allowing it to work without calibration. It's really neat and I have bought one, but I won't get to test it until early 2024.
      The cost is silly, but nothing is too good for my lawn. :p Mostly I just want to play with the cool tech. My DIY irrigation controller calculates ETo to determine watering durations. I'll use the soil moisture data to double check that, eg don't water if the soil has enough moisture even if ETo thinks it needs watering.

  • @gplgomes
    @gplgomes 8 หลายเดือนก่อน +1

    Soil has much less moisture, so are these sensors sensitive enough to measure it?

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      Yes, they are sensitive enough to alarm you when you have to water plants (probably not cacti ;-)

  • @LeifNelandDk
    @LeifNelandDk 7 หลายเดือนก่อน

    Wasn't some of the capacitive sensors missing a critical component?

    • @AndreasSpiess
      @AndreasSpiess  7 หลายเดือนก่อน

      This is a re-play of an old video. In the meantime, it seems there are different variants available, some that do not work. I added the info in a pinned comment.

  • @roseat2
    @roseat2 8 หลายเดือนก่อน

    Nice test, however, you cover only one aspect of moister sensing because you test the probe in water, which is the case maybe only in a swamp. With different types of soil, readings will differ and you may expect only trends not measure humidity with countable precision. I created and sold capacitance soil moister probes almost 10 years ago with limited success because of issues with soil (ph, soil compacting, type of soil and ingredients, temperature, and so on). Probe was tested in different climate ranges and soil types, even in the substrate in almost laboratory environment.

    • @AndreasSpiess
      @AndreasSpiess  8 หลายเดือนก่อน

      I agree with your findings, but unfortunately, I did not find studies on the topic. I would only recommend these sensors to trigger watering. For precise measurements, you get the TDR sensors. But they are much more expensive. Could you let us know if you published your findings?

    • @roseat2
      @roseat2 8 หลายเดือนก่อน

      @@AndreasSpiess I will try to find some old web pages I created according to findings and republish them, however, it was a long time ago, and at that moment I wasn't fun of open hardware movement, mostly because I didn't understand licensing documentation and most document have strict copyright

  • @Filpvv
    @Filpvv 4 หลายเดือนก่อน

    I have ordered few for my greenhouse after watching the video