Professional Documents
Culture Documents
3
Revised 7/16/18
EZO-EC
Embedded Conductivity Circuit
™
Accuracy +/– 2%
Calibration 2 or 3 point
F F
G G
H H
I I
J J
1 5 10 15 20 25 30
r 0.1
Table of contents
Circuit dimensions 4 Operating principle 8
Power consumption 4 Output units 9
Absolute max ratings 4 Calibration theory 10
EZO TM circuit identification 5 Power and data isolation 12
Conductivity probe range 6 Correct wiring 14
Resolution 7 Available data protocols 15
UART I2C
UART mode 17 I2C mode 43
Default state 18 Sending commands 44
Receiving data from device 19 Requesting data 45
Sending commands to device 20 Response codes 46
LED color definition 21 LED color definition 47
UART quick command page 22 I2C quick command page 48
LED control 23 LED control 49
Find 24 Find 50
Continuous reading mode 25 Taking reading 51
Single reading mode 26 Calibration 52
Calibration 27 Export/import calibration 53
Export/import calibration 28 Setting the probe type 54
Setting the probe type 29 Temperature compensation 55
Temperature compensation 30 Enable/disable parameters 56
Enable/disable parameters 31 Device information 57
Naming device 32 Reading device status 58
Device information 33 Sleep mode/low power 59
Response codes 34 Protocol lock 60
Reading device status 35 I2C address change 61
Sleep mode/low power 36 Factory reset 62
Change baud rate 37 Change to UART mode 63
Protocol lock 38 Manual switching to UART 64
Factory reset 39
Change to I2C mode 40
Manual switching to I2C 41 Circuit footprint 65
Datasheet change log 66
Warranty 69
13.97mm
(0.55”)
20.16mm
(0.79”)
10.8mm
5.8mm 8.38mm
1mm Ø (0.4”)
(0.22”) (0.32”)
3.0
3.0
K 0.1 K 1.0 K 10
Atlas Scientific™ does not know what the accurate reading range would be for conductivity
probes, other than the above mentioned values. Determining the accurate reading range of
such probes, i.e. K 2.6, or K 0.66, is the responsibility of the embedded systems engineer.
0.07 – 99.99
Resolution = 0.01µS
100.1 – 999.9
Resolution = 0.1µS
1,000 – 9,999
Resolution = 1.0µS
10,000 – 99,990
Resolution = 10µS
100,000 – 999,900
Resolution = 100µS
Inside the conductivity probe, two electrodes are positioned opposite from each other,
an AC voltage is applied to the electrodes causing cations to move to the negatively
charged electrode, while the anions move to the positively electrode. The more free
electrolyte the liquid contains, the higher the electrical conductivity.
AC voltage
Platinum
Graphite
Platinum
K 0.1 K 1.0 K 10
Graphite electrode Graphite electrode Platinum electrode
Platinum
Graphite
Output units
By default, EZO™ Conductivity circuits with firmware
version 2.10 and above will only output EC. To enable
these parameters see page 31 for UART, and 56 for I2C.
Conductivity = μS/cm
Total dissolved solids = ppm
Salinity = PSU
Spacific gravity (sea water only) = 1.00 – 1.300
These parameters must be individually enabled within the device. See page 31 to enable
each parameter in UART mode, and on page 56 for I2C mode.
Once these parameters have been enabled, output will be a CSV string.
Example
EC,TDS,SAL,SG
1,000 ms
Green Cyan
Standby Taking reading Transmitting
Pre-calibration setup
First, take readings from dry conductivity probe.
1 5 10 15 20 25 30 1 5 10 15 20 25 30
A A A A
B B B B
C C C C
D D D D
E E E E
F F F F
G G G G
H H H H
I I I I
J J J J
1 5 10 15 20 25 30 1 5 10 15 20 25 30
TM
1,413µS
“Cal,dry”
C C C C
D D D D
E E E E
F F F F
G G G G
H H H H
I I I I
J J J J
1 5 10 15 20 25 30 1 5 10 15 20 25 30
Dry calibration TM
Issuing the "Cal,dry" command fine tunes the internal electrical properties of the device. 1,413µS
1,000 ms
This calibration only needs to be done once. Even though you may
A
B
C
D
E
1 5 10 15 20 25
see reading of
Green
30
A
B
C
D
E
A
B
C
D
E
1
Cyan0.00
5 10 15 20 25 30
A
B
C
D
E
TM
“Cal,dry”
1,413µS
17.00 Green
Standby
0.00TakingCyan
reading
Correct
Transmitting
F F
G G
circuit has its temperature compensation set to 25˚ C as the default. If the calibration
solution is not within 5˚ of 25˚ C, check the temperature chart on the side of the calibration
bottle, and calibrate to that value. TM
1,413µS
KCl Conductivity
125ml Solution
TM
“Cal,dry”
8 57434 00503 9 25 77 1,413 50 122 2,158
1,413μS 1,413μS
Once the readings stabilize, issue the low point or single point calibration command.
Low point calibration: "Cal,low,1413" (Readings will NOT change)
Single point calibration: "Cal,1413" (Readings
KCl Conductivity
will change, calibration complete).
125ml Solution
TM
Shake the probe to remove trapped air and adjust the temperature as done in the previous
Atlas-Scientific.com/msds.html °C
5
°F µS/cm °C
41 896 30
°F µS/cm
86 1,548
step. Once the readings have stabilized issue the high point calibration command.
10 50 1,020 35 95 1,711
15 59 1,147 40 104 1,860
20 68 1,278 45 113 2,009
57434 00503
1,413µS
High point calibration:
8
"Cal,high,12880" (Readings will change, calibration complete).
9 25 77 1,413 50 122 2,158
When electrical noise is interfering with the Conductivity readings it is common to see
rapidly fluctuating readings or readings that are consistently off. To verify that electrical
noise is causing inaccurate readings, place the Conductivity probe in a cup of water by
itself. The readings should stabilize quickly, confirming that electrical noise was the issue.
Correct Incorrect
B B B B
C C C C
D D D D
E E E E
1 5 10 15 20 25 30 1 5 10 15 20 25 30
A A A A
F F F F
Correct Incorrect
B B B B
G G G G
C C C C
H H H H
D D D D
I I I I
E E E E
J J J J
1 5 10 15 20 25 30 1 5 10 15 20 25 30
F F F F
G G G G
H 1 5 10 15 20 25 H 30 H 1 5 10 15 20 25 H 30
A A A A
I I I I
B B B B
Basic EZO TM J
1 C
D
5 10 15 20 25 30
J
C
D
J
1 C
D
5 10 15 20 25 30
J
C
D
This technology works by using tiny transformers to induce the voltage across an air gap.
PCB layout requires special attention for EMI/EMC and RF Control, having proper ground
planes and keeping the capacitors as close to the chip as possible are crucial for proper
performance. The two data channels have a 4.7kΩ pull up resistor on both the 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.7V regardless of your input voltage.
Isolated ground is different from non-isolated ground, these two lines should not
be connected together.
ISO-VCC
VCC
ADM3260
VCC VCC
ISO-VCC
VDDP VDDISO ISO-VCC
VIN VISO R5 R7
HDR_TOP R2 4.7K R1 4.7K
VCC
VSEL
1.5K 1.5K
HDR_BTM
RX/SCL SCL2 SCL1 VCC
TX/SDA
NC SDA2 SDA1 RX/SCL
TX/SDA
GND
VCC NC NC NC
GND
C1
GNDP
0.1uf R6
GNDP GNDISO
GND 1.5K
GNDP GNDISO R4 4.7K
10uF
C5
Non-isolated Isolated
10uF
ISO-GND
GND
TX
RX
VCC
B B B B PWR
C C C C RX
D D D D TX
E E E E
Atlas
F F F F Scientific
G G G G TM
H H H H
I I I I
J J J J
1 5 15 15 20 1 5 15 15 20
Part # COM-104
Part # Part #
ISCCB USB-ISO
Incorrect wiring
Extended leads Sloppy setup Perfboards or Protoboards *Embedded into your device
A B C D E F G H I J
1 1
5 5
10 10
15 15
20 20
25 25
30 30
35 35
40 40
45 45
50 50
NEVER
55 55
use Perfboards *Only after you are familar
or Protoboards with EZO TM circuits operation
60 60
A B C D E F G H I J
Default
Baud 300
1,200
2,400
9,600 default
19,200
38,400
57,600
115,200 TX RX
RX
Data in RX TX
TX TX RX
Data out
0V 0V
Data format
Reading Terminator carriage return
Conductivity = μS/cm
Total dissolved solids = ppm
Data type floating point
Salinity = PSU Decimal places 3
Specific gravity (sea water only) = 1.00 – 1.300
Smallest string 3 characters
Units EC,TDS,SAL,SG Largest string 40 characters
Encoding ASCII
Format string
17 Copyright © Atlas Scientific LLC
Default state
Mode UART
Baud 9,600
Readings continuous
Units μS/cm
LED on
1,000 ms
Green Cyan
Standby Taking reading Transmitting
9,600 baud
(default)
TX RX
CPU
1,413 <cr>
Receiver
Sender
Advanced
ASCII: 1 , 4 1 3 <cr>
Hex: 31 2C 34 31 33 0D
Dec: 49 44 52 49 51 13
TX RX
CPU
Sleep <cr>
Sender
Receiver
Short
Advanced
ASCII: S l e e p <cr>
Hex: 53 6C 65 65 70 0D
Dec: 83 108 101 101 112 13
Short
20 Copyright © Atlas Scientific LLC
r 0.1
LED color definition
LED ON
5V +2.5 mA
3.3V +1 mA
Example Response
L,1 <cr> *OK <cr>
L,1 L,0
Find <cr> LED rapidly blinks white, used to help find device
Example Response
Find <cr> *OK <cr>
Settings that are retained if power is cut Settings that are NOT retained if power is cut
Baud rate Find
Calibration Sleep mode
Continuous mode Temperature compensation
Device name
Enable/disable parameters
Enable/disable response codes
24 Copyright switch
Hardware © Atlas Scientific
to I2C LLCmode r 0.2
Continuous reading mode
Command syntax
C,1 <cr> enable continuous readings once per second default
C,n <cr> continuous readings every n seconds (n = 2 to 99 sec)
C,0 <cr> disable continuous readings
C,? <cr> continuous reading mode on/off?
Example Response
C,1 <cr> *OK <cr>
EC,TDS,SAL,SG (1 sec) <cr>
EC,TDS,SAL,SG (2 sec) <cr>
EC,TDS,SAL,SG (3 sec) <cr>
Example Response
R <cr> 1,413 <cr>
*OK <cr>
1,000 ms
Green Cyan
Standby Taking reading Transmitting
600 ms
Example Response
Cal,dry <cr> *OK <cr>
*OK <cr>
Example Response
Export,? <cr> 10,120 <cr> Response breakdown
10, 120
# of strings to export # of bytes to export
Example Response
K,10 <cr> *OK <cr>
K 0.1 K 1.0 K 10
Example Response
T,19.5 <cr> *OK <cr>
T,19.5 <cr>
8.82 8.91
Example Response
O,EC,1 / O,EC,0 <cr> *OK <cr> enable / disable conductivity
O,TDS,1 / O,TDS,0 <cr> *OK <cr> enable / disable total dissolved solids
Followed by 1 or 0
1 enabled
0 disabled
Example Response
Name,zzt <cr> *OK <cr>
Name,zzt Name,?
Example Response
i <cr> ?i,EC,2.10 <cr>
*OK <cr>
Response breakdown
?i, EC, 2.10
Device Firmware
Example Response
R <cr> 1,413 <cr>
*OK <cr>
Example Response
Status <cr> ?Status,P,5.038 <cr>
*OK <cr>
Response breakdown
?Status, P, 5.038
Reason for restart Voltage at Vcc
Restart codes
P powered off
S software reset
B brown out
W watchdog
U unknown
Example Response
Sleep <cr> *SL
STANDBY SLEEP
5V 18.14 mA 0.7 mA
Sleep <cr>
Standby Sleep
18.14 mA 0.7 mA
RX TX
Command syntax
Baud,n <cr> change baud rate TX RX
300
1200
2400
n= 9600 default
19200
38400
57600
115200
Command syntax
CPU CPU
Locks device to UART mode.
Example Response
Plock,1 <cr> *OK <cr>
Plock,1 I2C,100
Short
Purple
Green
*OK <cr> Cyanchange
cannot Red to I C Purple
White
cannot change to IRed
C
2 2
*ER <cr>
Changing Taking Command
ingUART standby reading Changing
Find Comma
baud rate not understood baud rate not under
38 Copyright © Atlas Scientific LLC Short
r 0.1
Factory reset
Clears calibration
Command syntax LED on
"*OK" enabled
Example Response
Factory <cr> *OK <cr>
Factory <cr>
(reboot)
39
1,000 ms
Copyright © Atlas Scientific LLC
1,000 ms r 0.1
Change to I2C mode
Command syntax Default I2C address 100 (0x64)
I2C,n <cr> sets I2C address and reboots into I2C mode
n = any number 1 – 127
Example Response
I2C,100 <cr> *OK (reboot in I2C mode)
I2C,100
(reboot)
Green Blue
Green
*OK <cr> Green Cyan Cyan Purple Pur
now in I C mode 2
UART standby
UART standby
Taking reading Changing Chan
Taking reading
baud rate baud
40 Copyright © Atlas Scientific LLC
r 0.2
Manual switching to I2C
• Make sure Plock is set to 0
• Disconnect ground (power off)
• Disconnect TX and RX TX RX
• Connect TX to the right PRB
• Confirm RX is disconnected
•
•
Connect ground (power on)
Wait for LED to change from Green to Blue
CPU
• Disconnect ground (power off)
• Reconnect all data and power
Manually switching to I2C will set the I2C address to 100 (0x64)
Example
Short
Wrong Example
Short
Disconnect RX line
Settings that are retained if power is cut Settings that are NOT retained if power is cut
Calibration Find
Change I2C address Sleep mode
Enable/disable parameters Temperature compensation
Hardware switch to UART mode
LED control
Protocol lock
Software switch to UART mode
r 0.2
I2C mode
I2C address (0x01 – 0x7F)
100 (0x64) default
4.7k resistor
VCC may be needed VCC
SDA
SDA SDA
SCL
SCL SCL
SDA
(TX)
SCL
(RX)
0V 0V
CPU
SDA
SCL
VCC
Data format
0V 0V
SCL
Start I2C address Write Command (not case sensitive) Stop
VCC
100 (0x64) ASCII command string
0V 0V
Example
Start 100 (0x64) Write Sleep Stop
I2C address Command
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL SDA
CPU
Advanced
Address bits The entire command as ASCII with all arguments
SDA
A6 A5 A4 A3 A2 A1 A0 W ACK First letter of command ACK Last letter of command ACK
SCL
Start I2C address Read Response code Data string Null Stop
100 (0x64) 1 byte "1,413" Terminator
(Dec 0)
SDA
(TX)
SCL
(RX)
SCL SDA
CPU
1,413
Advanced
All bytes
Address bits N bytes of data after data are Null R = High
SDA
A6 − A0 R ACK Response code ACK Data ACK Data N ACK Null ACK Null
SCL
1 49 44 52 49 51 0 = 1,413
Dec Dec
ASCII
Send
command
SDA
(TX)
SCL
(RX)
CPU
Processing delay
Receiving
data
LED ON
5V +2.5 mA
3.3V +1 mA
Command Function
Example Response
L,1 1 0
Wait 300ms Dec Null
L,0 1 0
Wait 300ms Dec Null
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
L,1 L,0
Example Response
Find 1 0
Wait 300ms Dec Null
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
Short
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
R return 1 reading
Example Response
R 1 1,413 0
Wait 600ms Dec ASCII Null
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
Wait 600ms
Green Blue
Taking reading Transmitting Standby
Example Response
Cal,dry 1 0
Wait 600ms Dec Null
Cal,84 1 0
Wait 600ms Dec Null
Cal,low,12880 1 0
Wait 600ms Dec Null
Cal,high,80000 1 0
Wait 600ms Dec Null
Cal,clear 1 0
Wait 300ms Dec Null
Example Response
Export,? 1 10,120 0 Response breakdown
Wait 300ms Dec ASCII Null 10, 120
# of strings to export # of bytes to export
Export 1 59 6F 75 20 61 72 0 (1 of 10)
Wait 300ms Dec ASCII Null
(8 more)
Export 1 *DONE 0
Wait 300ms Dec ASCII Null
K,n n = any value; floating point in ASCII K 1.0 is the default value
Example Response
K,10 1 0
Wait 300ms Dec Null
K,? 1 K,10 0
Wait 600ms Dec ASCII Null
K 0.1 K 1.0 K 10
Example Response
T,19.5 1 0
Wait 300ms Dec Null
RT,19.5 1 8.91 0
Wait 900ms Dec ASCII Null
T,? 1 ?T,19.5 0
Wait 300ms Dec ASCII Null
T,19.5
8.82 8.91
Example Response
O,EC,1 / O,EC,0 1 0 enable / disable conductivity
Wait 300ms Dec Null
Followed by 1 or 0
1 enabled
0 disabled
i device information
Example Response
i 1 ?i,EC, 2.10 0
Wait 300ms Dec ASCII Null
Response breakdown
?i, EC, 2.10
Device Firmware
Example Response
Status 1 ?Status,P,5.038 0
Wait 300ms Dec ASCII Null
Response breakdown
?Status, P, 5.038
Reason for restart Voltage at Vcc
Restart codes
P powered off
S software reset
B brown out
W watchdog
U unknown
Example Response
Do not read status byte after
Sleep no response issuing sleep command.
STANDBY SLEEP
5V 18.14 mA 0.7 mA
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
SDA
(RX)
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
Sleep
Standby Sleep
Example Response
Plock,1 1 0
Wait 300ms Dec Null
Plock,0 1 0
Wait 300ms Dec Null
Plock,? 1 ?Plock,1 0
Wait 300ms Dec ASCII Null
SDA
(TX)
SDA SCLSCL
(TX) (RX) (RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SDA SCLSCL
(TX) (RX) (RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SDA SCLSCL
(TX) (RX) (RX)
SDA
(TX)
SCL
(RX)
Example Response
I2C,101 device reboot
I2C,101
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
(reboot)
Example Response
Factory device reboot
Clears calibration
LED on
Response codes enabled
Factory
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
(reboot)
300
1200
2400
n= 9600
19200
38400
57600
115200
Baud,9600 (reboot)
Changing to
BlueBlue Green
Green PurpleBlue RedRedGreen WhitW
Purple
UART mode
C standby
I2C standbyTaking
Taking
reading
reading Changing I2C standby
Changing Command Taking readingFind
Command
I2C ID# not understood
I2C ID# not understood
Example
Short
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
Wrong Example
Short
Disconnect RX line
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
17.78mm
(0.7”)
3.0
2.54mm
(0.1”)
1.05mm Ø 17.78mm
(0.7”)
Datasheet V 5.2
Revised calibration information on pages 27 & 52.
Datasheet V 5.1
Added more information about temperature compensation on pages 30 & 55.
Datasheet V 5.0
Changed "Max rate" to "Response time" on cover page.
Datasheet V 4.9
Removed note from certain commands about firmware version.
Added steps to calibration command pages 27 (UART) and 52 (I2C).
Datasheet V 4.8
Revised definition of response codes on pg 46.
Datasheet V 4.7
Revised cover page art.
Datasheet V 4.6
Updated calibration processing delay time on pg.52.
Datasheet V 4.5
Revised Enable/disable parameters information on pages 31 & 56.
Datasheet V 4.4
Updated High point calibration info on page 11.
Datasheet V 4.2
Revised Plock pages to show default value.
Datasheet V 4.1
Corrected I2C calibration delay on pg. 52.
Datasheet V 4.0
Revised entire datasheet.
It is important for the embedded systems engineer to keep in mind that the following
activities will void the EZO™ class Conductivity circuit warranty:
• Running any code, that does not exclusively drive the EZO™ class Conductivity
circuit and output its data in a serial string.
• Embedding the EZO™ class Conductivity circuit into a custom made device.
2. All Atlas Scientific™ devices have been designed to run indefinitely without
failure in the field.
3. All Atlas Scientific™ devices can be soldered into place, however you do so at your
own risk.
Atlas Scientific™ is simply stating that once the device is being used in your application,
Atlas Scientific™ can no longer take responsibility for the EZO™ class Conductivity circuits
continued operation. This is because that would be equivalent to Atlas Scientific™ taking
responsibility over the correct operation of your entire device.