EnviroDIY / Arduino-SDI-12

An Arduino library for SDI-12 communication with a wide variety of environmental sensors. This library provides a general software solution, without requiring any additional hardware.
https://github.com/EnviroDIY/Arduino-SDI-12/wiki
BSD 3-Clause "New" or "Revised" License
159 stars 100 forks source link

Another SDI-12 implementation #2

Closed awickert closed 10 years ago

awickert commented 10 years ago

Wanted to give a heads up that, if you haven't seen it, another Github repository contains a SDI-12 interface, but all in the Arduino sketch (i.e. without a dedicated library):

https://github.com/chlewissoil/SDI12/blob/master/water_gs3.ino

Haven't looked through their code much, but there may be some good ideas that you can gather from it.

s-hicks2 commented 10 years ago

Andy,

Unfortunately, that person didn't actually implement true SDI-12 protocol. They are just using the basic serial output of the sensor, which you and I have been using for a few years now. The down-side is that its' hard to connect multiple sensors to one logger with that type of setup. The benefit of SDI-12 is that you can assign each sensor an address, then you can connect all the sensors to one pin, and poll them one at a time. It's a little harder software-wise, but it's much nicer on the hardware side to have an SDI-12 buss.

Kevin-M-Smith commented 10 years ago

Hey Andy,

I had been in touch with Chloe (the owner of the GitHub repo) last Spring through a mailing list, and encouraged her to pos her code to GitHub.

She didn’t have time to clean it up, and I offered to do so rather than starting from scratch.

Unfortunately, she actually implemented Decagon’s DDI Serial Protocol - not SDI-12 itself.

There are nuances between the protocols that I don’t recall offhand, but are outlined in Decagon’s user manuals.

Best, Kevin

On Dec 6, 2013, at 10:39 AM, Andy Wickert notifications@github.com<mailto:notifications@github.com> wrote:

Wanted to give a heads up that, if you haven't seen it, another Github repository contains a SDI-12 interface, but all in the Arduino sketch (i.e. without a dedicated library):

https://github.com/chlewissoil/SDI12/blob/master/water_gs3.ino

Haven't looked through their code much, but there may be some good ideas that you can gather from it.

— Reply to this email directly or view it on GitHubhttps://github.com/StroudCenter/Arduino-SDI-12/issues/2.

awickert commented 10 years ago

Thanks Kevin and Anthony. Guess I should've taken a closer look at that before forwarding it along to you. I'm going to close this.

As an aside, though, I am planning on including this library with mine (https://github.com/NorthernWidget/Logger) and replacing my current serial Decagon sensor functions, which based on conversations I've had with Steve Hicks, with SDI-12 ones. Thanks again for all your hard work in making this library available!