beautypg.com

Figure 7. 3-wire communication, A) start temperature conversion b) write to the t – Rainbow Electronics DS1726 User Manual

Page 12

background image

DS1626/DS1726

12 of 13

Figure 7. 3-WIRE COMMUNICATION

a) Start Temperature Conversion

b) Write to the T

H

/T

L

Registers

c) Write to the Configuration Register

d) Read from the Temperature Register

e) Read from the Configuration Register

CLK

1

0

1

0

Start Convert T [51h] Command

DQ

RST

0

1

0

0

Configuration Reg. Data from Master

CLK

D

2

D

1

D

0

0

0

0

0

0

0

Write Config [0Ch] Command

DQ

RST

D

3

D

4

D

5

D

6

D

7

1

1

CLK

D

2

D

1

D

0

0

0

0

0

DQ

Ч Ч Ч

RST

Ч Ч Ч

D

3

D

4

D

5

D

6

D

7

D

8

0

0

D

9

D

10

D

11

C

7

C

6

Write TH [01h] or TL [02h] Command

T

H

or T

L

Data from Master

Configuration Reg. Data from DS1626/DS1726

CLK

D

2

D

1

D

0

0

1

0

1

0

0

Read Config [ACh] Command

DQ

RST

D

3

D

4

D

5

D

6

D

7

1

1

Temperature Data from DS1626/DS1726

CLK

D

2

D

1

D

0

0

1

0

1

Read Temperature [AAh] Command

DQ

Ч Ч Ч

RST

Ч Ч Ч

D

3

D

4

D

5

D

6

D

7

D

8

0

1

0

1

D

9

D

10

D

11

0

0

0

Ч Ч Ч