Atlas Scientific EZO-pH Manual Download Page 68

I

2

C address change

Warning!

Changing the I

2

C address will prevent 

communication between the circuit and 

the CPU until the CPU is updated with the 

new I

2

C address.

Default I

2

C address is 99 (0x63).

I2C,n

Command syntax

I2C,100

device reboot

Example

Response

300ms

processing delay

I2C,100

SDA

(TX)

(RX)

SCL

SDA

(TX)

(RX)

SCL

SDA

(TX)

(RX)

SCL

Short

SDA

(TX)

(RX)

SCL

SDA

(TX)

(RX)

SCL

SDA

(TX)

(RX)

SCL

SDA

(TX)

(RX)

SCL

SDA

(TX)

(RX)

SCL

Short

SDA

(TX)

(RX)

SCL

SDA

(TX)

(RX)

SCL

(reboot)

r 0.2

n = any number 1 – 127

sets I

2

C address and reboots into I

2

C mode

58

Copyright © Atlas Scientific LLC

Summary of Contents for EZO-pH

Page 1: ...ressure 1 meter Cable length No Internal temperature sensor 1 Year Time before recalibration 2 5 Years Life expectancy N A Maintenance Silver silver chloride Reads pH 0 0001 Resolution 1 99 C Temperat...

Page 2: ...ft 1 meter 49 grams 95 in 1 second pH 7 00 0 mV 12mm x 150mm 0 5 x 6 Yes Chemical only Yes Standard lab use Field use Soil Low ionic and ultra pure water High pH solutions up to 14 pH Samples containi...

Page 3: ...to the outer layer of the glass while larger ions remain in the solution The difference in the concentration of hydrogen ions outside the probe vs inside the probe creates a VERY small current This cu...

Page 4: ...ectors and cables The current that is generated from the hydrogen ion activity is the reciprocal of that activity and can be predicted using this equation Because a pH probe is a passive device it can...

Page 5: ...10 15 20 1 5 15 15 20 A B C D E F G H I J A B C D E F G H I J NEVER EXTEND THE CABLE WITH CHEAP JUMPER WIRES DO NOT CUT THE PROBE CABLE WITHOUT REFERING TO THIS DOCUMENT 5 Copyright Atlas Scientific...

Page 6: ...1 5 10 15 20 1 5 15 15 20 A B C D E F G H I J A B C D E F G H I J DO NOT MAKE YOUR OWN UNSHIELDED CABLES ONLY USE SHIELDED CABLES REFER TO THIS DOCUMENT 6 Copyright Atlas Scientific LLC...

Page 7: ...e recommend that you use proper isolation such as the Basic EZO TM Inline Voltage Isolator or Tentacle Shield Be sure to calibrate your probe with the extended cable Extending a probe cable can be eas...

Page 8: ...bottle by turning it counter clockwise and pulling the probe out Slide the O ring and the cap off the probe pH probes must stay wet and cannot be allowed to dry out this is why every pH probe is shipp...

Page 9: ...n slope The type of coating will determine the cleaning technique Soft coatings can be removed by vigorous stirring or by the use of a squirt bottle Organic chemical or hard coatings should be chemica...

Page 10: ...l only need to recalibrate your probe once per year for the first two years After that every six months If you are using the pH probe in batch chemical manufacturing industrial process or in a solutio...

Page 11: ...ation UART I2 C Data protocol 99 0x63 Default I2 C address 3 3V 5V Operating voltage ASCII Data format Yes Temp compensation Reads pH 001 Resolution EZO pH Embedded pH Circuit V 5 1 Revised 10 23 18 T...

Page 12: ...can be soldered at any time Once that decision has been made Atlas Scientific no longer assumes responsibility for the device s continued operation The embedded systems engineer is now the responsibl...

Page 13: ...mation Response codes Reading device status Sleep mode low power Change baud rate Protocol lock Factory reset Change to I2 C mode Manual switching to I2 C I2 C mode Sending commands Requesting data Re...

Page 14: ...3 3 mA 13 3 mA ON OFF OFF 5V 3 3V Absolute max ratings MIN MAX TYP Parameter 65 C 125 C 85 C 25 C 40 C Storage temperature EZO pH VCC Operational temperature EZO pH 5V 5 5V 3 3V EZO TM circuit dimensi...

Page 15: ...EZO TM circuit identification Viewing correct datasheet Viewing incorrect datasheet EZO pH circuit Legacy pH circuit Click here to view legacy datasheet r 0 1 5 0 5 0 5 Copyright Atlas Scientific LLC...

Page 16: ...to the outer layer of the glass while larger ions remain in the solution The difference in the concentration of hydrogen ions outside the probe vs inside the probe creates a VERY small current This cu...

Page 17: ...nd Cal mid n Where n is any floating point value that represents the calibration midpoint 5 Do not pour the calibration solution back into the bottle 1 5 10 15 20 25 30 1 5 10 15 20 25 30 A B C D E F...

Page 18: ...unt of the calibration solution into a cup 3 Let the probe sit in calibration solution until readings stabilize 1 2 minutes 4 Calibrate the highpoint value using the command Cal high n Where n is any...

Page 19: ...idly fluctuating readings or readings that are consistently off To verify that electrical noise is causing inaccurate readings place the pH probe in a cup of water by itself The readings should stabil...

Page 20: ...ated and non isolated lines R1 R2 R3 and R4 The output voltage is set using a voltage divider R5 R6 and R 7 this produces a voltage of 3 9V regardless of your input voltage Isolated ground is differen...

Page 21: ...0 15 20 1 5 15 15 20 A B C D E F G H I J A B C D E F G H I J 1 5 10 15 20 1 5 15 15 20 A B C D E F G H I J A B C D E F G H I J TM Atlas Scientific PWR RX TX Only after you are familar with EZOTM circu...

Page 22: ...10 15 20 1 5 15 15 20 A B C D E F G H I J A B C D E F G H I J NEVER EXTEND THE CABLE WITH CHEAP JUMPER WIRES DO NOT CUT THE PROBE CABLE WITHOUT REFERING TO THIS DOCUMENT 12 Copyright Atlas Scientific...

Page 23: ...1 5 10 15 20 1 5 15 15 20 A B C D E F G H I J A B C D E F G H I J DO NOT MAKE YOUR OWN UNSHIELDED CABLES ONLY USE SHIELDED CABLES REFER TO THIS DOCUMENT 13 Copyright Atlas Scientific LLC...

Page 24: ...SPI Analog RS 485 Mod Bus 4 20mA Available data protocols Unavailable data protocols Default r 0 1 14 Copyright Atlas Scientific LLC...

Page 25: ...cut Baud rate Calibration Continuous mode Device name Enable disable response codes Hardware switch to I2 C mode LED control Protocol lock Software switch to I2 C mode Find Sleep mode Temperature comp...

Page 26: ...ntrol 300 1 200 2 400 9 600 19 200 38 400 57 600 115 200 default 0V 0V VCC CPU TX RX RX TX TX RX Data type floating point Decimal places 3 Smallest string 4 characters Largest string 40 characters Rea...

Page 27: ...Default state Mode UART 9 600 Baud 1 000 ms Green Standby Cyan Taking reading Transmitting continuous 1 reading per second on Readings Speed LED 17 Copyright Atlas Scientific LLC...

Page 28: ...return cr Hex Dec ASCII 39 57 9 5 35 53 CPU TX RX SDA TX RX SCL SDA TX RX SCL SDA TX RX SCL SDA TX RX SCL 9 560 cr 9 600 baud default Receiver Advanced ASCII data string Command Sender 0D 13 cr r 0 1...

Page 29: ...r Sending commands to device CPU TX RX Short Short Sender Sleep cr Command not case sensitive ASCII data string Receiver Hex Dec ASCII 53 83 S l e e p 6C 108 101 101 112 65 65 70 0D 13 Advanced cr r 0...

Page 30: ...Green UART standby Cyan Taking reading Purple Changing baud rate Red Command not understood White Find LED color definition r 0 1 LED ON 5V 3 3V 2 2 mA 0 6 mA 20 Copyright Atlas Scientific LLC...

Page 31: ...isable protocol lock finds device with blinking white LED change to I2 C mode change baud rate performs calibration enabled enabled n a not set n a enable enable 25 C n a n a disabled n a not set 9 60...

Page 32: ...1 or L 0 OK LED control L 1 cr cr cr LED on L 0 LED off L LED state on off Command syntax default cr cr cr cr OK cr OK L 1 L 1 L 0 L 0 L Example Response cr r 0 1 cr cr 22 Copyright Atlas Scientific L...

Page 33: ...X RX SCL SDA TX RX SCL Find Find cr LED rapidly blinks white used to help find device Command syntax cr cr OK Find Example Response r 0 1 This command will disable continuous mode Send any character o...

Page 34: ...inuous readings C continuous reading mode on off default Command syntax C 1 C 30 C 0 OK pH 1 sec pH 2 sec pH n sec OK pH 30 sec pH 60 sec pH 90 sec cr cr cr cr cr cr cr cr Example Response cr cr C 1 o...

Page 35: ...Single reading mode 1 000 ms Green Standby Cyan Taking reading Transmitting R cr cr takes single reading Command syntax R 9 560 OK cr cr Example Response 800 ms r 0 1 25 Copyright Atlas Scientific LLC...

Page 36: ...r OK Cal mid 7 00 Cal low 4 00 Cal high 10 00 cr Cal clear Example Response cr Cal Cal 0 or Cal 1 or Cal 2 or Cal 3 OK cr cr cr cr cr two point one point three point cr cr cr cr cr Cal mid n Cal low n...

Page 37: ...6F 6C 20 67 75 79 DONE cr Import 59 6F 75 20 61 72 cr Export cr Export cr Export cr Export 10 120 Disabling OK simplifies this process Export Example Response Export Use this command to save calibrat...

Page 38: ...sely the slope of the acid calibration line matched the ideal pH probe 100 3 is how closely the slope of the base calibration matches the ideal pH probe 99 7 100 3 Response breakdown After calibrating...

Page 39: ...mpensation and take a reading Command syntax cr cr cr cr OK cr OK cr 8 91 T 19 5 RT 19 5 T Example Response T 19 5 OK cr cr 8 82 T 19 5 cr 8 91 This is a new command for firmware V2 12 r 0 2 Default t...

Page 40: ...and syntax cr cr cr OK Name zzt Name Example Response _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 1 6 2 7 3 8 4 9 5 10 11 12 13 14 15 16 n Up to 16 ASCII characters Name zzt OK cr cr OK OK cr cr Name Name zzt Nam...

Page 41: ...Device information Response breakdown i Device pH Firmware 1 98 i cr cr device information Command syntax i Example Response i pH 1 98 OK cr cr r 0 1 31 Copyright Atlas Scientific LLC...

Page 42: ...cannot be disabled under volt VCC 3 1V reset boot up complete ready entering sleep mode wake up OV UV RS RE SL WA 9 560 OK 9 560 OK 1 cr cr cr enable response OK 0 disable response OK response on off...

Page 43: ...brown out watchdog unknown S B W U Status Reason for restart P Voltage at Vcc 5 038 Response breakdown Status cr Command syntax Example Response Status P 5 038 OK cr cr voltage at Vcc pin and reason f...

Page 44: ...aken device Sleep cr Sleep cr Command syntax Example Response SL WA wakes up device enter sleep mode low power Sleep Any command cr cr Sleep 1 16 mA Standby 16 mA r 0 1 STANDBY SLEEP 16 mA 1 16 mA 0 9...

Page 45: ...dby Cyan Taking reading Purple Changing baud rate Red Command not understood White Find OK cr reboot Baud n cr Command syntax change baud rate n Example Response OK Baud 38400 Baud cr cr cr Baud 38400...

Page 46: ...ud rate Red Command not understood White Find OK cr ER cr Short Short cannot change to I2 C OK OK Plock 1 Plock 0 or Plock 1 cr cr cr enable Plock Plock 0 disable Plock Plock Plock on off Command synt...

Page 47: ...ration LED on OK enabled 1 000 ms Factory cr RS cr OK cr RE cr 1 000 ms reboot Factory cr Command syntax Example Response OK enable factory reset Factory cr cr Baud rate will not change r 0 1 37 Copyr...

Page 48: ...ing reading Pur Chan baud OK cr now in I2 C mode Green Blue I2C n cr Command syntax Example Wrong example Response Response OK reboot in I2 C mode ER n 127 sets I2 C address and reboots into I2 C mode...

Page 49: ...D Confirm RX is disconnected Connect ground power on Wait for LED to change from Green to Blue Disconnect ground power off Reconnect all data and power CPU TX RX Short Short Wrong Example Example Disc...

Page 50: ...nge I2 C address Hardware switch to UART mode LED control Protocol lock Software switch to UART mode Find Sleep mode Temperature compensation Settings that are NOT retained if power is cut Settings th...

Page 51: ...sistor may be needed 0V 0V VCC CPU SCL SDA SCL SDA VCC VCC SDA SCL SCL SDA SDA TX RX SCL SDA TX RX SCL SDA TX RX SCL SCL Data format Data type floating point Decimal places 3 Smallest string 4 charact...

Page 52: ...3 Stop Command Sleep Sending commands to device A6 SDA Start Stop SCL A5 A4 A3 A2 A1 A0 W ACK ACK ACK First letter of command Last letter of command The entire command as ASCII with all arguments Addr...

Page 53: ...l A6 A0 SDA SCL R ACK ACK ACK N bytes of data All bytes after data are Null Address bits ACK ACK NACK Response code Data Data N Null Null Start Stop R High Requesting data from device 9 560 1 0 ASCII...

Page 54: ...lly Reading back the response code is completely optional and is not required for normal operation Example If there is no processing delay or the processing delay is too short the response code will a...

Page 55: ...X RX SCL Green Taking reading SDA TX RX SCL Purple Changing I2 C ID SDA TX RX SCL Red Command not understood SDA TX RX SCL White Find LED color definition r 0 1 LED ON 5V 3 3V 2 2 mA 0 6 mA 45 Copyrig...

Page 56: ...enable disable protocol lock finds device with blinking white LED change I2 C address performs calibration switch back to UART mode L R i Slope T Sleep Status Plock Find I2C Cal Baud All commands are...

Page 57: ...l 1 Dec 0 Null SDA TX RX SCL SDA TX RX SCL SDA TX RX SCL SDA TX RX SCL L 1 LED on L 0 LED off L LED state on off Command syntax default L 1 L 0 L 1 L 0 L Example Response 300ms processing delay or Wai...

Page 58: ...SCL Find Find LED rapidly blinks white used to help find device Command syntax Find Example Response r 0 1 This command will disable continuous mode Send any character or command to terminate find 30...

Page 59: ...TX RX SCL Transmitting Blue Standby Green Taking reading SDA TX RX SCL SDA TX RX SCL SDA TX RX SCL Short SDA TX RX SCL Wait 900ms Wait 900ms R return 1 reading Command syntax R Example Response 900ms...

Page 60: ...ommand after the EZOTM pH circuit has been calibrated will clear the other calibration points Full calibration will have to be redone Command syntax Cal mid 7 00 Cal low 4 00 Cal high 10 00 Cal clear...

Page 61: ...ibration settings Import Use this command to load calibration settings to one or more devices Import n Response breakdown of strings to export Export strings can be up to 12 characters long 10 of byte...

Page 62: ...hed the ideal pH probe 100 3 is how closely the slope of the base calibration matches the ideal pH probe 99 7 100 3 Response breakdown After calibrating a pH probe issuing the slope command will show...

Page 63: ...Response 1 Dec 0 Null Wait 300ms Wait 900ms Wait 300ms 8 91 T 19 5 1 1 ASCII ASCII Dec Dec 0 Null 0 Null 300ms processing delay RT n set temperature compensation and take a reading This is a new comma...

Page 64: ...rmation Wait 300ms i device information Command syntax i Example Response 300ms processing delay i pH 1 98 1 ASCII Dec 0 Null Response breakdown i Device pH Firmware 1 98 r 0 1 54 Copyright Atlas Scie...

Page 65: ...rt Command syntax Status Example Response 300ms processing delay Status P 5 038 1 ASCII Dec 0 Null Restart codes P powered off software reset brown out watchdog unknown S B W U Status Reason for resta...

Page 66: ...power Command syntax Sleep Example Response no response wakes up device Any command Send any character or command to awaken device SDA TX RX SCL SDA TX RX SCL SDA TX RX SCL SDA TX RX SCL Sleep Sleep S...

Page 67: ...Plock Example Response 300ms processing delay Wait 300ms Wait 300ms Wait 300ms Locks device to I2 C mode SDA TX RX SCL SDA TX RX SCL SDA TX RX SCL Short SDA TX RX SCL SDA TX RX SCL SDA TX RX SCL Shor...

Page 68: ...he CPU is updated with the new I2 C address Default I2 C address is 99 0x63 I2C n Command syntax I2C 100 device reboot Example Response 300ms processing delay I2C 100 SDA TX RX SCL SDA TX RX SCL SDA T...

Page 69: ...y device reboot Example Response Factory SDA TX RX SCL SDA TX RX SCL SDA TX RX SCL reboot I2 C address will not change Clears calibration LED on Response codes enabled r 0 1 Factory reset will not tak...

Page 70: ...standby SDA TX RX SCL Green Taking reading SDA TX RX SCL Purple Changing I2 C ID SDA TX RX SCL Red Command not understood SDA TX RX SCL White Find Blue I2 C standby SDA TX RX SCL Green Taking reading...

Page 71: ...TX RX SCL Manual switching to UART Make sure Plock is set to 0 Disconnect ground power off Disconnect TX and RX Connect TX to PGND Confirm RX is disconnected Connect ground power on Wait for LED to ch...

Page 72: ...on header 2Place a 3 position header at both top and bottom of the 8 position 2 54mm 0 1 17 78mm 0 7 3 Delete the 8 position header The two 3 position headers are now 17 78mm 0 7 apart from each other...

Page 73: ...in commands about firmware version Datasheet V 4 7 Added new command RT n for Temperature compensation located on pages 29 UART 53 I2 C Added firmware information to Firmware update list Datasheet V 4...

Page 74: ...t V 3 9 Added accuracy range on cover page and revised isolation info on pg 10 Datasheet V 4 0 Datasheet V 4 1 Added new commands Find pages 23 UART 46 I2 C Export Import calibration pages 27 UART 49...

Page 75: ...get erased if the circuit lost power 900ms into startup V1 97 EEPROM Oct 10 2016 Added the option to save and load calibration V1 98 EEPROM Nov 14 2016 Fixed glitch during calibration process V2 10 Ma...

Page 76: ...ponents If the EZO class pH circuit is being connected to a microcontroller the microcontroller must be running code that has been designed to drive the EZO class pH circuit exclusively and output the...

Page 77: ...on Atlas Scientific can no longer take responsibility for the EZO class pH circuits continued operation This is because that would be equivalent to Atlas Scientific taking responsibility over the corr...

Reviews: