LM35 Sensor Interfacing With Lilygo Board


Circuit Diagram :-

In this tutorial, you’ll learn how to use LILYGO with the LM35 Temperature Sensor in Arduino IDE using ADC analog input pins. We’ll discuss how the LM35 temperature sensor works, how to connect it with LILYGO, and how to get readings using ADC in Arduino IDE.  

We’ll be doing 3 different LABs in this tutorial. To show the LILYGO LM35 Temperature readings on the serial port, I2C LCD, and also to get multiple temperature sensors readings at the same time. Without further ado, let’s get right into it!

LM35 Sensor :-
he LM35 is a temperature sensor widely used in electronic projects and midrange devices. It has limited usage in industrial applications due to maximum temperature range limitations. It’s rated to a full range of −55°C to 150°C.  You can just power it up and instantly read the voltage level on the output terminal. The VOUT of the sensor directly maps to the sensor’s temperature as we’ll see hereafter.  

Technical Features of LM35 Temperature Sensor :-

Linear + 10-mV/°C
Scale Factor 0.5°C 
Ensured Accuracy (at 25°C) 
Rated for Full −55°C to 150°C 
Range Operates From 4 V to 30 V 
Less Than 60-μA Current Drain
Non-Linearity Only ±¼°C Typical

Lilygo Board :-

This is a TTGO TCall&amp, PMU ESP32 Wireless Module SIM Antenna SIM Card SIM800L Module Unsoldered. The Module is a custom ESP32 (ESP-WROVER-B 8MB PSRAM) based development board with an onboard 2G/GPRS Module SIM800L. The USB Type C pluggable board also has an onboard LiPo Battery Charging Circuit & Connector and is a good choice for building IoT applications.


The wireless module is integrated with ESPRESSIF-ESP32 240MHz Xtensa dual-core 32-bit LX6 microprocessor. It needs a power supply of 5V/1A and has a Type C port. It features 802.11 b/g/n wifi protocol and Bluetooth v4.2BR/EDR and BLE standard protocol. The wireless communication module supports cloud server development and SDK for user firmware development.

Code :-

Video :-