Lurker News

Comments (181) 53 threads

Earlier comments
danhardman3 replies#
Did the pot you use have holes in the bottom? It looks like you have it just sat on a desk so I'm assuming it's basically just a bucket?

Your moisture problem could just be that you were relying too much on the water evaporating/being absorbed rather than needing to drain out. Gravel at the bottom of a pot with holes in helps water drain really well. Alternatively, without the gravel you could place the pot on a dish, fill the dish and let the water be absorbed from the bottom up.

mtlynch4 replies#
Yeah, it drains into a little tray underneath. I'm trying to figure out a better solution for that because we can't see how much water is in the tray, so if too much has drained out, it starts overflowing onto the table with no warning.

Also I get the sense that I shouldn't just be leaving standing water in the tray forever, but it's also pretty difficult to remove the tray and empty it.

hammock1 reply#
Put some pebbles on top of the tray to raise the pot off of it, so it's not sitting in the standing water.
mtlynch1 reply#
Oh that's a good idea. Thanks!

Continue this thread — 1 reply

andegre#
Put another sensor in your tray wired up to your UI, so as soon as the sensor goes from 0% to 100% for moisture, you know to empty your tray.
mholmes680#
what if the tray was the way to detect moisture level? or, you could drip it back into the supply water?
Ham5ter1 reply#
Why not connect your tray, back into the Watter reservoir?

This way, it cannot get to Wet, and you could just Pump that Pot full with watter, any excess watter, will just drain through the Soil back into the reservoir :)

ZirconCode#
Dirty water in the pump is bad.
kingosticks3 replies#
If you are growing from seed, does the bottom up absorption still work or do you need roots first? I tried googling this but I'm reluctant to visit some of the "green" websites that dominate the results from my work computer.
adrianN#
It depends on how deep your pot is. For normal pots it probably doesn't work without roots.
Thews#
Lots of plants like to be top fed. Also roots of different plants can grow differently for aeration. Probably best to educate yourself on horticulture more so than software and sensors.
roel_v#
You'll probably want to germinate in small containers, which work fine when bottom fed. I use styrofoam cups that are placed on top of a capillary mat, which draws water from a container underneath. Works great, keepz the soil moist but not wet. I have these in my indoor seed starter; it has temperature controls and fans to keep young plants moving. Works great for mint, tomatoes and peppers. Peppers actually like to be 'abused' a bit - periods of drought, hard winds, large variation in temperature. Makes them very bushy with thick stems. With a computerized system this is easy to implement, but the problem is how to measure the response variable in such a system (or even define it) to set up a fully self-regulating system. The hard- and software in these systems are easy, it's the botany, biochemistry and horticulture that is hard.
reitanqild#
Agree.

Alittle more details about watering:
IIRC many plants grows best in the long run if watered thoroughly and then left to dry up a bit in between.
The reason for the drying is the drying causes the roots to grow. And the reason for why it should be really soaked when watered is so that the roots will stretch towards the bottom instead of spreading out on top.
(Correct me if I'm wrong, I left farming school almost half my life ago && English is not my mother tongue.)

2III74 replies#
I bought this moisture sensor for a gardening project

https://www.tindie.com/products/miceuz/i2c-soil-moisture-sen...
Haven't had the chance to try it out in soil yet, but reading the comments it looks promising. It uses capacitance instead of resistance and connects directly to the I2C pins of the Pi. So, easier to setup and should be more reliable.
On the software side I use Grafana https://grafana.com/
Not really made for gardening projects but its monitoring and alerting capabilities are pretty much perfect for this kind of application. Not to mention how easy it was to set it up on the Pi and get all (temperature, moisture, light) the sensor data in.

mtlynch1 reply#
Thanks for the tip! I hadn't seen this.
2III7#
Beware of the delivery time though. It took them 3 weeks to ship the sensor from Lithuania to Estonia :)

For pump and other peripheral control I plan on using an opto-isolated relay board. You can get one for really cheap and they're easy to setup with the Pi. Check this wiki on how to use the board in isolation mode.
http://arduino-info.wikispaces.com/ArduinoPower

heavyweight2 replies#
Another, more polished, option is http://vegetronix.com. I've used their probes for years and can't believe they're not more popular.

They use capacitive sensing and they're enclosed and waterproof.
I highly recommend them.

splitbrain#
$40 is quite steep compared to the rest of components usually used in such a project.
tthayer1 reply#
Have you had any fail yet? $40 seems like a lot until you add up replacement of failed units for the cheaper stuff.
heavyweight#
I admit the price is steep, but it's worth it for me. They're more for a professional application than the hobby side of things.

I have found them to be reliable and accurate. No failures yet in about a year and a half.
I usually adhere to the old "you get what you pay for" mindset, so I have no problem spending more on something I can rely on.

HeyLaughingBoy#
Thank you for that. I was really beginning to give up hope for the site :-)
simonrobb1 reply#
...nope. This'll give you a nice little touch sensor but not much more than that. Try turning this into any sort of usable measurement of soil moisture as opposed to "there's wet soil on this strip of foil" and you'll run into a wall.
simonrobb#
Miceuz's work is excellent and this sensor in particular is on point. I've been using a handful of them with an ESP8266 as a wireless I2C master for the last year or so.
thedaniel2 replies#
In the water distribution section the author mentions the other gardening software doesn't mention how they distribute water. There's a longer history of irrigation than there is of embedded software development, so maybe he should have talked to someone that actually does agriculture or googled 'irrigation system parts' and bought one of the thousands of existing drippers for a buck.

Of course the later heading "the gardening wasn't supposed to be hard" seems to imply that he assumes non-coding skills are easy to figure out or obvious, which is a sadly too-common trend in the tech world.

bennyp101#
I think you might be taking this a tad too seriously ;)
mtlynch1 reply#
I didn't mean to imply that gardening in general is easy, just that gardening basic houseplants seems like it's not supposed to be very hard.

We did look for gardening supplies that would spread the water out, but everything we found was designed for large fields or at least small gardens, not single planters. I'm seeing the same thing now when I Google "irrigation system parts." Looking at drippers, I'm not seeing how it would solve the problem. Doesn't it just drip onto a single spot?

thedaniel#
Sorry to come across so harsh, I was in a poor mood yesterday :) There are a bunch that friction fit onto tubing that have e.g. 10 holes and spray out to the sides
bfu5 replies#
Instead of measuring soil moisture try:

    - measuring air moisture of small upside down cup on top of the soil
    - measuring weight of the whole pot
Or don't measure at all and instead use precise amount of water on precise times (RTC module, medical grade piezo-electric pump). My similar project is on hold at 20 or so sketches of various types of water pumps.
hvidgaard#
> Or don't measure at all and instead use precise amount of water on precise times

This may or may not work depending on location of the plant. If it's in changing temperaturs and direct sunlight, there will be periods where it needs more water.

rwmj1 reply#
Wouldn't the weight of the pot increase as the plant grows (because it's absorbing carbon from the air in fact).
jbeales#
This could be accounted for - for example, if the weight of everything drops by 100 grams, then at least 100 grams of water has been used or evaporated. Eventually any increase in weight from the plant could probably be calculated, but for many plants, (like bush beans), it's a relatively small amount, probably less than a pound.

OTOH indeterminate tomato plant, for example, weighs a lot, and the weight would also be affected by picking the fruit.

criddell1 reply#
I wonder if you could use the camera to detect when the plant needs water? I have a plant on my desk that I dump water into whenever it starts looking sad and it's been alive for years now.
Diederich#
> I have a plant on my desk that I dump water into whenever it starts looking sad and it's been alive for years now.

I've grown some glorious plants on my desk at work with exactly that method. When the ends get a little droopy, I water them heavily.

kpil#
Wouldn't two temperature sensors tell a bigger difference for wet soil, as the wick temperature is lower in damp soil. If it's little difference it's probably dry.

That's at least partially how my finger works as a sensor. A finger test probably picks up sponginess too.

cbanek#
How would measuring the weight account for the plant growing in size and weight?

You can also use a peristaltic pump for accurate watering and adding in nutrients, or adjusting pH. Sparkfun even has a kit (https://www.sparkfun.com/products/12915) for its automated bartender.

Load more comments