You are on page 1of 73

V 3.

6
Revised 10/21

EZO-RTD
Embedded Temperature Circuit

Reads Temperature
Range -126.000 °C − 1254 °C
Resolution 0.001

Accuracy +/– (0.1 + 0.0017 x ˚C)

Response time 1 reading per sec


Any type & brand
Supported probes PT-100 or PT-1000 RTD

Calibration Single point

Temperature output °C, °K, or °F

Data protocol UART & I2C


Default I2C address 102 (0x66)

Operating voltage 3.3V − 5.5V

Data format ASCII Electrical Isolation not needed

Onboard Data Logger 50 Readings

Written by Jordan Press


Designed by Noah Press This is an evolving document, check back for updates.
This is sensitive electronic equipment. Get this device working in
a solderless breadboard first. Once this device has been soldered
it is no longer covered by our warranty.

This device has been designed to be soldered and 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 responsible party.

Get this device working in a Do not embed this device without


solderless breadboard first! testing it in a solderless breadboard!
1 5 10 15 20 25 30
A A
B B
C C
D D
E E

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 Using other brand PT-100/PT-1000 7
Power consumption 4 Operating principle 9
Absolute max ratings 4 Correct wiring 11
Temperature circuit range 5 Calibration theory 12
Temperature circuit accuracy 5 On board data logger 13
Atlas Scientific PT-1000 probe 6 Default state 14
Available data protocols 15

UART IC
2
UART mode 17 I2C mode 44
Receiving data from device 18 Sending commands 45
Sending commands to device 19 Requesting data 46
LED color definition 20 Response codes 47
UART quick command page 21 LED color definition 48
LED control 22 I2C quick command page 49
Find 23 LED control 50
Continuous reading mode 24 Find 51
Single reading mode 25 Taking reading 52
Calibration 26 Calibration 53
Export calibration 27 Export calibration 54
Import calibration 28 Import calibration 55
Temperature scale 29 Temperature scale 56
Enable/disable data logger 30 Enable/disable data logger 57
Memory recall 31 Memory recall 58
Memory clear 32 Memory clear 59
Naming device 33 Naming device 60
Device information 34 Device information 61
Response codes 35 Reading device status 62
Reading device status 36 Sleep mode/low power 63
Sleep mode/low power 37 Protocol lock 64
Change baud rate 38 I2C address change 65
Protocol lock 39 Factory reset 66
Factory reset 40 Change to UART mode 67
Change to I2C mode 41 Manual switching to UART 68
Manual switching to I2C 42
Circuit footprint 69
Datasheet change log 70
Warranty 72
EZO circuit dimensions
TM

13.97mm
(0.55”)

20.16mm
(0.79”)

10.8mm
5.8mm 8.38mm
1mm Ø (0.4”)
(0.22”) (0.32”)

Power consumption Absolute max ratings


LED MAX STANDBY SLEEP Parameter MIN TYP MAX

5V ON 16 mA 15.4 mA 0.4 mA Storage temperature


(EZO™ RTD) -65 °C 125 °C
OFF 15.3 mA 15 mA
Operational temperature
-40 °C 25 °C 85 °C
3.3V ON 14.3 mA 13.8 mA 0.09 mA (EZO™ RTD)

OFF 14 mA 13.6 mA VCC 3.3V 5V 5.5V

4 Copyright © Atlas Scientific LLC


r 0.1
EZO RTD temperature
TM

sensing range
1000 °C

500 °C

0 °C

-126 °C 0 °C 200 °C 400 °C 600 °C 800 °C 1,000 °C 1,254 °C

EZO RTD temperature


TM

sensing accuracy
2 °C

0 °C

-2 °C

-126 °C 0 °C 200 °C 400 °C 600 °C 800 °C 1,000 °C 1,254 °C

5 Copyright © Atlas Scientific LLC


Atlas Scientific PT-1000 probe
• Accuracy +/- (0.15 + (0.002*t))
• Probe type: class A platinum, RTD
• Cable length: 81cm (32")
• Cable material: silicone rubber
• 30mm sensing area (304 SS)
• 6mm diameter
• BNC connector
• Reaction time: 90% value in 13 seconds
• Probe output: analog
• Full sensing range -200 °C to 850 °C
• Cable max temp 125 °C
• Cable min temp -55 °C

The Atlas Scientific EZO™ RTD


Temperature circuit only works
with PT-100 and PT-1000 probes.

To read temperatures above, or below the max cable


temperature, an additional probe housing (thermowell)
is needed to protect the cable.

100mm Temperature 50mm Temperature 30mm Temperature


Thermowell Thermowell Thermowell

6 Copyright © Atlas Scientific LLC


Using other brand PT-100/PT-1000
34
33
The EZO™ RTD Temperature circuit will
auto-detect if the connected probe is
PT-100 or PT-1000.
32
Probe class Accuracy
AA
31
+/- (0.1 + 0.0017 x ˚C)
30 22
A +/- (0.15 + 0.002 x ˚C) 29
23 2 28
B +/-(0.3 + 0.005 x ˚C) 4 25 26 27
C +/- (0.6 + 0.01 x ˚C)

It makes no difference which lead of the temperature


probe is connected to the two probe pins.

7 Copyright © Atlas Scientific LLC


Any off the shelf PT-100 or PT-1000 temperature probe can be used with the Atlas Scientific
EZO™ RTD Temperature circuit. The PT-100 or PT-1000 temperature probe can be a 2, 3 or
4 wire probe.

Two wire connection Three wire connection Four wire connection

8 Copyright © Atlas Scientific LLC


Operating principle
The Atlas Scientific EZO™ RTD Temperature circuit is a small footprint computer system
that is specifically designed to be used in robotic applications where the embedded
systems engineer requires accurate and precise measurements of temperature through
a generic PT-100/PT-1000 temperature probe.

RTD = Resistance Temperature Detector


PT = Platinum
PT-100 = 100 Ω at 0˚C
PT-1000 = 1k Ω at 0˚C

Unlike any other material, platinums correlation between resistance and temperature
seems to be woven into the fabric of the universe. It is for this reason, that the platinum
RTD temperature sensor is the industrial standard for temperature measurement.
Resistance

78
Nickel
Pt
Platinum
195.085

Copper

Platinum

Temperature ºC
9 Copyright © Atlas Scientific LLC
Power and data isolation

1 5 10 15 20 25 30
A A
B B
C C
D D
E E

F F
G G
H H
I I
J
1 5 10 ELECTRICAL ISOLATION
15 20 25 30
J

1 5 10
IS NOT NEEDED.
15 20 25 30
A A
B B
C C
D D
E E

F F
G G
H H
I I
J J
1 5 10 15 20 25 30

10 Copyright © Atlas Scientific LLC


Correct wiring Carrier board
USB
carrier board

GND
TX

RX
VCC
Bread board
Bread board via USB GND TX RX
PWR
RX
TX

1 5 10 15 20 1 5 10 15 20
A A A A

USB
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 Part #
J J J J G2-USB-ISO
1 5 15 15 20 1 5 15 15 20
Atlas Part #
Scientific ISCCB
Part # COM-104

VCC
OFF
GND
TX
RX

Electrically Isolated
EZO™ Carrier Board Isolated Carrier Board
Part #
ISCCB-2

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

NEVER
50 50

55 55

use Perfboards or Protoboards *Only after you are familar


60 60
Flux residue and shorting wires make
with EZO TM circuits operation
A B C D E F G H I J
it very hard to get accurate readings.

11 Copyright © Atlas Scientific LLC


r 0.1
Calibration theory
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, continuous
readings). Switching the device to I2C mode after calibration will not affect the stored
calibration. If the device must be calibrated in I2C mode be sure to request readings
continuously so you can see the output from the probe.

Calibration can be done at any value, a simple method


is to calibrate the probe in boiling water.

100 °C

Atlas Scientific recommends calibration


be done every three years.

Elevation and boiling point table


Elevation in meters Boiling point
305 98.9 °C
229 99.2 °C
152 99.5 °C
76 99.7 °C
0 100 °C
-76 100.3 °C
-152 100.5 °C

Use purified/distilled water


For accurate calibration using different
temperature vaules, you must use a tool
called a "dry block calibrator."

12 Copyright © Atlas Scientific LLC


On board data logger
• 50 readings
• Programmable storage interval
Minimum – 10 seconds
Maximum – 320,000 seconds

Temperature readings that are stored to the data


logger will be retained even if the power is cut.

49 50 1 2 3
48
47 4
46 5
6
45
44

7
43

8
2

9
1 4

10
6 37 38 39 40 4

11 12
When memory becomes full,

13 14 15
the data logger will overwrite
memory location 1.
3
35

16 17
34

18
33
32

19

20
31 21
22 30
29
23 2
4 25 26 27 28

13 Copyright © Atlas Scientific LLC


Default state

UART mode
Baud 9,600

Temperature °C

Readings continuous

Speed 1 reading per second

With probe ttt.ttt

Without probe -1023.000

LED on

1,000 ms

Green Cyan
Standby Taking reading Transmitting
Available data protocols

Default

Unavailable data protocols


SPI
Analog
RS-485
Mod Bus
4–20mA
15 Copyright © Atlas Scientific LLC
r 0.1
UART mode

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 scale
Device name
Enable/disable response codes
Hardware switch to I2C mode
LED control
Protocol lock
Software switch to I2C mode
r 0.2
0.1
UART mode
8 data bits no parity
1 stop bit no flow control

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

CPU
Vcc 3.3V – 5.5V

VCC

0V 0V

Data format
Reading temperature Data type floating point
Units °C, °K, or °F Decimal places 3
Encoding ASCII Smallest string 4 characters
Format string Largest string 40 characters
Terminator carriage return

17 Copyright © Atlas Scientific LLC


Receiving data from device
2 parts

ASCII data string Carriage return <cr>


Command Terminator

9,600 baud
(default)
TX RX

CPU
25.104 <cr>
Receiver

Sender

Advanced
ASCII: 2 5 . 1 0 4 <cr>

Hex: 32 35 2E 31 30 34 0D
Dec: 50 53 46 49 48 52 13
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)

18 Copyright © Atlas Scientific LLC


r 0.1
Sending commands to device
2 parts

Command (not case sensitive) Carriage return <cr>


ASCII data string Terminator

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
19 Copyright © Atlas Scientific LLC
r 0.1
LED color definition

Green Cyan Purple Red White


UART standby Taking reading Changing Command Find
baud rate not understood

LED ON
5V +0.4 mA

3.3V +0.2 mA

20 Copyright © Atlas Scientific LLC


r 0.2
UART mode
command quick reference
All commands are ASCII strings or single ASCII characters.

Command Function Default state

Baud change baud rate pg. 38 9,600

C enable/disable continuous reading pg. 24 enabled

Cal performs calibration pg. 26 n/a

D enable/disable data logger pg. 30 disabled

Export export calibration pg. 27 n/a

Factory enable factory reset pg. 40 n/a

Find finds device with blinking white LED pg. 23 n/a

i device information pg. 34 n/a

I2C change to I2C mode pg. 41 not set

Import import calibration pg. 28 n/a

L enable/disable LED pg. 22 enabled

M memory recall/clear pg. 31 n/a

Name set/show name of device pg. 33 not set

Plock enable/disable protocol lock pg. 39 disabled

R returns a single reading pg. 25 n/a

S temperature scale (°C, °K, °F) pg. 29 celsius

Sleep enter sleep mode/low power pg. 37 n/a

Status retrieve status information pg. 36 n/a

*OK enable/disable response codes pg. 35 enable


LED control
Command syntax
L,1 <cr> LED on default
L,0 <cr> LED off
L,? <cr> LED state on/off?

Example Response
L,1 <cr> *OK <cr>

L,0 <cr> *OK <cr>

L,? <cr> ?L,1 <cr> or ?L,0 <cr>


*OK <cr>

L,1 L,0

22 Copyright © Atlas Scientific LLC


r 0.1
Find
Command syntax This command will disable continuous mode
Send any character or command to terminate find.

Find <cr> LED rapidly blinks white, used to help find device

Example Response
Find <cr> *OK <cr>

SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)

23 Copyright © Atlas Scientific LLC


r 0.1
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>
°C (1 sec) <cr>
°C (2 sec) <cr>
°C (n sec) <cr>

C,30 <cr> *OK <cr>


°C (30 sec) <cr>
°C (60 sec) <cr>
°C (90 sec) <cr>

C,0 <cr> *OK <cr>

C,? <cr> ?C,1 <cr> or ?C,0 <cr> or ?C,30 <cr>


*OK <cr>

24 Copyright © Atlas Scientific LLC


r 0.2
Single reading mode
Command syntax
R <cr> takes single reading

Example Response
R <cr> 25.104 <cr>
*OK <cr>
1,000 ms

Green Cyan
Standby Taking reading Transmitting

600 ms

25 Copyright © Atlas Scientific LLC


r 0.1
Calibration
Command syntax The EZOTM RTD circuit
uses single point calibration.

Cal,t <cr> t = any temperature


Cal,clear <cr> delete calibration data
Cal,? <cr> device calibrated?

Example Response
Cal,100.00 <cr> *OK <cr>

Cal,clear <cr> *OK <cr>

Cal,? <cr> ?Cal,1 <cr> or ?Cal,0 <cr>


*OK <cr>

Cal,100.00 <cr>

100.35 °C 100.00 °C

26 Copyright © Atlas Scientific LLC


Export calibration
Command syntax Export: Use this command to download calibration settings

Export,? <cr> calibration string info


Export <cr> export calibration string from calibrated device

Example Response
Export,? <cr> 10,120 <cr> Response breakdown
10, 120
# of strings to export # of bytes to export

Export strings can be up to 12 characters long,


and is always followed by <cr>

Export <cr> 59 6F 75 20 61 72 <cr> (1 of 10)


Export <cr> 65 20 61 20 63 6F <cr> (2 of 10)
(7 more)
Export <cr> 6F 6C 20 67 75 79 <cr> (10 of 10)
Export <cr> *DONE Disabling *OK simplifies this process

Export <cr>

1
2 TX RX
3
4

MCU
5
6
7
8
9
10

[10,120]

*DONE
27 Copyright © Atlas Scientific LLC
r 0.2
1
Import calibration
Command syntax Import: Use this command to upload calibration
settings to one or more devices.

Import,n <cr> import calibration string to new device

Example Response
Import, 59 6F 75 20 61 72 <cr> (1 of 10) *OK <cr>
1

Import, 65 20 61 20 63 6F 2
3
<cr> (2 of 10) *OK <cr>
TX RX

MCU
5
6
7
8

Import, 6F 6C 20 67 75 79 9
10
<cr> (10 of 10) *OK <cr>
[10,120]

Import,n <cr>

1
2 TX 1
RX
3
4
TX RX 2

MCU 3
5
6
7 4

MCU
8
9
5
10
6
[10,120]
7
8
9
10

[10,120]
1
TX RX 2
3
4

MCU
5
6
7

*OK <cr>
8
9
10

[10,120]
system will reboot
1
TX RX 2

* If one of the imported strings is not


1
3
TX RX 2
4

MCU
3

correctly entered, the device will not


4 5

MCU
5
6 6
7
7
8
9
10
8 accept the import, respond with *ER
9

and reboot.
[10,120]
10

[10,120]
*ER <cr>

28 Copyright © Atlas Scientific LLC


r 0.2
Temperature scale (°C, °K, °F)
Command syntax
S,c <cr> celsius default
S,k <cr> kelvin
S,f <cr> fahrenheit
S,? <cr> temperature scale?

Example Response
S,c <cr> *OK <cr>

S,k <cr> *OK <cr>

S,f <cr> *OK <cr>

S,? <cr> ?S,c <cr> or ?S,k <cr> or ?S,f <cr>


*OK <cr>

-126 °C 1,254 °C 147.15 °K 1,527.15 °K -194.8 °F 2,289.2 °F


(celsius) (kelvin) (fahrenheit)

29 Copyright © Atlas Scientific LLC


Enable/disable data logger
Command syntax The time period (n) is in 10 second intervals
and can be any value from 1 to 32,000.

D,n <cr> n = (n x 10 seconds)


D,0 <cr> disable default
D,? <cr> data logger storage interval?

Example Response
D,6 <cr> *OK <cr>

D,0 <cr> *OK <cr>

D,? <cr> ?D,6 <cr>


*OK <cr>

D,6 * <cr>
* indicates reading has
been logged
60 seconds

30 Copyright © Atlas Scientific LLC


Memory recall
Command syntax Disable data logger to recall memory.
49 50 1 2 3 49 50
48 4 48
47 47
M <cr> recall 1 sequential
45
46 stored 5reading
6 45
46

44

44
M,all recall all readings in a CSV string

7
<cr> 43

43
8
42

42
9
M,? <cr> display memory location of last stored reading
41

41
10
38 39 40

38 39 40
11 12
Example Response

13 14
36 37

36 37
15
35

35
1,100.00 2,104.00 *OK

16
M <cr> <cr> <cr> <cr>
34

34
17
33

33
18
32

32
19
20
31 31

100.00,104.00,108.00,112.00
21
M,all <cr>
30 30
<cr>
22 29 29
23 2
4 25 26 27 28 7 28
Oldest Newest
26 2

M,? <cr> ?M,4 <cr>


*OK <cr>

49 50 1 2 3 49 50
7 48 4 7 48
4 5 4
46 46
45 6 45
44

44
7
43

43
8
42

42
9
41

41
10
38 39 40

38 39 40
11 12
13 14
36 37

36 37
15
35

35
16
34

34
17
33

33
18
32

32
19

20
31 21 31
30 22 30
23 2 29 29
4 25 26 27 28 26 27
28

31 Copyright © Atlas Scientific LLC


Memory clear
Command syntax
M,clear <cr> clear all stored memory

Example Response
M,clear <cr> *OK <cr>

49 50 18 429 530 1 2 3 49 50 18 429 530 1 2 3


48 4 4 4 48 4 4 4
47 47 5 5 47 47 5 5
46 46 46 46
45 45 6 6 45 45 6 6
44

44

44

44
7

7
43

43

43

43
8

8
42

42

42

42
9

9
41

41

41

41
10

10

10

10
38 39 40

38 39 40

38 39 40

38 39 40
11 12

11 12

11 12

11 12
13 14 15

13 1

13 14 15

13 1
36 37

36 37

36 37

36 37
4

4
1

1
5

5
M,clear <cr>
35

35

35

35
16

16

16

16
34

34

34

34
17

17

17

17
33

33

33

33
18

18

18

18
32

32

32

32
19

19

19

20 20 20 20 19
21 31 31 21 31 31 21 21
22 22 30 30 30 22 22 30
29 29 29 29
23 2 2 23 2 2
4 25 263 2247 2258 26 27 28 4 25 263 2247 2258 26 27 28

49 50 18 429 530 1 2 3 49 50 18 429 530 1 2 3


48 4 4 4 48 4 4 4
47 47 5 5 47 47 5 5
46 46 46 46
45 45 6 6 45 45 6 6
44

44

44

44
7

7
43

43

43

43
8

8
42

42

42

42
9

9
41

41

41

41
10

10

10

10

32 Copyright © Atlas Scientific LLC


39 40

39 40

39 40

39 40
11 12

11 12

11 12

11 12
Naming device
Command syntax Do not use spaces in the name

Name,n <cr> set name n= ________________


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

Name, <cr> clears name Up to 16 ASCII characters

Name,? <cr> show name

Example Response
Name, <cr> *OK <cr> name has been cleared

Name,zzt <cr> *OK <cr>

Name,? <cr> ?Name,zzt <cr>


*OK <cr>

Name,zzt Name,?

*OK <cr> ?Name,zzt <cr>


*OK <cr>

33 Copyright © Atlas Scientific LLC


r 0.2
Device information
Command syntax
i <cr> device information

Example Response
i <cr> ?i,RTD,2.01 <cr>
*OK <cr>

Response breakdown
?i, RTD, 2.01
Device Firmware

34 Copyright © Atlas Scientific LLC


r 0.1
Response codes
Command syntax
*OK,1 <cr> enable response default
*OK,0 <cr> disable response
*OK,? <cr> response on/off?

Example Response
R <cr> 25.104 <cr>
*OK <cr>

*OK,0 <cr> no response, *OK disabled

R <cr> 25.104 <cr> *OK disabled

*OK,? <cr> ?*OK,1 <cr> or ?*OK,0 <cr>

Other response codes


*ER unknown command
*OV over volt (VCC>=5.5V)
*UV under volt (VCC<=3.1V) These response codes
*RS reset cannot be disabled
*RE boot up complete, ready
*SL entering sleep mode
*WA wake up

35 Copyright © Atlas Scientific LLC


r 0.1
Reading device status
Command syntax
Status <cr> voltage at Vcc pin and reason for last restart

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

36 Copyright © Atlas Scientific LLC


r 0.1
Sleep mode/low power
Command syntax Send any character or
command to awaken device.

Sleep <cr> enter sleep mode/low power

Example Response
Sleep <cr> *OK <cr>
*SL <cr>

Any command *WA <cr> wakes up device

STANDBY SLEEP
5V 15.40 mA 0.4 mA

3.3V 13.80 mA 0.09 mA

Sleep <cr>

Standby Sleep
15.40 mA 3.00 mA

37 Copyright © Atlas Scientific LLC


r 0.1
Change baud rate
TX RX

RX TX
Command syntax
TX RX
Baud,n <cr> change baud rate

Example Response CPU


Baud,38400 <cr> *OK <cr>

Baud,? <cr> ?Baud,38400 <cr>


*OK <cr>

300
1200
2400
n= 9600 default
19200
38400
57600
115200

Baud,38400 <cr> (reboot)

Standby Changing Standby


Green Cyan Purple
baud rate Red White
RT standby Taking reading Changing
*OK <cr> Command Find
baud rate not understood

38 Copyright © Atlas Scientific LLC


r 0.1
Protocol lock TX RX TX RX

Command syntax
CPU CPU
Locks device to UART mode.

Plock,1 <cr> enable Plock


Plock,0 <cr> disable Plock default
Plock,? <cr> Plock on/off?

Example Response
Plock,1 <cr> *OK <cr>

Plock,0 <cr> *OK <cr>

Plock,? <cr> ?Plock,1 <cr> or ?Plock,0 <cr>

Plock,1 I2C,100
Short

Purple
Green
*OK <cr> Cyan
cannot Red
change to I2C Purple
White
cannot change to IRed
C 2

*ER <cr>
Changing Taking Command
ingUART standby reading Changing
Find Comma
baud rate not understood baud rate not under
39 Copyright © Atlas Scientific LLC Short
r 0.1
Factory reset Clears calibration
LED on
Command syntax "*OK" enabled
Clears data logger

Factory <cr> enable factory reset

Example Response
Factory <cr> *OK <cr>

Factory <cr>

(reboot)

*OK <cr> *RS <cr>


*RE <cr>

Baud rate will not change

40
1,000 ms
Copyright © Atlas Scientific LLC
1,000 ms r 0.1
Change to I2C mode
Command syntax Default I2C address 102 (0x66)

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)

Wrong example Response


I2C,139 <cr> n > 127 *ER <cr>

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 ratebaud
41 Copyright © Atlas Scientific LLC
r 0.2
Manual switching to I2C
• Disconnect ground (power off)
• Disconnect TX and RX
Connecting TX to PRB only works for the
• Connect TX to PRB EZO-RTD™ TXand
RXthe EZO-FLO™ circuits
• Confirm RX is disconnected
• Connect ground (power on)


Wait for LED to change from Green to Blue
Disconnect ground (power off)
CPU
• Reconnect all data and power

Manually switching to I2C will set the I2C address to 102 (0x66)

Example
Short

Wrong Example
Short
Disconnect RX line

42 Copyright © Atlas Scientific LLC


r 0.1
I C mode
2
Settings that are retained if power is cut
Baud rate The I2C protocol is considerably
Calibration
Settings that are NOT retained if power is cut

Find
more complex than the UART
(RS–232) protocol. Atlas Scientificmode
Sleep assumes the embedded
Continuous mode
Temperature systems
scale engineer understands this protocol.
Device name
To set
Enable/disable response your EZOTM device into I2C mode click here
codes
Hardware switch to I2C mode
LED control
Protocol lock
Software switch to I2C mode

Settings that are retained if power is cut Settings that are NOT retained if power is cut
Calibration Find
Change I2C address Sleep mode
Temperature scale
Hardware switch to UART mode
LED control
Protocol lock
Software switch to UART mode
r 0.2
I2C mode
I2C address (0x01 – 0x7F)
102 (0x66) default

Vcc 3.3V – 5.5V

Clock speed 100 – 400 kHz

4.7k resistor
VCC may be needed VCC
SDA
SDA SDA

SCL
SCL SCL
SDA
(TX)
SCL
(RX)

VCC SCL SDA

0V 0V
CPU
SDA

SCL
VCC

0V 0V
Data format
Reading temperature Data type floating point
Units °C, °K, or °F Decimal places 3
Encoding ASCII Smallest string 4 characters
Format string Largest string 40 characters

SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)

44 Copyright © Atlas Scientific LLC SCL SDA


r 0.1
Sending commands to device C
SDA
5 parts

SCL
Start I2C address Write Command (not case sensitive) Stop
VCC
102 (0x66) ASCII command string

0V 0V
Example
Start 102 (0x66) 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 W = low Stop

45 Copyright © Atlas Scientific LLC


r 0.1
Requesting data from device
7 parts

Start I2C address Read Response code Data string Null Stop
102 (0x66) 1 byte "25.104" Terminator
(Dec 0)

SDA
(TX)
SCL
(RX)

SCL SDA

CPU
25.104

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

Start NACK Stop

1 50 53 46 49 48 52 0 = 25.104
Dec Dec
ASCII

46 Copyright © Atlas Scientific LLC


r 0.1
Response codes
After a command has been issued, a 1 byte response
code can be read in order to confirm that the command
was processed successfully.

Reading back the response code is completely optional,


and is not required for normal operation.

Send
command
SDA
(TX)
SCL
(RX)

CPU
Processing delay

Receiving
data

Example If there is no processing delay or the


processing delay is too short, the response
I2C_start;
code will always be 254.
I2C_address;
I2C_write(EZO_command);
SDA SCL (TX) (RX)

I2C_stop; Response codes


SCL SDA

Single byte, not string


delay(300); Processing delay
CPU
255 no data to send
I2C_start; 254 still processing, not ready
I2C_address; 2 syntax error
Char[ ] = I2C_read;
1 successful request
I2C_stop;

47 Copyright © Atlas Scientific LLC


r 0.2
LED color definition
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)

Blue Green Purple Red White


I2C standby Taking reading Changing Command Find
I C address
2
not understood
LED ON
5V +0.4 mA

3.3V +0.2 mA

48 Copyright © Atlas Scientific LLC


r 0.1
I2C mode
command quick reference
All commands are ASCII strings or single ASCII characters.

Command Function

Baud switch back to UART mode pg. 67

Cal performs calibration pg. 53

D enable/disable data logger pg. 57

Export export calibration pg. 54

Factory enable factory reset pg. 66

Find finds devices with white blinking LED pg. 51

i device information pg. 61

I2C change I2C address pg. 65

Import import calibration pg. 55

L enable/disable LED pg. 50

M memory recall/clear pg. 58

Name set/show name of device pg. 60

Plock enable/disable protocol lock pg. 64

R returns a single reading pg. 52

S temperature scale (°C, °K, °F) pg. 56

Sleep enter sleep mode/low power pg. 63

Status retrieve status information pg. 62

49 Copyright © Atlas Scientific LLC


LED control
Command syntax 300ms processing delay

L,1 LED on default


L,0 LED off
L,? LED state on/off?

Example Response
L,1 1 0
Wait 300ms Dec Null

L,0 1 0
Wait 300ms Dec Null

L,? 1 ?L,1 0 or 1 ?L,0 0


Wait 300ms Dec ASCII Null Dec ASCII Null

SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)

L,1 L,0

50 Copyright © Atlas Scientific LLC


r 0.1
Find 300ms processing delay

Command syntax This command will disable continuous mode


Send any character or command to terminate find.

Find LED rapidly blinks white, used to help find device

Example Response
Find <cr> 1 0
Wait 300ms Dec Null

SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)

51 Copyright © Atlas Scientific LLC


r 0.1
Taking reading
Command syntax 600ms processing delay

R return 1 reading

Example Response
R 1 25.104 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

52 Copyright © Atlas Scientific LLC


r 0.1
Calibration
Command syntax 600ms processing delay

Cal,t t = any temperature EZOTM RTD circuit uses


single point calibration.
Cal,clear delete calibration data
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)

Cal,? device calibrated?

Example Response
Cal,t 1 0
Green
Green
Wait 600ms Dec Null Blue B
TakingTaking
reading
reading Transmitting
Transmitting Standby
Sta
Cal,clear 1 0
Wait 300ms Dec Null

Cal,? 1 ?Cal,1 0 or 1 ?Cal,0 0


Wait 300ms Dec ASCII Null Dec ASCII Null

Cal,100.00

100.35 °C 100.00 °C

53 Copyright © Atlas Scientific LLC


Export calibration
300ms processing delay
Command syntax Export: Use this command to download calibration settings

Export,? calibration string info


Export export calibration string from calibrated device

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 strings can be up to 12 characters long

Export 1 59 6F 75 20 61 72 0 (1 of 10)
Wait 300ms Dec ASCII Null

Export 1 65 20 61 20 63 6F 0 (2 of 10)
Wait 300ms Dec ASCII Null

(7 more)

Export 1 6F 6C 20 67 75 79 0 (10 of 10)


Wait 300ms Dec ASCII Null

Export
1 *DONE 0
Wait 300ms Dec ASCII Null

54 Copyright © Atlas Scientific LLC


r 0.2
Import calibration
300ms processing delay
Command syntax Import: Use this command to upload calibration
settings to one or more devices.

Import,n import calibration string to new device

Example Response
Import, 59 6F 75 20 61 72 (1 of 10) 1 0
Wait 300ms Dec Null

Import, 65 20 61 20 63 6F SDA
(TX)
SCL
(RX)
1
2 (2 of 10) 1
SCL SDA 0
3 Wait 300ms Dec Null
4

MCU
5
6
7

Import, 6F 6C 20 67 75 79 0
8

10
9
(10 of 10) Wait 300ms
1
Dec Null
[10,120]

Import,n

1
SDA SCL 2
1
SCL SDA
SCL SDA
(TX) (RX)

3
2 SDA
(TX)
SCL
(RX)
4

MCU
5 3
6
7 4

MCU
8
5
9
10 6
[10,120]
7
8
9
10

SCL SDA
1
2 SDA
(TX)
SCL
(RX)
[10,120]
3
4

MCU
5
6
7

1 *Pending 0
8
9
10

[10,120] Dec ASCII Null

1 system will reboot


SCL SCA 2 SDA
(TX)
SCL
(RX)

3
1

* If one of the imported strings is not


SCL SCA 2 SDA4 SCL
(TX) (RX)

MCU
3
4 5

MCU
5

correctly entered, the device will not


6
6
7
7
8

accept the import and reboot.


9 8
10
9
[10,120]
10

[10,120]
reboot
55 Copyright © Atlas Scientific LLC
r 0.1
Temperature scale (°C, °K, °F)
Command syntax 300ms processing delay

S,c celsius default


S,k kelvin
S,f fahrenheit
S,? temperature scale?

Example Response
S,c 1 0
Wait 300ms Dec Null

S,k 1 0
Wait 300ms Dec Null

S,f 1 0
Wait 300ms Dec Null

S,? 1 ?S,f 0 or 1 ?S,k 0 or 1 ?S,k 0


Wait 300ms Dec ASCII Null Dec ASCII Null Dec ASCII Null

-126 °C 1,254 °C 147.15 °K 1,527.15 °K -194.8 °F 2,289.2 °F


(celsius) (kelvin) (fahrenheit)

56 Copyright © Atlas Scientific LLC


Enable/disable data logger
Command syntax 300ms processing delay
The time period (n) is in 10 second intervals
D,n n = (n x 10 seconds) 300ms
and can Processing
be any value from 1 todelay
32,000.

D,0 disable
D,? data logger storage interval?

Example Response
D,6 1 0
Wait 300ms Dec Null

D,0 1 0
Wait 300ms Dec Null

D,? 1 ?D,6 0
Wait 300ms Dec ASCII Null

SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)

D,6
(after 60 seconds)

Blue Green Purple


57 I C standby
2 Scientific LLC
Copyright © Atlas Taking reading Changing C
Memory recall Disable data logger to recall memory.

Command syntax 300ms processing delay

M recall 1 sequential stored reading


M,? display memory location of last stored reading

Example Response
M 1 1,100.00 0
Wait 300ms Dec ASCII Null

M,? 1 4,112.00 0
Wait 300ms Dec ASCII Null

49 50 1 2 3
7 48 4
4 5 4
46 46
45 6 45
44

44
7
43

43
8
42

42
9
41

41
10
38 39 40

38 39 40
11 12
13 14
36 37

36 37
15
35

35
16
34

34
17
33

33
18
32

32
19

20
31 21 31
30 22 30
23 2 29 9
4 25 26 27 28

58 Copyright © Atlas Scientific LLC


Memory clear
Command syntax 300ms processing delay

M,clear clear all stored memory

Example Response
M,clear 1 0
Wait 300ms Dec Null

49 50 18 429 530 1 2 3 49 50 18 429 530 1 2 3


48 4 4 4 48 4 4 4
47 47 5 5 47 47 5 5
46 46 46 46
45 45 6 6 45 45 6 6
44

44

44

44
7

7
43

43

43

43
8

8
42

42

42

42
9

9
41

41

41

41
10

10

10

10
38 39 40

38 39 40

38 39 40

38 39 40
11 12

11 12

11 12

11 12
13 14 15

13 14 15

13 14 15

13 14 15
36 37

36 37

36 37

36 37

M,clear
35

35

35

35
16

16

16

16
34

34

34

34
17

17

17

17
33

33

33

33
18

18

18

18
32

32

32

32
19

19

19

19
20 20 20 20
21 31 31 21 31 31 21 21
22 22 30 30 30 22 2230
29 29 29 29
23 2 2 23 2 2
4 25 236 2247 2258 26 27 28 4 25 236 2247 2258 26 27 28

Short Short

SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)

59 Copyright © Atlas Scientific LLC


Naming device
300ms processing delay
Command syntax Do not use spaces in the name

Name,n set name n= ________________


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16

Name, clears name Up to 16 ASCII characters

Name,? show name

Example Response

Name,
1 0 name has been cleared
Wait 300ms Dec Null

Name,zzt
1 0
Wait 300ms Dec Null

Name,? 1 ?Name,zzt 0
Wait 300ms Dec ASCII Null

Name,zzt Name,?

SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)

1 0 1 ?Name,zzt 0

60 Copyright © Atlas Scientific LLC


r 0.2
Device information
Command syntax 300ms processing delay

i device information

Example Response
i 1 ?i,RTD,2.01 0
Wait 300ms Dec ASCII Null

Response breakdown
?i, RTD, 2.01
Device Firmware

61 Copyright © Atlas Scientific LLC


r 0.1
Reading device status
Command syntax 300ms processing delay

Status voltage at Vcc pin and reason for last restart

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

62 Copyright © Atlas Scientific LLC


r 0.1
Sleep mode/low power
Command syntax
Send any character or
Sleep enter sleep mode/low power command to awaken device.

Example Response
Do not read status byte after
Sleep no response issuing sleep command.

Any command wakes up device

STANDBY SLEEP
5V 15.40 mA 0.4 mA

3.3V 13.80 mA 0.09 mA

SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)

Sleep

Standby Sleep

63 Copyright © Atlas Scientific LLC


r 0.1
Protocol lock
Command syntax 300ms processing delay

Plock,1 enable Plock Locks device to I2C mode.

Plock,0 disable Plock default


Plock,? Plock on/off?

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

Plock,1 Baud, 9600 Short


ShortShort

SDA
(TX)
SDASCLSCL
(TX) (RX) (RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SDASCLSCL
(TX) (RX) (RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SDASCLSCL
(TX) (RX) (RX)
SDA
(TX)
SCL
(RX)

cannot change to UART cannot change to UART

64 Copyright © Atlas Scientific LLC


r 0.1
I2C address change
Command syntax 300ms processing delay

I2C,n sets I2C address and reboots into I2C mode

Example Response
I2C,100 device reboot
(no response given)

Warning! n = any number 1 – 127


Changing the I2C address will prevent
communication between the circuit and
the CPU until the CPU is updated with the
new I2C address.

Default I2C address is 102 (0x66).

I2C,100

SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)

(reboot)

65 Copyright © Atlas Scientific LLC


r 0.2
Factory reset
Command syntax Factory reset will not take the device out of I2C mode.

Factory enable factory reset I2C address will not change

Example Response
Factory device reboot
(no response given)

Clears calibration
LED on
Response codes enabled
Clears data logger

Factory

SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)

(reboot)

66 Copyright © Atlas Scientific LLC


r 0.1
Change to UART mode
Command syntax TX RX TX RX

Baud,n switch from I2C to UART


CPU
CPU
Example Response
Baud,9600 reboot in UART mode
(no response given)

300
1200
2400
n= 9600
19200
38400
57600
115200

SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
SDA
(TX)
SCL
(RX)
S

Baud,9600 (reboot)

Changing to
BlueBlue Green
Green Purple White
PurpleBlue Red RedGreen
UART mode Wh
C standby
I2C standbyTakingTaking
reading
readingChanging I2C standby
Changing Command
Command
Taking reading
Find Fi
I2C address
I2C addressnot understood
not understood

67 Copyright © Atlas Scientific LLC


r 0.1
42

42
9

9
Manual switching to UART
41

41
10

10
38 39 40

38 39 40
11 12

11 12
13 1

13 14
• Disconnect ground (power off)
36 37

36 37
4
• Disconnect TX and RX

1
Connecting TX to PRB only works for the

5
• Connect TX to PRB
35

35
16

16
EZO-RTD™ and the EZO-FLO™ circuits
• Confirm RX is disconnected
34

34
17

17
33

33
18

18
• Connect ground (power on)
32

32
19

19
• Wait for LED to change from Blue to Green
20 20
31 21 31 21
30 30
Disconnect ground (power off)
22 22
• 23 2 8 29 23 2 29
4 25 26 27 2 4 25 26 27 28
• Reconnect all data and power

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)

68 Copyright © Atlas Scientific LLC


r 0.1
EZO circuit footprint
TM

17.78mm
(0.7”)

2.54mm
(0.1”)

1 In your CAD software


place a 8 position header. 2 Place a 3 position header at both
top and bottom of the 8 position. 3 Delete the 8 position header. The two 3
position headers are now 17.78mm (0.7”)
apart from each other.

1.05mm Ø 17.78mm
(0.7”)

69 Copyright © Atlas Scientific LLC


r 0.1
Datasheet change log
Datasheet V 3.6

Revised naming device info on pages 33 & 60.

Datasheet V 3.5

Added 2 wire, 3 wire, or 4 wire, wiring diagram on pg 7.

Datasheet V 3.4

Revised accuracy equation on pg 7.

Datasheet V 3.3

Moved Default state to pg 13.

Datasheet V 3.2

Revised response for the sleep command in UART mode on pg 36.

Datasheet V 3.1

Added more information on the Export calibration and Import calibration commands.

Datasheet V 3.0

Changed "Max rate" to "Response time" on cover page.

Datasheet V 2.9

Removed note from certain commands about firmware version.

Datasheet V 2.8

Added information to calibration theory on pg 9.

Datasheet V 2.7

Revised definition of response codes on pg 45.

Datasheet V 2.6

Updated calibration processing delay time on pg.51.

Datasheet V 2.5

Revised Plock pages to show default value.

70 Copyright © Atlas Scientific LLC


Datasheet change log
Datasheet V 2.4

Added new commands:


"Find" pages 22 & 49.
"Export/Import calibration" pages 26 & 52.
Added new feature to continous mode "C,n" pg 23.

Datasheet V 2.3

Added manual switching to UART information on pg. 59.

Datasheet V 2.2

Revised Baud command information on pg. 33.

Datasheet V 2.1

Revised entire datasheet.

Firmware updates
V1.02 – Plock (March 31, 2016)
• Added protocol lock feature “Plock”

V1.03 – EEPROM (April 26, 2016)


• Fixed bug where EEPROM would get erased if the circuit lost power 900ms
into startup

V1.11 – Bug Fix (June 9, 2016)


• Fixed bug where a blank name would result in garbage ouput

V2.01 – Update (January 1, 2017)


• Replaced command “response“ with “*OK“
• Replaced command “Serial“ with “Baud“

V2.02 – Bug Fix (February 16, 2017)


• Fixed bug where calibration would not accept floating point numbers.

V2.10 – (May 9, 2017)


• Added "Find" command.
• Added "Export/import" command.
• Modified continuous mode to be able to send readings every "n" seconds.
• Sleep current is lowered.

V2.11 - Bug Fix (November 19, 2020)


• Fixed bug where the first reading after boot up could be -1024
Warranty
Atlas Scientific™ Warranties the EZO™ class RTD circuit to be free of defect during the
debugging phase of device implementation, or 30 days after receiving the EZO™class RTD
circuit (which ever comes first).

The debugging phase


The debugging phase as defined by Atlas Scientific™ is the time period when the EZO™
class RTD circuit is inserted into a bread board, or shield. If the EZO™ class RTD circuit
is being debugged in a bread board, the bread board must be devoid of other components.
If the EZO™ class RTD circuit is being connected to a microcontroller, the microcontroller
must be running code that has been designed to drive the EZO ™ class RTD circuit
exclusively and output the EZO™ class RTD circuit data as a serial string.

It is important for the embedded systems engineer to keep in mind that the following
activities will void the EZO™ class RTD circuit warranty:

• Soldering any part of the EZO™ class RTD circuit.

• Running any code, that does not exclusively drive the EZO™ class RTD circuit
 and output its data in a serial string.

• Embedding the EZO™ class RTD circuit into a custom made device.

• Removing any potting compound.

72 Copyright © Atlas Scientific LLC


r 0.1
Reasoning behind this warranty
Because Atlas Scientific™ does not sell consumer electronics; once the device has been em-
bedded into a custom made system, Atlas Scientific™ cannot possibly warranty the EZO™
class RTD circuit, against the thousands of possible variables that may cause the EZO™ class
RTD circuit to no longer function properly.

Please keep this in mind:


1. All Atlas Scientific™ devices have been designed to be embedded into a custom
made system by you, the embedded systems engineer.

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 RTD circuits
continued operation. This is because that would be equivalent to Atlas Scientific™ taking
responsibility over the correct operation of your entire device.

73 Copyright © Atlas Scientific LLC


r 0.1

You might also like