EC Salinity Probe Interface
Monitor hydroponic nutrient levels, salinity in aquariums, the ocean, or pools, measure soil salinity, monitor water quality
- Electrical Conductivity in Siemens
- Total Dissolved Solids in PPM
- Salinity in PSU and PPT
Buy one
or make one with the source code and schematics.
You can also have the board made
and get all the board components at Mouser
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. Any two-electrode probe can be used, including a hand-made probe.
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. pip3 install ecsalinity
to install it. You can find an example at the library's GitHub page.
#include <ECSalinity.h>
EC_Salinity ec;
mS = ec.measureEC(ec.tempCoefEC);