Atlas Scientific's line of EZO circuits has two data protocols, UART and I2C. The circuits are in UART mode by default. But what happens if your application requires I2C? Or maybe the circuits are already in I2C, and you would like to revert to UART? The following three methods demonstrate how to change between protocols.
Method 1: Using the Whitebox Labs I2C toggler
Method 2: Manual Switching
Method 3: UART/I2C command using Arduino
Methods 1-3 will work for the following EZO circuits: pH, salinity, dissolved oxygen (DO), oxidation-reduction potential (ORP), temperature, and flow.
Methods 2 and 3 are more convenient for the peristaltic pump and CO2 due to their design.
Note: Depending on which EZO circuits you are working with, the switch on the toggler must be set to the appropriate position as indicated by the inscription on the board. The picture above provides a summary.
The pH sensor and peristaltic pump are used in the demonstrations.
Note: Using the manual method will set the I2C address of the circuit to its default. Default addresses are listed in the datasheet of the respective EZO circuits on the Atlas Scientific website. For more information on this method refer to the “Manual Switching” sections of the corresponding EZO datasheets.
The pH sensor and peristaltic pump are used in the demonstrations.