D105: TDS sensor connection

TDS level sensor

Image 444

You can connect a TDS sensor to the universal meter smart-MAC D105, which serves to determine the hardness of water and measures the concentration of salts dissolved in water.

TDS is the total dissolved solids.

Image 530

A TDS sensor for connecting to 1/8 '' fittings is supplied with an interface board that converts the signal on the sensor to an analog voltage.

Wiring diagram:

  • connect the black wire of the sensor to terminal 1: GND (Ground or -5V)
  • connect the red wire of the sensor to terminal 6: + 5V
  • yellow/green sensor wire connects to terminal 5: ADC

Image 757

TDS sensor wiring diagram for smart-MAC D105

Dashboard widget settings

Add a widget indicator, chart or table to the board.

Select your smart-MAC D105 device.

It is recommended to combine TDS liquid level measurement with temperature measurement and use a correction temperature coefficient.
In the section "Arithmetic operation" select the function f(x) and write the function for calculating TDS in [mg / l]

    var vc = d.ADC / (1.0+0.02*(d.T1-25.0));  


    d.T1 is the temperature of the liquid measured by the temperature sensor T1.

    Change d.T1 to the temperature T1-T5 with your connection. If the temperature sensor did not connect, then instead of d.T1, use the closest data to the temperature of the liquid.

    Image 532

    Set up notifications on the device and control the built-in relay.

    To configure notifications on the D105 device and automatically control the built-in relay according to the TDS level, you should define a simplified formula for calculating the voltage at the analog input with the corresponding TDS level.

    Vout = TDS * 0,0023

    TDS - the level at which the alert should come or the relay is activated;
    Vout - voltage at the analog input, with the corresponding TDS.

    Image 531

    Mounting options

    The TDS sensor is designed for installation on OSMOS fittings.
    These are plastic crimp tees, as in the photo.

    Image 652

    Image 653

    To mount the sensor on a DN20 pipe (for example) you will need 2 fittings:

    1. Tee DN20 - G1/4'' - DN20 (as for a standard pressure gauge)
    2. Straight fitting for OSMOS to G1/4"

    Image 901


    This article was helpful for 20 people. Is this article helpful for you?