The LM35DT is a precision integrated-circuit temperature sensor with an output voltage linearly proportional to the Celsius temperature. It requires no external calibration or trimming to provide typical accuracies of ±0.25°C at room temperature and ±0.75°C over a full -55°C to +150°C temperature range. This makes it an ideal choice for a wide range of temperature sensing applications.
Parameter | Value |
---|---|
Supply Voltage Range | 4V to 30V |
Supply Current | 60 µA |
Output Voltage Range | 0V to 5V |
Temperature Range | -55°C to +150°C |
Accuracy at 25°C | ±0.25°C |
Accuracy over full range | ±0.75°C |
Sensitivity | 10 mV/°C |
Response Time | 1.5 seconds (typical) |
Pin Number | Pin Name | Description |
---|---|---|
1 | Vout | Output voltage proportional to temperature |
2 | GND | Ground |
3 | Vs | Supply voltage (4V to 30V) |
// Example code to read temperature from LM35DT using Arduino UNO
const int sensorPin = A0; // LM35DT output connected to analog pin A0
float temperature; // Variable to store temperature value
void setup() {
Serial.begin(9600); // Initialize serial communication at 9600 baud rate
}
void loop() {
int sensorValue = analogRead(sensorPin); // Read the analog value from the sensor
temperature = (sensorValue * 5.0 * 100.0) / 1024.0; // Convert the analog value to temperature
Serial.print("Temperature: ");
Serial.print(temperature); // Print the temperature value to the serial monitor
Serial.println(" °C");
delay(1000); // Wait for 1 second before taking another reading
}
No Output Voltage:
Inaccurate Readings:
Fluctuating Readings:
Q1: Can the LM35DT be used to measure negative temperatures?
Q2: What is the maximum distance between the LM35DT and the microcontroller?
Q3: Can the LM35DT be submerged in liquid for temperature measurement?
Q4: How do I calibrate the LM35DT?
By following this documentation, users can effectively integrate the LM35DT temperature sensor into their projects, ensuring accurate and reliable temperature measurements.