(Cheap) conductivity sensors are difficult to find and there's considerable number of references ...
Public Lab is an open community which collaboratively develops accessible, open source, Do-It-Yourself technologies for investigating local environmental health and justice issues.
As an open source community, we believe in open licensing of content so that other members of the community can leverage your work legally -- with attribution, of course. By joining the Public Lab site, you agree to release the content you post here under a Creative Commons Attribution Sharealike license, and the hardware designs you post under the CERN Open Hardware License 1.1 (full text). This has the added benefit that others must share their improvements in turn with you.
(Cheap) conductivity sensors are difficult to find and there's considerable number of references in Public Lab and, for example, Ed Mallon in his Cave Pearl Project Blog (excellent!). I'm still struggling with finding a good, solid basic circuit and have some Coqui-ish thing that I'm working on now. However, I was wondering if there is any reason why a TDS monitor ( e.g. the one by DFRobot) couldn't be modified to collect EC data? Obviously the DFRobot TDS monitor could be temperature compensated, the input scaled appropriately, and the probe would still have the over-voltage/hydrogen problem, but it seems that at $13 it's not a bad option.
@Ag8n - yes, I saw the other discussion, but it had seemed to go on a tangent. ‘crazy’ @cfastie I think hits it right on the head (gotta love that autocorrect). Ive ordered one, will follow-up with them on special operating characteristics, and follow-up here with my results. Probably a couple of weeks given my travel, etc.
You hit the nail on the head with auto correct. Good luck with your project.
Reply to this comment...
An quick update: The TDS sensor from DFRobots performs as describes. Very easy to connect to the MiniPearl logger. In general, it collects a voltage drop and converts that to a TDS value in PPM. As noted by DFRobots, conversion to conductivity is a simple scaling (i.e. multiply by 2). I got the TDS sensor working on the Mini Pearl Logger (with a hint from @cfastie) and the TDS values match reasonably to the values obtained via a TDS pen I had laying around but never used. Interestingly the TDS pen also converts to a Conductivity value by simply multiplying by 2. Instructions and code for calibrating the TDS sensor are provided by DFRobots. I briefly got the DS18B20 temperature probe and the TDS sensor sorta working together on the Mini-Pearl Logger (some significant power saving timing issues still needed to be worked out). Then I fried something and now cannot access the microUSB. I'm going to work understanding the TDS sampling code before I jump back into the hardware.
@stevie - maybe this could at some point be a good kit for students to use? Pretty cool, @MadTinker !!
Interestingly the TDS pen also converts to a Conductivity value by simply multiplying by 2
Does this confirm @cfastie's thought that this and other sensors which purport to report Total Dissolved Solids are just conductivity sensors -- or just that TDS and conductivity are directly related?
Confirm? Hmmm... well, I have two data points, both of which coincidently use the same multiplier on EC to get TDS. From discussions with folks who are a bit more knowledgeable than me, the value of the multiplier is a major point of contention. It really depends on what the 'solids' are (eg. organics versus salts) and what you mean by 'dissolved'.
Ran across this article that discusses at a high level the relationship between salinity, TDS, and conductivity. Reference . It specifically mentions the conversion factor of 0.49 for EC -> TDS when measuring salinity and 0.91 for sodium bicarbonate in solution.