MCP9804-E/MS Microchip Technology, MCP9804-E/MS Datasheet - Page 25

IC TEMP SENSOR I2C 2.7V 8MSOP

MCP9804-E/MS

Manufacturer Part Number
MCP9804-E/MS
Description
IC TEMP SENSOR I2C 2.7V 8MSOP
Manufacturer
Microchip Technology
Datasheets

Specifications of MCP9804-E/MS

Package / Case
8-MSOP, Micro8™, 8-uMAX, 8-uSOP,
Function
Temp Monitoring System (Sensor)
Topology
ADC (Sigma Delta), Register Bank
Sensor Type
Internal
Sensing Temperature
-40°C ~ 125°C
Output Type
I²C™/SMBus™
Output Alarm
No
Output Fan
No
Voltage - Supply
2.7 V ~ 5.5 V
Operating Temperature
-40°C ~ 125°C
Mounting Type
Surface Mount
Temperature Threshold
+ 150 C
Full Temp Accuracy
+/- 0.25 %
Digital Output - Bus Interface
2-Wire, I2C
Supply Voltage (max)
5.5 V
Supply Voltage (min)
2.7 V
Maximum Operating Temperature
+ 125 C
Minimum Operating Temperature
- 40 C
Supply Current
200 uA
Ic Output Type
Digital
Sensing Accuracy Range
± 0.25°C
Temperature Sensing Range
-40°C To +125°C
Supply Voltage Range
2.7V To 5.5V
Sensor Case Style
MSOP
No. Of Pins
8
Rohs Compliant
Yes
Supply Voltage Min
2.7V
Leaded Process Compatible
Yes
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MCP9804-E/MS
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
MCP9804-E/MS
Manufacturer:
MICROCHI
Quantity:
20 000
Part Number:
MCP9804-E/MS
Quantity:
510
Part Number:
MCP9804-E/MS
0
5.1.3.1
To convert the T
upper three boundary bits (bits 15, 14 and 13) must be
masked out. Then determine the sign bit (bit 12) to
check positive or negative temperature, shift the bits
accordingly and combine the upper and lower bytes of
the 16-bit register. The upper byte contains data for
temperatures greater than 32°C while the lower byte
contains data for temperature less than 32°C, including
fractional data. When combining the upper and lower
bytes, the upper byte must be Right-shifted by 4 bits (or
multiply by 2
by 4 bits (or multiply by 2
shifted values provides the temperature data in decimal
format, see
The temperature bits are in two’s compliment format,
therefore, positive temperature data and negative
temperature data are computed differently.
1
instruction code outlined in
communication flow, also see
diagram.
FIGURE 5-5:
© 2009 Microchip Technology Inc.
shows the temperature computation. The example
Equation
This example routine assumes the variables and i2c communication subroutines are predefined:
(See Appendix A: “Source Code”)
4
i2c_start();
i2c_write (AddressByte & 0xFE);
i2c_write(0x05);
i2c_start();
i2c_write(AddressByte | 0x01);
UpperByte = i2c_read(ACK);
LowerByte = i2c_read(NAK);
i2c_stop();
//Convert the temperature data
//First Check flag bits
if ((UpperByte & 0x80) == 0x80){
}
if ((UpperByte & 0x40) == 0x40){
}
if ((UpperByte & 0x20) == 0x20){
}
UpperByte = UpperByte & 0x1F;
if ((UpperByte & 0x10) == 0x10){
}else
T
) and the lower byte must be Left-shifted
A
bits to Temperature Conversion
UpperByte = UpperByte & 0x0F;
Temperature = 256 - (UpperByte x 16 + LowerByte / 16);
Temperature = (UpperByte x 16 + LowerByte / 16);
A
bits to decimal temperature, the
5-1.
Example Instruction Code.
-4
). Adding the results of the
Figure 5-5
Figure 5-6
Equation 5-
shows the
for timing
// send START command
//WRITE Command (see Section 4.1.4)
//also, make sure bit 0 is cleared ‘
// Write T
//Repeat START
// READ Command (see Section 4.1.4)
//also, make sure bit 0 is Set ‘
// READ 8 bits
//and Send ACK bit
// READ 8 bits
//and Send NAK bit
// send STOP command
//T
//T
//T
//T
//Clear flag bits
//T
//Temperature = Ambient Temperature (°C)
//Clear SIGN
A
A
A
A
A
≥ T
> T
< T
< 0°C
≥ 0°C
EQUATION 5-1:
CRIT
UPPER
LOWER
Where:
A
Temperature
Temperature < 0°C
Register Address
UpperByte = T
LowerByte = T
T
A
T
=
A
256
=
T
(
A
UpperByte 2
Τ
(
Α
= Ambient Temperature (°C)
UpperByte 2
≥ 0°C
1
A
A
TEMPERATURE
CONVERSION
bit 15 to bit 8
bit 7 to bit 0
0
BYTES TO
×
×
4
+
MCP9804
4
LowerByte 2
+
LowerByte 2
DS22203B-page 25
×
×
4 –
)
4 –
)

Related parts for MCP9804-E/MS