Darshan Shah

MC9S12XEP100 : ATD Resoltuion is 19.53mv with 8bit data, but LM35 has 10mv per degree celsius

Discussion created by Darshan Shah on Dec 20, 2010
Latest reply on Dec 20, 2010 by kef

Hello All,

 

I am trying to use LM35 temperature sensor on AN1 port of ATD0. But I wanted to convert the value from the ATD to the temperature value for which I can print on the LCD display. But LM35 has resolution of 10mv per degree celsius and ATD (8 bit resolution, VDD = 5v) has 19.53mv. Hence I how can I know whats the temperature in degree celsius? I dont want to use power supply of 3.3v but only 5v. I have to make the ATD resolution as well 10mv per degree celsius.

 

Looking for some inputs / suggestions

 

Darshan

Outcomes