Тёмный

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

Andreas Spiess
Подписаться 473 тыс.
Просмотров 62 тыс.
50% 1

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/
RU-vidr 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

Наука

Опубликовано:

 

19 авг 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 380   
@lint2023
@lint2023 10 месяцев назад
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 10 месяцев назад
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 10 месяцев назад
Thank you for the info. I added the link to the video in the description.
@JohannesHerrmann
@JohannesHerrmann 2 месяца назад
Do you have a source, where to get components, that fulfill those 3 criteria?
@fss1704
@fss1704 Месяц назад
Dude, change the electrodes for graphite, and also implement fast read instead of continuous read and you'll have less power drain and waaaay less corrosion, i mean a milissecond read in 5 minutes = 300.000x less corrosion compared to continuous.
@AndreasSpiess
@AndreasSpiess 10 месяцев назад
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 10 месяцев назад
Ah, I knew I recognized the sensor in a plastic bag! :)
@TobyRobb
@TobyRobb 10 месяцев назад
For resistive probes AC reduces corrosion i have found..The control circuitry is more complex however.
@rak3shpai
@rak3shpai 10 месяцев назад
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 10 месяцев назад
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 10 месяцев назад
Why did you re-upload the 5 year old video?
@jurjenbos228
@jurjenbos228 9 месяцев назад
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 9 месяцев назад
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 ;-)
@B_mata
@B_mata 10 месяцев назад
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 10 месяцев назад
I heard of this flaw, too, and added a link to a video where it is shown in the description
@leiferickson3183
@leiferickson3183 10 месяцев назад
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 10 месяцев назад
Good idea! Thanks for the tip!
@kissinnokissinnovation8097
@kissinnokissinnovation8097 7 месяцев назад
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 7 месяцев назад
Thank you for your kind words! And I agree with the nail varnish.
@AlbertoCaruso-qc4hk
@AlbertoCaruso-qc4hk 3 месяца назад
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 3 месяца назад
You can do it if you want!
@nathanschmidt1843
@nathanschmidt1843 9 месяцев назад
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 9 месяцев назад
Always here to help ;-)
@chuxxsss
@chuxxsss 10 месяцев назад
Summer???? Spring is almost here in Australia. Great show, Andreas.
@AndreasSpiess
@AndreasSpiess 10 месяцев назад
Still summer here. Up to 35 degrees which is exceptional!
@chuxxsss
@chuxxsss 10 месяцев назад
@AndreasSpiess Stop it, still cold here 17 degree.
@MarinusMakesStuff
@MarinusMakesStuff 10 месяцев назад
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 10 месяцев назад
Maybe a small plastic bag would do the trick instead of coating or 3D printing. It could be replaced if needed.
@MarinusMakesStuff
@MarinusMakesStuff 9 месяцев назад
@@AndreasSpiess I'm thinking, maybe using graphite as an electrode in this case might actually make a lot of sense.
@Tibrification
@Tibrification 10 месяцев назад
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 10 месяцев назад
A very comprehensive write-up. Thank you for the link. I will include it in the video description
@jackflash6377
@jackflash6377 10 месяцев назад
A very timely video. I'm working on a tool, a portable moisture sensor. Subscribed. Thanks!!
@AndreasSpiess
@AndreasSpiess 10 месяцев назад
Welcome aboard the channel!
@hemanthkumar5438
@hemanthkumar5438 10 месяцев назад
Very insightful, A few years back someone shared this corrosion problem, i think the guy used graphite rods to solve it.
@AndreasSpiess
@AndreasSpiess 10 месяцев назад
Graphite rods are probably also a good idea.
@psane
@psane 9 месяцев назад
Your videos are always wonderful, instructional and your Swiss accent is adorable too
@AndreasSpiess
@AndreasSpiess 9 месяцев назад
Thank you for your kind words!
@planker
@planker 5 месяцев назад
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 5 месяцев назад
Glad you saw the videos before hitting the wrong order button ;-)
@dan-nutu
@dan-nutu 10 месяцев назад
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 10 месяцев назад
Yours can survive up to 1 years. Mine is less than 3 months even if I coated it.
@AndreasSpiess
@AndreasSpiess 10 месяцев назад
Good to know. Thank you for the feedback. So we need to find another cover like plastic.
@dan-nutu
@dan-nutu 10 месяцев назад
@@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.
@raymitchell9736
@raymitchell9736 10 месяцев назад
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 10 месяцев назад
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 10 месяцев назад
@@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 10 месяцев назад
Why power the sensor constantly? You only need a second or less to get the current value..
@raymitchell9736
@raymitchell9736 10 месяцев назад
@@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 5 месяцев назад
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?
@moustick2025
@moustick2025 10 месяцев назад
With your explaination it is very clear the one to use. Thank you for good work.
@AndreasSpiess
@AndreasSpiess 10 месяцев назад
You are welcome!
@larsniklassonhede3798
@larsniklassonhede3798 10 месяцев назад
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 10 месяцев назад
I wonder how you were able to solder to steel spokes. I did not know it works.
@ShafaqIftikhar-pw9ld
@ShafaqIftikhar-pw9ld 10 месяцев назад
Great video. Thankyou for the upload!!!!
@AndreasSpiess
@AndreasSpiess 10 месяцев назад
Glad you enjoyed it!
@SoundsLikeOdie
@SoundsLikeOdie 10 месяцев назад
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 10 месяцев назад
Just try it and you know if it works ;-)
@Scrogan
@Scrogan 10 месяцев назад
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 10 месяцев назад
Thank you for your additional information! I agree with the dipping.
@galaxya40s95
@galaxya40s95 10 месяцев назад
Another way to prolong the life of the electrodes is to switch which one is positive and negative with each measurement.
@Scrogan
@Scrogan 10 месяцев назад
@@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 10 месяцев назад
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 10 месяцев назад
@@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.
@Poult100
@Poult100 10 месяцев назад
Thank you! This reminds me of the capacitive tank level sensors. Same principle.
@AndreasSpiess
@AndreasSpiess 10 месяцев назад
Yes, just longer ;-)
@Poult100
@Poult100 10 месяцев назад
@@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 👍😁
@ChrisB...
@ChrisB... 10 месяцев назад
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 10 месяцев назад
I am not sure if humidity sensors work to measure moisture. Do you use them for moisture?
@ChrisB...
@ChrisB... 9 месяцев назад
I don't, but you did mention humidity sensors in the video. :) So slightly on topic.
@ProfMarcoCamara
@ProfMarcoCamara 10 месяцев назад
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 10 месяцев назад
Indeed, this is a good idea to reduce corrosion.
@Rendra5758
@Rendra5758 10 месяцев назад
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 10 месяцев назад
I agree. These sensors are made for typical soil only.
@morpheusde
@morpheusde 10 месяцев назад
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 10 месяцев назад
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 10 месяцев назад
@@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 :-)
@scrapwomblecreatives6944
@scrapwomblecreatives6944 10 месяцев назад
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 10 месяцев назад
Growing your own stuff can be very rewarding. Indoors it is probably a bit easier because of the lack of several pests
@AJB2K3
@AJB2K3 10 месяцев назад
I testesd one of the capacitive V1.2 wrapped in film for resin UV resin detection and was surprised it worked.
@AndreasSpiess
@AndreasSpiess 10 месяцев назад
Thank you for sharing your experience!
@tomad4051
@tomad4051 10 месяцев назад
Nice!, good research👍🏻👍🏻
@AndreasSpiess
@AndreasSpiess 10 месяцев назад
Thank you!
@sebydocky5080
@sebydocky5080 10 месяцев назад
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 10 месяцев назад
This sensor looks good! And I like people writing ESPhome components. Thank you!
@tomstern1681
@tomstern1681 10 месяцев назад
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 10 месяцев назад
An interesting idea!
@retireeelectronics2649
@retireeelectronics2649 10 месяцев назад
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.
@AdityaMehendale
@AdityaMehendale 10 месяцев назад
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 10 месяцев назад
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 9 месяцев назад
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 9 месяцев назад
@@edw4699amazing explanation. Two "carbon rods" = center part of pencils? Could you share some schematics?
@edw4699
@edw4699 8 месяцев назад
@@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 4 месяца назад
@@vazquezjmThat would be graphite.
@dougbas3980
@dougbas3980 10 месяцев назад
Interesting, just what I found using in my greenhouse. Thanks.
@AndreasSpiess
@AndreasSpiess 10 месяцев назад
I hope your plants do well if they get sufficient water with your automation ;-)
@GeekendZone
@GeekendZone 2 месяца назад
Good explanation as always.
@AndreasSpiess
@AndreasSpiess 2 месяца назад
Thanks for watching!
@kisssys5414
@kisssys5414 9 месяцев назад
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 9 месяцев назад
Glad to read that you use the FDR system (I once made a video about it)
@ManuOutdoor
@ManuOutdoor 10 месяцев назад
Danke die für den super Beitrag! 73 von HB9TIA!
@AndreasSpiess
@AndreasSpiess 10 месяцев назад
Gern geschehen! 73
@matambale
@matambale 10 месяцев назад
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 10 месяцев назад
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 9 месяцев назад
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.
@electronics.unmessed
@electronics.unmessed 9 месяцев назад
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 9 месяцев назад
I agree. But the simplicity of a 555 timer is hard to beat ;-)
@user-xv5ll6wr4p
@user-xv5ll6wr4p 9 месяцев назад
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 9 месяцев назад
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.
@TobyRobb
@TobyRobb 10 месяцев назад
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 10 месяцев назад
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.
@lutzsommer4708
@lutzsommer4708 10 месяцев назад
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 10 месяцев назад
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 10 месяцев назад
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.
@reyes09071962
@reyes09071962 10 месяцев назад
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 10 месяцев назад
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.
@wernerviehhauser94
@wernerviehhauser94 10 месяцев назад
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 10 месяцев назад
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 10 месяцев назад
@@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 10 месяцев назад
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 9 месяцев назад
@@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.
@princebanini
@princebanini 10 месяцев назад
these are some very interesting insights
@AndreasSpiess
@AndreasSpiess 10 месяцев назад
Thank you!
@MikeKasprzak
@MikeKasprzak 10 месяцев назад
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 10 месяцев назад
This went fast! Usually, they live a bit longer.
@FrankGraffagnino
@FrankGraffagnino 10 месяцев назад
i would love to see you include a "Gypsum" soil moisture sensor in your comparison!
@AndreasSpiess
@AndreasSpiess 10 месяцев назад
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.
@mehmetayparyangozalumni2606
@mehmetayparyangozalumni2606 8 месяцев назад
Great vid 👌
@AndreasSpiess
@AndreasSpiess 8 месяцев назад
Thank you!
@ulisherny236
@ulisherny236 10 месяцев назад
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 10 месяцев назад
Danke für deine ausführlichen Erklärungen. Chemie war nie meine Stärke ;-)
@Argosh
@Argosh 10 месяцев назад
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.
@AndreasSpiess
@AndreasSpiess 10 месяцев назад
Good point!
@nkronert
@nkronert 10 месяцев назад
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 10 месяцев назад
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 10 месяцев назад
@@Mark-Harding That's a rather big pricetag 🥴
@wherami
@wherami 10 месяцев назад
Great info
@AndreasSpiess
@AndreasSpiess 10 месяцев назад
Glad it was helpful!
@desparky
@desparky 5 месяцев назад
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 5 месяцев назад
I did not know that this issue is so old.
@desparky
@desparky 5 месяцев назад
@@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 5 месяцев назад
@@desparky It cannot be the age. I am 66 ;-)
@skovgaard79
@skovgaard79 5 месяцев назад
Great video
@AndreasSpiess
@AndreasSpiess 5 месяцев назад
Thanks!
@alx8439
@alx8439 10 месяцев назад
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 10 месяцев назад
I agree.
@HL65536
@HL65536 9 месяцев назад
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.
@mhlvos
@mhlvos 10 месяцев назад
Bedankt
@AndreasSpiess
@AndreasSpiess 10 месяцев назад
I appreciate your support!
@PineCoffee
@PineCoffee 10 месяцев назад
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 10 месяцев назад
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 10 месяцев назад
That is very true. In short, it is not install and forget. Choosing where to install it is also important.
@florinpandele5205
@florinpandele5205 10 месяцев назад
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 10 месяцев назад
@@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 10 месяцев назад
@@awaagrikh8331 You are right, I think different types of soil/soil mix might also have an impact.
@Suchtzocker
@Suchtzocker 10 месяцев назад
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 10 месяцев назад
I agree these Miflora sensors are a good choice. Thank you for sharing your experience!
@dabi4754
@dabi4754 10 месяцев назад
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 10 месяцев назад
Thanks for sharing your experience. I left a video where the quality problems are explained.
@ilkkapirttimaa
@ilkkapirttimaa 10 месяцев назад
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 10 месяцев назад
This is a good improvement and reduces corrosion!
@taoufikbadri6959
@taoufikbadri6959 10 месяцев назад
Thanks !
@AndreasSpiess
@AndreasSpiess 10 месяцев назад
You are welcome!
@vazquezjm
@vazquezjm 9 месяцев назад
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 9 месяцев назад
The 5V power supply should insulate your devices from the net. So pay attention!
@vazquezjm
@vazquezjm 9 месяцев назад
@@AndreasSpiesshmm, that could be the issue... will try with a different PSU. Thanks for replying!
@JuergenRarey-Th
@JuergenRarey-Th 10 месяцев назад
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 10 месяцев назад
I learned that measuring humidity and moisture is a different thing. So I never tried it.
@ItsTristan1st
@ItsTristan1st 10 месяцев назад
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 10 месяцев назад
Indeed so. I worked with non-linear dielectric spectroscopy for years measuring yeast viability.
@AndreasSpiess
@AndreasSpiess 10 месяцев назад
What would I discover in the spectrum? Is there any information available?
@jmr
@jmr 10 месяцев назад
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 10 месяцев назад
Inside are two not connected traces that form a capacitor.
@jmr
@jmr 9 месяцев назад
@@AndreasSpiess That's my suspicion after watching your video. It was very helpful to understanding how it works.
@Filpvv
@Filpvv 5 месяцев назад
I have ordered few for my greenhouse after watching the video
@AndreasSpiess
@AndreasSpiess 5 месяцев назад
:-)
@NathanSweet
@NathanSweet 10 месяцев назад
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 10 месяцев назад
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 9 месяцев назад
​@@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.
@trombabaroque
@trombabaroque 9 месяцев назад
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 9 месяцев назад
No, I did not check it for QRM. I have enough other sources, and I am building a remote station because of that ;-)
@stefanhertweck
@stefanhertweck 9 месяцев назад
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 9 месяцев назад
Thank you for the description. I never read about such a method. But obviously, it works!
@alx123
@alx123 10 месяцев назад
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 10 месяцев назад
Thank you for the info!
@Werevertumoto
@Werevertumoto 6 месяцев назад
I think that is just good old electrolysis happening there, the direct current will break apart the water into Oxygen and Hydrogen and the residue probably has to do with the impurities or minerals contained in the water that can also react.
@AndreasSpiess
@AndreasSpiess 5 месяцев назад
I think, you are right. Other commenters also pointed in this direction.
@awaagrikh8331
@awaagrikh8331 10 месяцев назад
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 10 месяцев назад
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.
@JoopKomkommerShake
@JoopKomkommerShake 10 месяцев назад
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 10 месяцев назад
Thank you for the info. Indeed, you can reduce the time current flows with this method
@matthewmaxwell-burton4549
@matthewmaxwell-burton4549 9 месяцев назад
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 9 месяцев назад
Thanks for the explanation!
@hagaygodovanik4334
@hagaygodovanik4334 9 месяцев назад
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 9 месяцев назад
I agree with your findings.
@makoado6010
@makoado6010 10 месяцев назад
there is a prefect soluiton from 70's: gypsum block. the response time is slow but extremly accurate.
@AndreasSpiess
@AndreasSpiess 10 месяцев назад
Thank you for the info. I found that these sensors are pretty expensive.
@makoado6010
@makoado6010 10 месяцев назад
@@AndreasSpiess easy to make u just need two graphite electrode and gypsum. and a temperature sensor if u want to be really pro.
@stevecummins324
@stevecummins324 8 месяцев назад
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 8 месяцев назад
Thank you for your additional info!
@thysgildenhuys2821
@thysgildenhuys2821 9 месяцев назад
Danke!
@AndreasSpiess
@AndreasSpiess 9 месяцев назад
Gern geschehen!
@ThierryC2373
@ThierryC2373 10 месяцев назад
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 10 месяцев назад
Tin the copper! Or use silver solder...
@AndreasSpiess
@AndreasSpiess 10 месяцев назад
Thank you for sharing your experience! Shortening the measuring time for sure reduces corrosion.
@GlennHamblin
@GlennHamblin 9 месяцев назад
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 9 месяцев назад
Thanks for your tips! Conformal coating for sure helps.
@stevecummins324
@stevecummins324 8 месяцев назад
Or with suitable choice of material... Any dc current flow will anodize a plate and stop the conduction.
@cyrillethierry9515
@cyrillethierry9515 10 месяцев назад
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 10 месяцев назад
I do not think these sensors are accurate, too. They are good to remind you to water your plants, not for agricultural studies...
@Electronieks
@Electronieks 10 месяцев назад
Durex is a brand to protect some sensors with a rubber layer
@AndreasSpiess
@AndreasSpiess 10 месяцев назад
Thank you for the information!
@MJLMICRO
@MJLMICRO 9 месяцев назад
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 9 месяцев назад
That is a good idea. I once made a video on how to use load cells.
@TheEmbeddedHobbyist
@TheEmbeddedHobbyist 10 месяцев назад
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.
@AndreasSpiess
@AndreasSpiess 10 месяцев назад
I agree!
@sajad.7369
@sajad.7369 8 дней назад
Great ❤❤❤❤❤
@maxximumb
@maxximumb 10 месяцев назад
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 10 месяцев назад
Others used graphite rods. I do not know how their handling is. The ones I know are very brittle.
@J0stik
@J0stik 10 месяцев назад
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 10 месяцев назад
Xiaomi offers a similar one, too. They are a good solution if you do not want to tinker.
@J0stik
@J0stik 10 месяцев назад
@@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.
@GeorgeMixalis
@GeorgeMixalis 9 месяцев назад
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 9 месяцев назад
I recently saw them on on a fair. They seem to be solid.
@markwarburton8563
@markwarburton8563 10 месяцев назад
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 10 месяцев назад
Indeed, this is a very versatile chip. (And it was invented by a Swiss ;-)
@miguelangelsimonfernandez5498
@miguelangelsimonfernandez5498 10 месяцев назад
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 10 месяцев назад
Maybe the capacitive sensors can be protected by plastic foil since they do not need contact with the soil.
@felenov
@felenov 10 месяцев назад
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 10 месяцев назад
You are right. This helps to avoid electrolysis.
@tim_bbq1008
@tim_bbq1008 9 месяцев назад
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.
@AndreasSpiess
@AndreasSpiess 9 месяцев назад
A good idea!
@pete3897
@pete3897 9 месяцев назад
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 9 месяцев назад
That would complicate the design, but it is possible and would reduce the corrosion.
@gplgomes
@gplgomes 10 месяцев назад
Soil has much less moisture, so are these sensors sensitive enough to measure it?
@AndreasSpiess
@AndreasSpiess 10 месяцев назад
Yes, they are sensitive enough to alarm you when you have to water plants (probably not cacti ;-)
@coldfinger459sub0
@coldfinger459sub0 10 месяцев назад
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 10 месяцев назад
Thank you for the info. Is this also true for capacitive sensors?
@electronron1
@electronron1 10 месяцев назад
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 10 месяцев назад
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...
@arp_catchall
@arp_catchall 10 месяцев назад
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 10 месяцев назад
Good tip. Thanks!
@olfo4100
@olfo4100 10 месяцев назад
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 10 месяцев назад
I agree. This is a good idea!
@LackofFaithify
@LackofFaithify 9 месяцев назад
That's why my plants have such conductive and dead roots! That's my excuse and I'm sticking to it.
@AndreasSpiess
@AndreasSpiess 9 месяцев назад
An exdellent excuse!
@kiztime1234
@kiztime1234 9 месяцев назад
I love the guy with the Swiss accent!
@AndreasSpiess
@AndreasSpiess 9 месяцев назад
:-)
Далее
КЛУБ ЗАБИТ ЛЮДЬМИ 😂
00:16
Просмотров 202 тыс.
451 Which Processor can kill the ESP32?
11:24
Просмотров 337 тыс.
Different ways to check the soil for moisture
13:26
Просмотров 46 тыс.
Automatic Garden Watering System
15:28
Просмотров 198 тыс.
wireless switch without wires part 6
0:49
Просмотров 4,3 млн
ВИPУC НА МАКБУК
0:21
Просмотров 22 тыс.
iPhone 12 socket cleaning #fixit
0:30
Просмотров 40 млн
Калькулятор в iPadOS 18 ➕
0:38
Просмотров 149 тыс.