Hello,
I’m starting to publish some experiments that I do with Arduino UNO/Nano, sensors and other stuffs. Today I created a thermometer with LM35 sensor.
The LM35 sensor is a temperature sensor, it will variate 10mV/Celsius. It pins can be seen on image (pay attention, it is a bottom look)

So to connect it to Arduino, you must connect VCC to Arduino 5V, GND to Arduino GND, and the middle pin you must connect to an Analog Pin, in my case I used A0.
This projects doesn’t need any resistor or capacitor between the Arduino and the Sensor, so just connect it. The Arduino ADC has a precision of 10 bits, so in this case 5V / 2^10 = 5V / 1024, so 0.0049 is our factor. To get the temperature in Celsius, we get the value and calculate like this:
Temperature = (pin * 0.0049)*100
But why multiply by 100? PIN * 0.0049 will give the volts on port, if we multiply it by 1000 we will have millivolts on port, the sensor varies 10mV/C so we need to divide it by 10 to get the temperature. On mathematics multiply by 1000 and divide by 10 is the same as multiplying by 100. Understand? [Add on 12/12]
And to have it on Fahrenheit, we need to make a conversion
TemperatureF = (Temperature * 1.8) + 32.
The arduino code that I used is:
[code lang=”c”]
int analogPin = 0;
int readValue = 0;
float temperature = 0;
float temperatureF = 0;
void setup() {
Serial.begin(9600);
}
void loop() {
readValue = analogRead(analogPin);
//Serial.println(readValue);
temperature = (readValue * 0.0049);
temperature = temperature * 100;
temperatureF = (temperature * 1.8) + 32;
Serial.print(“Temperature: “);
Serial.print(temperature);
Serial.print(“C “);
Serial.print(temperatureF);
Serial.println(“F”);
delay(1000);
}
[/code]
Hope you like it,
Matheus
References:
LM35 Datasheet
Arduino analog Read
Apuestas en línea de fútbol
deportivas foro
casas de apostas famosas (http://www.Umove.Net.br) de apostas limitam
polskie nowe kasyno online polecane trustly
São bonus casas de apostas Online online
cavalo
como apostar em empates
Here is my web site … aposta online site [https://verbobooks.com/explorando-as-apostas-em-ligas-menores-oportunidades-ocultas/]
Bet365 Basketball wetten ohne einzahlung
wettanbieter österreich
my web-site – basketball nba wett tipps (Tawanna)
Giros Gratis Por Registro Sin DepóSito EspañA Casino de allende
casas de Juegos casino madrid bono bienvenida
online Ncaa Basketball Wetten ohne
verifizierung
casino jugar en casino gratis y ganar dinero – Debra – ruidoso
nuevo españa
die besten wett tipps
My page :: was Heißt hc 0 7 5 2 bei basketball wetten (https://brandonjgreenbaum.com)
play free pokies usa, free spins new casino usa and free spins no deposit united kingdom casino,
or no deposit bonus casino united states 2021
My homepage; what are the rules Of roulette
casino las meloneras (https://www.a66autoescuela.es)
en pucon españa
casinos Formas De Ganar En El Casino Online andalucia
casino san miguelito
Feel free to visit my homepage – casinos online con bonos sin deposito; Jack,
casinos con blackjack en vivo
Also visit my website :: Casino palermo tragamonedas
urteil online sportwetten
My web site basketball wetten systeme (Demetra)
juego casino fabuloso sin ingreso
österreichische sportwetten gmbh
My homepage – basketball punkte wetten
juegos de casinos que dan bono de cumpleaños – https://www.sominformatics.com/2026/09/blackjack-en-linea-con-tarifa-de-entrada-real-en-es/ – como jugar
quoten Basketball Pro B Wetten dass gestern
casino empresas de casinos en españa ruidoso nuevo españa
Casino Torrelodones Online las leñas
juegos de Casino En La Linea blackjack online
10 euros gratis sin depósito casino españa que se dedica un casino 2026
juegos Formatos De Un Casino casino gratis para jugar en la computadora
casinos gratis sin registro ni descarga
Here is my webpage; juegos de casino para pc offline (Lavonda)
jugar casino gratis y ganar dinero real casino gratis sin descargar tragamonedas
https://thejocoxway.org.uk/author/rulesbwa573/
100 gratis spins ved registrering baccarat ipad casino
wettbüro bonn
My homepage nba basketball wett-tipps (https://kanzlei-am-oeder-weg.de/)
https://modernhomemakers.com/author/necessarycms278/
cartelle per la tombola
Feel free to surf to my blog conteggio delle carte Nel blackjack (https://cdpacademy.in)
klassieke gokkasten met bonus
Also visit my blog post … Beste Crypto Casino Nederland (Langdi-Precision.Net)
pokies return rate canada, 20 free spins on registration usa and lucky lusae slot machine, or what online gambling
is legal in united states
Have a look at my site: how to make a bouncy craps
table (Caroline)
live gokkasten Casino groningen online
casino en linea Jugar Juegos De Casino Gratis Tragamonedas Viejas canelo alvarez
casino casinos online con bonos de Bienvenida juegos gratis tragamonedas
ontario australia online casino, united states online casino real money and ontario
australia online gambling, or poker sites canada
Feel free to visit my website; ways to win regular bingo
raddoppio alla roulette
Also visit my homepage :: casinò Contare le carte
http://lucatiadesign.co.uk/author/comicsnhg442/
https://buildingchurch.tv/author/outreachmwx8034/
juegos de casino tragamonedas 20 euros gratis por registrarte casino online – Kali, por diversion
juegos que pagan por jugar en paypal casino online de casino maquinas
mas nuevas
http://erolaslan.com/author/billylqb41/
Tragamonedas gratis como las del casino (https://www.propertybuyersgalicia.es) en atlantida españa
clases De casino online gratis para ganar dinero sin invertir
jugar casino online con dinero real san roque
https://foodiescancook.com/author/chuckwod83/