News for hackers. Stuff that matters.
Re:Show HN: GreenPiThumb – A Raspberry Pi Gardening Bot by joshvm on Tuesday June 27, 2017 @12:46PM (#14646974)
Fun story: we're doing a project at work to do with agriculture.

We bought some pot plants to keep alive and some cheap soil sensors; they're just two electrodes and you pass a current through the soil, measure the resistance and get a proxy for soil moisture. We left the sensor continuously logging on Friday, came back on Monday to find the plant very unhappy and the probe contacts almost completely corroded. Within a day or two it was a stump, never recovered.

Turns out you're not supposed to leave these things powered on 24/7 and capacitative sensors are a much better solution. TIL you can electrocute plants.

Re:Show HN: GreenPiThumb – A Raspberry Pi Gardening Bot by kaybe on Tuesday June 27, 2017 @04:05PM (#14648886)
Re:Show HN: GreenPiThumb – A Raspberry Pi Gardening Bot by setq on Tuesday June 27, 2017 @06:50PM (#14650269)
This is a really cool idea actually. However you're likely talking sub nanosecond rise times which makes things a little difficult in the signal processing space. For example my scope (knackered old 1971 Tek 475) can barely manage 1.8ns on a properly terminated transmission line which this will likely not be.
Re:Show HN: GreenPiThumb – A Raspberry Pi Gardening Bot by tonyarkles on Tuesday June 27, 2017 @11:43PM (#14651551)
I don't remember the name of the peripheral off the top of my head, but there are some PICs that have a very fast time measurement unit in them. I don't know if they're fast enough for soil measurement, but there's app notes around for doing TDR-based liquid level sensing with them.
Re:Show HN: GreenPiThumb – A Raspberry Pi Gardening Bot by setq on Wednesday June 28, 2017 @02:46AM (#14652149)
http://www.edn.com/Pdf/ViewPdf?contentItemId=4433411

Details above. Looks like you can get 3.5ps resolution with an off the shelf PIC after calibration which is pretty impressive!

Re:Show HN: GreenPiThumb – A Raspberry Pi Gardening Bot by kaybe on Thursday June 29, 2017 @08:35AM (#14662711)
Wow!

So the price is..

3$ for the microcontroller, 3$ for the 4 ns comparator, and a few cents for the resistors, capacitors, and 7 GHz transistors (I couldn't find the exact model), and probably some dollars for the rest of the materials such as steel rods and tubes. All in all it looks doable for <50$ easily. That's pretty amazing!

Re:Show HN: GreenPiThumb – A Raspberry Pi Gardening Bot by tonyarkles on Wednesday June 28, 2017 @02:26PM (#14656872)
That's the one! I was blown away when I first saw it!
Re:Show HN: GreenPiThumb – A Raspberry Pi Gardening Bot by joshvm on Wednesday June 28, 2017 @09:21AM (#14653806)
Provided you can get the rise time fast enough, you can use a TDC7200 http://www.ti.com/product/TDC7200 which will give you picosecond timing on the signal.

On the PIC solution you posted, how do you get around the fact that the comparator is only good to 4ns (regardless of whether you can time down to 4ps)? Lots of measurements and look at the stdev?

Re:Show HN: GreenPiThumb – A Raspberry Pi Gardening Bot by detaro on Tuesday June 27, 2017 @02:11PM (#14647758)
Probably not so much electrocuted as poisoned with metal ions.
Re:Show HN: GreenPiThumb – A Raspberry Pi Gardening Bot by joshvm on Wednesday June 28, 2017 @09:13AM (#14653750)
I did wonder this, was it simply the corrosion that did it?
Re:Show HN: GreenPiThumb – A Raspberry Pi Gardening Bot by setq on Tuesday June 27, 2017 @02:19PM (#14647835)
You plated your plant! :)