bogdanaioane
New member
I think I found a better solution for you
stay tuned
stay tuned

bogdanaioane said:yes the module is MCU but don't worry I will send you a preprogramed MCU if you decide to try it out (I need betta testers) you just have to have a way to communicate with it (serial or i2C does your PLC have any of those?)
bogdanaioane said:if you design the meter to work with a probe of K=0.1 for example..
(if you don't know the K of your probe you can determine it by connecting a resistor of known resistance instead of the probe and measuring the conductivity. if you get a conductivity in tds you need to convert that into S/cm)
to get the K you need to calculate it using this formula
K=EC/(1/R)
K= cell constant
EC=conductivity of solution in S/cm
R=resistance
bogdanaioane said:once you know K (it doesn't have to be precise) you can continue. I will carry on with the assumption that K is 0.1 as this is a common constant for tds measurements.
if you know k and you know the range you need the circuit to work in for example K=0.1 and desired range is up to 4mS/cm which is about 2000tds, than using the formulas above you can calculate the resistance you need to measure which in this example is 50KOhm to about 25Ohm for a range of 0.002-0.4 mS/cm
so in my circuit R17,R18,R19 should be 50K and that means that for a probe resistance of 50Kohm the voltage output from the instrumentation amplifier is 0V the voltage output at the other end is controlled by R16.
writing this I realise that it is going to be a bit difficult to implement for you as the calculations of tds and temperature comp are done in the MCU. but it would be good if you can have a try and tell me what you think
since this is essentially an ohm meter the voltage output is linear to the measured resistance so the ec and tds are calculated in the MCU
calibration is done in mcu as well by compensating for slope and offset with one point calibration and 0 (so actually two point if you count the probe in air)