👑 Premium Sign in Sign up

EM06 · Sem 5 · Sensors & interfacing

LM35 temperature sensor and UART

Aim: Measure temperature with an LM35 and print it on the serial port and LCD.

🧪 Live simulation🧊 Real-time 3D bench⚠ Simulated values, not physical measurements

🔬 Virtual lab

Starting the lab…

📘 Theory

The LM35 outputs 10 mV per °C. The ADC reading × (5000/1023) gives millivolts; divide by 10 for °C. The value is printed on UART and on the LCD.

T(°C) = reading × 500 / 1023

🧰 Apparatus (virtual)

  • Dev board
  • LM35 on A1
  • 16×2 LCD

📝 Procedure

🎤 Viva questions

What is the LM35’s output at 25 °C

250 mV.

Why average several readings

To reduce noise.

🛡️ Safety

Virtual board. On real hardware, check supply voltages and pin current limits, and power motors and servos from a separate supply.

📚 Tools & references