ORP Measurement

The ISE Probe Interface can measure ORP with an ORP probe attached. Including #include "ISE_ORP.h" will give access to all of the previously described API functions, in addition to measureORP(). Additionally, Eh is calculated; two methods are included for Eh, setProbePotential() and getProbePotential().

float measureORP()

Starts an ORP measurement. ISE_ORP::ORP and ISE_ORP::Eh are updated.

ISE_ORP::measureORP();
ORP.measureORP()

Returns

the measured result in mV, or -1 on error

void setProbePotential(uint32_t probePotential)

Saves the connected probe's potential in EEPROM so that Eh can be calculated. After setting this value, the class member ISE_ORP::Eh is automatically updated with each call to measureORP().

ISE_ORP::setProbePotential(195);
ORP.setProbePotential(195)

uint32_t getProbePotential()

Returns the saved probe potential from EEPROM.

ISE_ORP::getProbePotential();
ORP.getProbePotential()

Returns

the probe potential