Robo-Tank DIY Aquarium Controller Forum
Conductivity Monitoring Recommendations - Printable Version

+- Robo-Tank DIY Aquarium Controller Forum (https://www.robo-tank.ca/forum)
+-- Forum: Members Zone (https://www.robo-tank.ca/forum/forum-11.html)
+--- Forum: DIY - Do It Yourself (https://www.robo-tank.ca/forum/forum-14.html)
+--- Thread: Conductivity Monitoring Recommendations (/thread-1164.html)



Conductivity Monitoring Recommendations - kfialkowski - 11-04-2020

I wanted to know if anyone has added Conductivity Monitoring to this project.  If so what probe and hardware was used to do this.  I have seen many options of connecting Raspberry Pi to hardware, but wanted to know if it is possible to add this as an input on the existing box and have it report values.  Any help would be great


RE: Conductivity Monitoring Recommendations - Rob F - 11-04-2020

Hi, currently it hasn't been added but some point I would like to integrate it through the back door so to speak. reef-pi has a file driver that will read a single value from a text file, with that it's possible to have a script running in background on Pi that's reading an EC circuit and writing it to file. In reef-pi you would bring this in through the pH tab so you would have the same features minus the calibration, that would need to be done with a separate script and saved to circuit.


RE: Conductivity Monitoring Recommendations - david@rainess.com - 12-04-2020

are we talking about the salinity probe ? ORP probe?
in any case, is the addition of a salinity probe would be in the same way as above ?


RE: Conductivity Monitoring Recommendations - kfialkowski - 12-04-2020

(12-04-2020, 09:58 AM)david@rainess.com Wrote: are we talking about the salinity probe ?  ORP probe?
in any case, is the addition of a salinity probe would be in the same way as above ?
So i currently have this working wonderfully.  I have Salinity,  ORP, PH,  room temp/humidity and a few other items I run a script on another pi that gather this data and puts it into a file which I read every few mins in REEF-Pi and chart for current and history the results


RE: Conductivity Monitoring Recommendations - Rob F - 12-04-2020

There's really no limit what you can import into reef-pi, it's a pretty flexible program.


RE: Conductivity Monitoring Recommendations - Dewd - 12-06-2020

Nice

I'd like to see more probes integrated into reef-pi


RE: Conductivity Monitoring Recommendations - Rob F - 12-06-2020

Soon I'm going to have some scripts available so it's easy to add EC, ORP, DO, flow meters, etc.


RE: Conductivity Monitoring Recommendations - JFReyes - 05-08-2021

Rob:

Now I'm thinking about adding a salinity probe to get that manual measurement off my back. Let's say I buy the Atlas Scientific Probe K 1.0; my question is, could I use your add-on Isolated pH Circuit to connect it? Or am I better off getting the Atlas Scientific Connectivity Kit which includes the circuit board? In any case I'll modify the reef-pi code to read the measurements directly and not use the file driver; it should behave similarly to the current pH capability. Please let me know, thanks!


RE: Conductivity Monitoring Recommendations - Rob F - 05-08-2021

Now this would be an update people would love, I get asked all the time, but yeah a little pricy, that's the main reason Ranjib hasn't supported it along with it not being open source.

Unfortunately my circuit won't read conductivity, apparently the circuits are similar but I think there are some differences and of course the code to calculate.

This is the circuit you would need, it works like the pH so you could basically copy and paste the pH driver and tweak for EC.

https://atlas-scientific.com/embedded-solutions/ezo-conductivity-circuit/

One nice thing about these circuits, they output conductivity, TDS, salinity and specific gravity if probe is in salt water.

Sadly Atlas makes you buy a 2nd board to isolate the circuit which is required, you need to choose which one to support as they now have a USB version.

We have this style of board, it uses I2C like my pH circuit and the other circuits compatible with reef-pi. If this was used the ezoPh driver in reef-pi is setup for I2C like this.

https://atlas-scientific.com/carrier-boards/electrically-isolated-ezo-carrier-board-gen-2/

In the last year or so they brought out this carrier board which IMO is the way to go however you won't be able to use the ezoPh driver as a reference as this one communicates different. They do say it works with Raspberry Pi and provide some USB drivers however I've personally never used them so not sure how easy it is to work with, I2C is easy. The reason I like these is I2C was never designed to leave a PCB without being converted to a differential signal. If multiple external I2C devices are added it could/will bring troubles. Reef-pi already needs pca9685, pH, possibly RTC, possibly the SHT31 they added (should have been a DHT22), possibly the ADC they added and now possibly the EC. This is a lot of I2C devices, anyone doing DIY and wants all these will likely have issues as there will be too much cable/connections, it's really setting people up for trouble.

https://atlas-scientific.com/carrier-boards/electrically-isolated-usb-ezo-carrier-board/


RE: Conductivity Monitoring Recommendations - JFReyes - 05-10-2021

Thanks for the info Rob, I'll keep looking. There's some interesting and (relatively) inexpensive Chinese stuff on eBay.

Thanks,


RE: Conductivity Monitoring Recommendations - Rob F - 05-10-2021

I know a couple people using the DFRobot analog circuit but not sure how well it works. I think a lot of circuits on eBay are analog as well. If you go that route you'll need the ADS1115 as Pi has no analog inputs.

https://www.adafruit.com/product/1085

Whatever route you go you need to isolated the power and data, DFRobot has one for analog.

https://www.dfrobot.com/product-1621.html

This is their kit but still need the above parts.

https://www.dfrobot.com/product-1123.html


RE: Conductivity Monitoring Recommendations - JFReyes - 05-10-2021

Excellent, thanks for the advice...


RE: Conductivity Monitoring Recommendations - Rob F - 05-11-2021

(05-10-2021, 05:27 PM)JFReyes Wrote: Excellent, thanks for the advice...

No problem, let us know what you come up with.


RE: Conductivity Monitoring Recommendations - JFReyes - 05-11-2021

I checked out the DFRobot offering; unfortunately the probe -- while relatively inexpensive -- is not rated for continued use under water. Will keep looking, thanks.


RE: Conductivity Monitoring Recommendations - Rob F - 05-11-2021

Ah that's stinks, they don't even offer the circuit without probe. I believe other analog circuits are very similar, as long as you have ADC they should work.


RE: Conductivity Monitoring Recommendations - BlakeD - 05-21-2023

Necropost...

Rob, any movement on this in the past couple years? Any current roadblocks that need to be addressed? Do you need a probe / circuit yourself? How can I help jumpstart this? :P


RE: Conductivity Monitoring Recommendations - Rob F - 05-22-2023

Hi Blake, I think I'm getting close as someone is designing a circuit, he's actually waiting on me to put the circuit on a board now so final testing can be done. Maybe in a month or two I'll have it. This would definitely be a nice addition as I'm always asked about it.