μniversal fire

EC-Salinity Probe

Monitor hydroponic nutrient levels, salinity levels in aquariums or the ocean, saltwater pools, soil salinity, water quality

  • Electrical Conductivity in Siemens
  • Total Dissolved Solids in PPM
  • Salinity in PSU and PPT

ECSalinity probe

Buy one
or make one with the source code and schematics.

What it is

An ATTiny85 programmed as an I2C slave, a DS18B20 waterproof temperature probe, and a two-electrode EC probe. It measures conductance and converts it into a temperature-compensated Siemen. From that value, it derives PPM and salinity.

Using it

An Arduino-compatible library is provided to make using the probe easy and there is extensive documentation on the use and setup of the device. The library is available for download and installation in the Arduino Library Manager as well as the PlatformIO Library Manager, just search for EC Salinity.

There is also a python3 library available for use on the Raspberry Pi. You can find it at the library’s GitHub page.

#include <ECSalinity.h>
EC_Salinity ec;

mS = ec.measureEC();

Probe Selection

Any 2-electrode probe can be used. A probe can also be made by hand. Instructions are given in the documentation and a thorough article describing specifically how to make one is availabe as well.


Support and Questions

If you have any questions, find a bug, or have any suggestions on improvements, go to this project’s GitHub page and submit an Issue or Pull Request.

You can send an email to questions@ufire.co