DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

DS1821 View Datasheet(PDF) - Maxim Integrated

Part Name
Description
Manufacturer
DS1821 Datasheet PDF : 19 Pages
First Prev 11 12 13 14 15 16 17 18 19
DS1821
DS1821 FUNCTION COMMAND SET Table 4
1-Wire Bus Activity
Command
Description
Protocol
After Command is Issued
TEMPERATURE CONVERSION COMMANDS
Read
Reads last converted temperature AAh Master receives 8-bit temperature
Temperature value from temperature register.
value from DS1821.
Start Convert T Initiates temperature conversions. EEh None
Stop Convert T Halts temperature conversions.
22h None
THERMOSTAT and STATUS/CONFIGURATION COMMANDS
Write TH
Writes data to the TH register.
01h Master transmits 8-bit TH value to
DS1821.
Write TL
Writes data to the TL register.
02h Master transmits 8-bit TL value to
DS1821.
Read TH
Read TL
Reads data from the TH register.
Reads data from the TL register.
A1h Master receives 8-bit TH value from
DS1821.
A2h Master receives 8-bit TL value from
DS1821.
Write Status
Writes data to the
status/configuration register.
0Ch Master transmits 8-bit
status/configuration value to DS1821.
Read Status
Reads data from the
status/configuration register.
ACh Master receives 8-bit
status/configuration value from
DS1821.
HIGH-RESOLUTION COMMANDS
Read Counter Reads data from the counter
register
A0h Master receives 9-bit counter value
from DS1821.
Load Counter Loads slope accumulator data into 41h None
the counter register
1-Wire SIGNALING
The DS1821 uses a strict 1-Wire communication protocol to insure data integrity. Several signal types are
defined by this protocol: reset pulse, presence pulse, write 0, write 1, read 0, and read 1. All of these
signals, with the exception of the presence pulse, are initiated by the bus master.
INITIALIZATION PROCEDURE: RESET AND PRESENCE PULSES
All communication with the DS1821 begins with an initialization sequence that consists of a reset pulse
from the master followed by a presence pulse from the DS1821. This is illustrated in Figure 7. When the
DS1821 sends the presence pulse in response to the reset, it is indicating to the master that it is on the bus
and ready to operate given an appropriate function command.
During the initialization sequence the bus master transmits (TX) the reset pulse by pulling the 1-Wire bus
low for a minimum of 480 µs. The bus master then releases the bus and goes into receive mode (RX).
When the bus is released, the 5k pullup resistor pulls the 1-Wire bus high. When the DS1821 detects this
rising edge, it waits 15–60 µs and then transmits a presence pulse by pulling the 1-Wire bus low for 60–
240 µs.
11 of 19

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]