LM35 and TMP36 wrong values solved
In this article we will see how to correct the wrong sesnor values you get in Proteus! If you're consistently getting incorrect values from your LM35 temperature sensor despite trying various code solutions, the issue is likely related to wiring rather than the code itself. In this guide, I’ll walk you through identifying the problem and ensuring your wiring is set up correctly.
Troubleshooting Incorrect LM35 Temperature Sensor Readings
If you're consistently getting incorrect values from your LM35 temperature sensor despite trying various code solutions, the issue is likely related to wiring rather than the code itself. In this guide, I’ll walk you through identifying the problem and ensuring your wiring is set up correctly.
Step 1: Check Initial Readings
Before making any adjustments, let’s take a look at the values I'm currently receiving. As you can see, even with the correct code in place, the readings are inaccurate. This indicates that the issue lies not in the code but in the wiring.
Step 2: Correct wiring:
Here’s how to correctly wire the LM35 temperature sensor:
- Power Connection: Begin by connecting the power output from the LM35.
- Connect to Arduino: Connect this power output to both the temperature sensor and the Arduino's 5V pin.
Conclusion
Once you’ve made these connections, you should see accurate temperature readings from your LM35 sensor. Proper wiring is crucial for achieving reliable data, so always double-check your connections before troubleshooting the code.
You may also like
- Fatal simulation error(s) encountered in proteus solved
- Top 5 IoT Projects with Arduino UNO & ESP32 — Blynk, Wi-Fi & Smart Home Tutorials (2026)
- Blynk IoT with Arduino UNO & ESP32 — Free Arduino IDE, Library & App Tutorial
- Arduino UNO Blink IoT Guide — ESP32 Arduino, Blynk App & Arduino IDE Code
- How to Control LEDs Using Blynk and Arduino Uno: A Complete Guide
EmbedLab Team
Embedded systems engineer and educator. Writes weekly tutorials at EmbedLab to help beginners ship real hardware.
Related projects

Fatal simulation error(s) encountered in proteus solved
/* --- CUSTOM ARTICLE STYLES (from your original file) --- */ .article-body { font-family: 'Arial', sans-serif; line-height: 1.6; color: #333; } .article-body h2 { color: #2c3e50; font-weight: bold; }

Top 5 IoT Projects with Arduino UNO & ESP32 — Blynk, Wi-Fi & Smart Home Tutorials (2026)
The top 5 IoT projects every Arduino UNO and ESP32 maker should build in 2026 — Blynk IoT control, Wi-Fi blink, ESP-WROOM-32 dev board guide, ESP32 Proteus 8 simulation and an Arduino smart home parking system. Each pick links to the full tutorial with free Arduino IDE code, library and wiring.

Blynk IoT with Arduino UNO & ESP32 — Free Arduino IDE, Library & App Tutorial
Complete Blynk IoT tutorial for Arduino UNO and ESP32 Arduino: install the Arduino IDE, add the Blynk Arduino library, wire LEDs, LCD and sensors, and control everything from the Blynk app over Wi-Fi — a free, beginner-friendly Arduino IoT project.

Arduino UNO Blink IoT Guide — ESP32 Arduino, Blynk App & Arduino IDE Code
Complete Arduino UNO Blink IoT guide using ESP32 Arduino and the Blynk app: free Arduino IDE code, Arduino library and LED wiring — the easiest Arduino IoT project for beginners to download and try online.
How to Control LEDs Using Blynk and Arduino Uno: A Complete Guide
How to Control LEDs Using Blynk and Arduino Uno: A Complete Guide Controlling LEDs remotely using Blynk and an Arduino Uno is a simple yet powerful project for IoT (Internet of Things) enthusia



