pH Measurement
The ISE Probe Interface can measure pH with a pH probe attached. Including #include "ISE_pH.h"
will give access to all of the previously described API functions, in addition to measurepH()
. calibrateSingle()
, calibrateProbeLow()
, and calibrateProbeHigh()
take a pH unit value rather than a mV value if using the pH library.
float measurepH()
Starts a pH measurement.
ISE_pH::measurepH();
pH.measurepH()
Returns
the measured result in pH, or -1 on error
void calibrateSingle(float solutionpH)
Calibrates the probe using a single point using a pH value. It takes 4.5 seconds to complete.
ISE_pH::calibrateSingle(7.0);
pH.calibrateSingle(7.0)
cal 7.0
The result will be saved in the device's EEPROM and used automatically.
void calibrateProbeLow(float solutionpH)
Calibrates the dual-point values for the low reading, in pH, and saves them in the devices's EEPROM. It takes 4.5 seconds to complete.
ISE_pH::calibrateProbeLow(4.0);
pH.calibrateProbeLow(4.0)
low 4.0
Parameters
solutionpH
the mV of the calibration solution
void calibrateProbeHigh(float solutionpH)
Calibrates the dual-point values for the high reading, in pH, and saves them in the devices's EEPROM. It takes 4.5 seconds to complete.
ISE_pH::calibrateProbeHigh(10.0);
pH.calibrateProbeHigh(10.0)
high 10.0
Parameters
solutionpH
the mV of the calibration solution