beautypg.com

Rainbow Electronics DS1624 User Manual

Page 9

background image

DS1624

9 of 16

Access Memory [17h]

This command instructs the DS1624 to access its E

2

memory. After issuing this command, the next data

byte is the value of the word address to be accessed. See OPERATION–MEMORY section for detailed
explanations of the use of this protocol and data format following it.

Access Config [ACh]

If R/

W

is “0”, this command writes to the configuration register. After issuing this command, the next

data byte is the value to be written into the configuration register. If R/

W

is “1”, the next data byte read is

the value stored in the configuration register.

Read Temperature [AAh]

This command reads the last temperature conversion result. The DS1624 will send two bytes in the
format described earlier, which are the contents of this register.

Start Convert T [EEh]

This command begins a temperature conversion. No further data is required. In one–shot mode the
temperature conversion will be performed and then the DS1624 will remain idle. In continuous mode this
command will initiate continuous conversions.

Stop Convert T [22h]

This command stops temperature conversion. No further data is required. This command may be used to
halt a DS1624 in continuous conversion mode. After issuing this command, the current temperature
measurement will be completed then the DS1624 will remain idle until a Start Convert T is issued to
resume continuous operation.

DS1624 COMMAND SET Table 3

INSTRUCTION

DESCRIPTION

PROTOCOL

2-WIRE BUS

DATA AFTER

ISSUING

PROTOCOL

NOTES

TEMPERATURE CONVERSION COMMANDS

Read

Temperature

Reads last converted temperature
value from temperature register.

AAh

data>

Start Convert T

Initiates temperature conversion.

EEh

idle

1

Stop Convert T

Halts temperature conversion.

22h

idle

1

THERMOSTAT COMMANDS

Access Memory

Reads or writes to 256-byte
EEPROM memory.

17h

2

Access Config

Reads or writes configuration data
to configuration register.

ACh

2

NOTES:

1. In continuous conversion mode a Stop Convert T command will halt continuous conversion. To

restart, the Start Convert T command must be issued. In one–shot mode a Start Convert T command
must be issued for every temperature reading desired.

2. Writing to the E

2

typically requires 10 ms at room temperature. After issuing a write command, no

further reads or writes should be requested for at least 10 ms.