Data Gator
Hardware and software documentation for the Data Gator project.
Loading...
Searching...
No Matches
Atlas_EZO-pH.hpp File Reference

Implements I2C pH sensor which inherits from pHSensor.hpp. More...

#include <Wire.h>
#include <pHSensor.hpp>
Include dependency graph for Atlas_EZO-pH.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  AtlasEZOpH
 Defines an I2C pH sensor which inherits from pHSensor.hpp. More...
 

Macros

#define EZO_I2C_ADDR   99
 Default I2C address for sensor.
 
#define EZO_I2C_SHALLOW_ADDR   0x01
 I2C address assigned to sensors buried at shallow depth (~1ft)
 
#define EZO_I2C_MIDDLE_ADDR   0x02
 I2C address assigned to sensors buried at medium depth (~2ft)
 
#define EZO_I2C_DEEP_ADDR   0x03
 I2C address assigned to deepest sensors (~3ft)
 

Detailed Description

Implements I2C pH sensor which inherits from pHSensor.hpp.

Based on the Atlas EZO-pH example code for the sensor of the same name.

Author
Garrett Wells
Date
03/09/2023