Atlas Scientific EZO-ORP Manual Download Page 58

Change to UART mode

n =

300
1200
2400
9600
19200
38400
57600
115200

Baud,n switch from I

2

C to UART

Command syntax

Baud,9600

reboot in UART mode

Example

Response

Changing to 

UART mode

Baud,9600

(reboot)

CPU

TX RX

Blue

I

2

C standby

Green

Taking reading

Purple

Changing

I

2

C address

Red

Command

not understood

White

Find

SDA

(TX)

(RX)

SCL

SDA

(TX)

(RX)

SCL

SDA

(TX)

(RX)

SCL

SDA

(TX)

(RX)

SCL

SDA

(TX)

(RX)

SCL

CPU

TX RX

Blue

I

2

C standby

Green

Taking reading

Purple

Changing

I

2

C address

Red

Command

not understood

White

Find

SDA

(TX)

(RX)

SCL

SDA

(TX)

(RX)

SCL

SDA

(TX)

(RX)

SCL

SDA

(TX)

(RX)

SCL

SDA

(TX)

(RX)

SCL

CPU

TX RX

Blue

I

2

C standby

Green

Taking reading

Purple

Changing

I

2

C address

Red

Command

not understood

White

Find

SDA

(TX)

(RX)

SCL

SDA

(TX)

(RX)

SCL

SDA

(TX)

(RX)

SCL

SDA

(TX)

(RX)

SCL

SDA

(TX)

(RX)

SCL

r 0.1

58

Copyright © Atlas Scientific LLC

Summary of Contents for EZO-ORP

Page 1: ...nt Calibration UART I2 C Data protocol 98 0x62 Default I2 C address 3 3V 5V Operating voltage ASCII Data format N A Temp compensation Reads ORP EZO ORP Embedded ORP Circuit V 4 8 Revised 8 13 19 This...

Page 2: ...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 3: ...onse 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 Response code...

Page 4: ...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 ORP VCC Operational temperature EZO ORP 5V 5 5V 3 3V EZO TM circuit dimens...

Page 5: ...can be positive or negative Just like a pH probe measures hydrogen ion activity in a liquid an ORP probe measures electron activity in a liquid The ORP readings represents how strongly electrons are...

Page 6: ...ive metal it can silently observe the electron activity of the liquid without becoming apart of whatever reaction is occurring in the liquid Platinum tip Silver chloride Silver wire Reference wire KCL...

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

Page 8: ...he isolated 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 d...

Page 9: ...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 1 1 5 5 10 10 15 15 20 20 25 25 30 30 35 35 40 40 45 45 50 50 55 55 60 60 A A B...

Page 10: ...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 10 Copyright Atlas Scientific...

Page 11: ...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 11 Copyright Atlas Scientific LLC...

Page 12: ...de The most important part of calibration is watching the readings during the calibration process It s easiest to calibrate the device in its default state UART mode with continuous readings enabled S...

Page 13: ...nsert the ORP probe directly into the 225mV calibration solution bottle and let the probe sit in the calibration solution until the readings stabilize small movement from one reading to the next is no...

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

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

Page 16: ...er is 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 Settings t...

Page 17: ...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 1 Smallest string 2 characters Largest string 40 characters Rea...

Page 18: ...r Hex Dec ASCII 32 50 2 0 6 9 30 48 39 57 2E 36 46 54 0D 13 CPU TX RX SDA TX RX SCL SDA TX RX SCL SDA TX RX SCL SDA TX RX SCL SDA TX RX SCL 209 6 cr 9 600 baud default Receiver Advanced ASCII data str...

Page 19: ...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 20: ...Green UART standby Cyan Taking reading Purple Changing baud rate Red Command not understood White Find LED color definition r 0 1 LED ON 2 2 mA 0 6 mA 5V 3 3V 20 Copyright Atlas Scientific LLC...

Page 21: ...formation n a i pg 30 change to I2 C mode not set I2C pg 37 enable disable LED enabled L pg 22 set show name of device not set Name pg 29 enable disable protocol lock disabled Plock pg 35 returns a si...

Page 22: ...D 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 cr cr L 1 or L 0 OK r 0 1 22 Copyright Atlas Scientific L...

Page 23: ...L 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 or command to terminat...

Page 24: ...ous readings C continuous reading mode on off default Command syntax C 1 C 30 C 0 OK ORP 1 sec ORP 2 sec ORP n sec OK ORP 30 sec ORP 60 sec ORP 90 sec cr cr cr cr cr cr cr cr Example Response cr cr C...

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

Page 26: ...RP value Cal n cr calibrates the ORP circuit to a set value cr cr Cal clear Cal delete calibration data device calibrated Command syntax cr cr OK cr OK Cal 225 cr Cal clear Example Response cr cr Cal...

Page 27: ...0 67 75 79 DONE cr Export cr Export cr Export cr Export cr Export 10 120 Disabling OK simplifies this process Export Example Response Responsebreakdown of strings to export Export strings can be up to...

Page 28: ...Import 6F 6C 20 67 75 79 cr OK cr OK cr OK If one of the imported strings is not correctly entered the device will not accept the import respond with ER and reboot 10 120 1 2 3 4 5 6 7 8 9 10 10 120...

Page 29: ...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 30: ...Device information Responsebreakdown i Device ORP Firmware 1 97 i cr cr device information Command syntax i Example Response i ORP 1 97 OK cr cr r 0 1 30 Copyright Atlas Scientific LLC...

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

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

Page 33: ...device STANDBY SLEEP 16 mA 1 16 mA 0 995 mA 13 9 mA 5V 3 3V Sleep cr Sleep cr Command syntax enter sleep mode low power Sleep 1 16 mA Standby 16 mA r 0 1 Example Response wakes up device Sleep Any co...

Page 34: ...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 35: ...d 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 synta...

Page 36: ...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 36 Copyr...

Page 37: ...aking reading Pur Chan baud OK cr nowin I2 Cmode 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 38: ...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 39: ...cut Calibration Change I2 C address Hardware switch to UART mode LED control Protocol lock Software switch to UART mode Find Sleep mode Settings that are NOT retained if power is cut Settings that are...

Page 40: ...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 1 Smallest string 2 charact...

Page 41: ...62 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 Add...

Page 42: ...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 209 6 1 0 ASCII...

Page 43: ...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 44: ...ading Purple Changing I2 C address Red Command not understood White Find SDA TX RX SCL SDA TX RX SCL SDA TX RX SCL SDA TX RX SCL SDA TX RX SCL LED color definition r 0 1 LED ON 5V 3 3V 2 2 mA 0 6 mA 4...

Page 45: ...nking white LED Find pg 47 device information i pg 52 change I2 C address I2C pg 56 enable disable LED L pg 46 enable disable protocol lock Plock pg 55 returns a single reading R pg 48 enter sleep mod...

Page 46: ...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 47: ...pidly 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 300ms processing delay...

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

Page 49: ...ssing delay Wait 300ms Wait 300ms Wait 900ms Calibration SDA TX RX SCL SDA TX RX SCL SDA TX RX SCL SDA TX RX SCL 209 6 mV 225 mV Cal 225 Cal n calibrates the ORP circuit to a set value Cal clear Cal d...

Page 50: ...calibration string info Command syntax 7 more 1 of 10 Wait 300ms 59 6F 75 20 61 72 1 ASCII Dec 0 Null Export 2 of 10 Wait 300ms 65 20 61 20 63 6F 1 ASCII Dec 0 Null Export 10 of 10 Wait 300ms 6F 6C 20...

Page 51: ...ill not accept the import and reboot 10 120 1 2 3 4 5 6 7 8 9 10 10 120 1 2 3 4 5 6 7 8 9 10 10 120 1 2 3 4 5 6 7 8 9 10 SDA TX RX SCL MCU SDA SCL SDA TX RX SCL SDA TX RX SCL MCU SDA SCL MCU SCA SCL 1...

Page 52: ...rmation Wait 300ms i device information Command syntax i Example Response 300ms processing delay i ORP 19 7 1 ASCII Dec 0 Null Responsebreakdown i Device ORP Firmware 1 97 r 0 1 52 Copyright Atlas Sci...

Page 53: ...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 54: ...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 55: ...Plock Example Response 300ms processing delay Wait 300ms Wait 300ms Wait 300ms Locks device to I2 C mode Short SDA TX RX SCL SDA TX RX SCL SDA TX RX SCL Short SDA TX RX SCL SDA TX RX SCL SDA TX RX SC...

Page 56: ...ple Response 300ms processing delay I2C 100 SDA TX RX SCL SDA TX RX SCL SDA TX RX SCL reboot r 0 2 n any number 1 127 Changing the I2 C address will prevent communication between the circuit and the C...

Page 57: ...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 2 Factory reset will not tak...

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

Page 59: ...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 60: ...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 61: ...sheet V 4 3 Revised isolation schematic on pg 10 Datasheet V 4 4 Revised calibration theory on page 12 and added more information on the Export calibration and Import calibration commands Datasheet V...

Page 62: ...Datasheet V 3 6 Datasheet V 3 7 Added new commands Find pages 23 UART 46 I2 C Export Import calibration pages 27 UART 49 I2 C Added new feature to continous mode C n pg 24 Revised Plock pages to show...

Page 63: ...April 26 2016 Fixed bug where EEPROM would get erased if the circuit lost power 900ms into startup V1 97 EEPROM Oct 10 2016 Fixed bug in the cal clear command improves how it calculates the ORP Added...

Page 64: ...onents If the EZO class ORP circuit is being connected to a microcontroller the microcontroller must be running code that has been designed to drive the EZO class ORP circuit exclusively and output th...

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

Reviews: