pH Measurement

measurepH

Starts a pH measurement. Temperature compensation is available.

If usingTemperatureCompensation is true, a temperature reading is automatically taken and a compensation forumula is applied. It can be enabled by calling usingTemperatureCompensation and passing true or false.

Usage

ISE_pH::measurepH();

Example

#include <ISE_pH.h>
ISE_pH pH;

pH.measurepH();

To pass take a new temperature reading or not, pass a bool value. This is useful in conjunction with setTemp and using a temperature source not from the onboard temperature sensor.

#include <ISE_pH.h>
ISE_pH pH;

pH.measurepH(true);

Related

Returns

the measured result in pH, or -1 on error. If the probe is unconnected, the value will float.

calibrateProbeLow

Calibrates the dual-point values for the low reading and saves them in the devices's EEPROM.

Dual point uses two measures for low and high points. It needs the measured value (reading value) and the known value (reference value). Calling calibrateProbeLow saves both the reading and reference value.

Parameters

  • solution_pH the pH of the calibration solution

Usage

ISE_pH::calibrateProbeLow(4.0);

Example

#include <ISE_pH.h>
ISE_pH pH;

pH.calibrateProbeLow(4.0)

Related

Returns

none

Don't forget...

Dual point requires a high and low point. It isn't enabled until a call to useDualPoint.

calibrateProbeHigh

Calibrates the dual-point values for the high reading and saves them in the devices's EEPROM.

Dual point uses two measures for low and high points. It needs the measured value (reading value) and the known value (reference value). Calling calibrateProbeHigh saves both the reading and reference value.

Parameters

  • solution_pH the pH of the calibration solution

Usage

ISE_pH::calibrateProbeHigh(10.0);

Example

#include <ISE_pH.h>
ISE_pH pH;

pH.calibrateProbeHigh(10.0)

Related

Returns

none

Don't forget...

Dual point requires a high and low point. It isn't enabled until a call to useDualPoint.