[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/diy/ - Do It Yourself

Search:


View post   

>> No.2531711 [View]
File: 20 KB, 532x397, file.png [View same] [iqdb] [saucenao] [google]
2531711

Someone who has used the LM35 sensor,why most people convert the voltage to celcius using an ADC like

Tc = ((analogRead * Vref)/bitResolution)/0.01

where: -Tc is the temperature in celcius; and the 0.01 its because it goes like 10mv/ºC.
But the datasheet says that its from 2ºC to 150ºC, the way that Tc is written assumes that 0v => 0ºC right?
Wouldn't be more correct add a +2 as it implies that 0V => 2ºC(or less i guess) instead of 20mv => 2ºC? or did i get it wrong?

Navigation
View posts[+24][+48][+96]