ADT7301ARTZ-500RL7 Analog Devices Inc, ADT7301ARTZ-500RL7 Datasheet - Page 13

no-image

ADT7301ARTZ-500RL7

Manufacturer Part Number
ADT7301ARTZ-500RL7
Description
IC SENSOR TEMP 13BIT DGT SOT23-6
Manufacturer
Analog Devices Inc
Datasheet

Specifications of ADT7301ARTZ-500RL7

Function
Temp Monitoring System (Sensor)
Topology
ADC, Register Bank
Sensor Type
Internal
Sensing Temperature
-40°C ~ 150°C
Output Type
MICROWIRE™, QSPI™, SPI™
Output Alarm
No
Output Fan
No
Voltage - Supply
2.7 V ~ 5.25 V
Operating Temperature
-40°C ~ 150°C
Mounting Type
Surface Mount
Package / Case
SOT-23-6
Ic Output Type
Digital
Sensing Accuracy Range
± 0.5°C
Supply Current
1.6mA
Supply Voltage Range
2.7V To 5.25V
Resolution (bits)
13bit
Sensor Case Style
SOT-23
No. Of Pins
6
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
EVAL-ADT7301EB - BOARD EVALUATION FOR ADT7301
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
Other names
Q2494841C
The following software program shows how to program a
PIC16F873 to communicate with the ADT7301. The
PIC16F873 is configured as an SPI master with the Port A.1 pin
used as CS . Any microchip microcontroller can use this
program by simply exchanging the include file for the device
that is being used.
#include <16F873.h>
#device adc = 8
#use delay(clock = 4000000)
#fuses NOWDT,XT, PUT, NOPROTECT, BROWNOUT, LVP
#BIT CKP = 0x14.4
#define CS PIN_A1
void main(){
int MSByte,LSByte;
long int ADC_Temp_Code;
float TempVal,ADC_Temp_Code_dec;
setup_spi(spi_master);
CKP = 1;
do{
}
delay_ms(10);
Output_low(CS);
delay_us(10);
MSByte = SPI_Read(0);
Output_High(CS);
ADC_Temp_Code = make16(MSByte,LSByte);
ADC_Temp_Code_dec = (float)ADC_Temp_Code;
if ((0x2000 & ADC_Temp_Code) == 0x2000)
else
}while(True);
LSByte = SPI_Read(0);
delay_us(10);
{
TempVal = (ADC_Temp_Code_dec - 16384)/32;
}
{
TempVal = (ADC_Temp_Code_dec/32);
}
Rev. A | Page 13 of 16
//Pic is set up as master device.
//Idle state of clock is high.
//Allow time for conversions.
//Pull CS low.
//CS to SCLK set-up time.
//The first byte is clocked in.
//The second byte is clocked in.
//SCLK to CS set-up time.
//Bring CS high.
//16 bit ADC code is stored ADC_Temp_Code.
//Convert to float for division.
//Check sign bit for negative value.
//Conversion formula if negative temperature.
//Conversion formula if positive temperature.
//Temperature value stored in TempVal.
ADT7301

Related parts for ADT7301ARTZ-500RL7