Rainbow Electronics DS1631 User Manual
Page 10
DS1631
10 of 14
DS1631 COMMAND SET
The DS1631 command set is detailed below and is summarized in Table 6.
Start Convert T [ 51h ]
Initiates temperature conversions. If the part is in one-shot mode (1SHOT = 1), only one conversion will
be performed. In continuous mode (1SHOT = 0), continuous temperature conversions will be performed
until a Stop Convert T command is issued.
Stop Convert T [ 22h ]
Stops temperature conversions when the device is in continuous conversion mode (1SHOT = 0).
Read Temperature [ AAh ]
Reads last converted temperature value from the 2-byte temperature register.
Access TH [ A1h ]
Reads or writes the 2-byte T
H
register.
Access TL [ A2h ]
Reads or writes the 2-byte T
L
register.
Access Config [ ACh ]
Reads or writes the 1-byte configuration register.
Software POR [ 54h ]
Initiates a software power-on reset (POR).
DS1631 COMMAND SET Table 6
Command
Description
Protocol
2-Wire Bus Activity
After Command is
Issued
Notes
TEMPERATURE
Start Convert T
Initiates temperature
conversions.
51h
Idle
Stop Convert T
Halts temperature conversions.
22h
Idle
Read
Temperature
Reads last converted
temperature value from
temperature register.
AAh
Two data bytes are
transmitted by the
DS1631.
1
THERMOSTAT
Access TH
Reads or writes the T
H
register.
A1h
Two data bytes are
transmitted.
2, 3
Access TL
Reads or writes the T
L
register.
A2h
Two data bytes are
transmitted.
2, 3
Access Config
Reads or writes the
configuration register.
ACh
One data byte is
transmitted.
2, 3
OTHER
Software POR
Initiates a software power-on
reset.
54h
Idle