Maker Pro
Maker Pro

Temperature measurement with LM35

Soprano1990

Jan 26, 2017
3
Joined
Jan 26, 2017
Messages
3
Hi I am also a newbie in this world of MCU, Can you please help me with measurement tempetature with LM35 . I am struggling to figure it out how it works.
Thank in Advance
 
Last edited by a moderator:

davenn

Moderator
Sep 5, 2009
14,254
Joined
Sep 5, 2009
Messages
14,254
Hi I am also a newbie in this world of MCU, Can you please help me with measurement tempetature with LM35 . I am struggling to figure it out how it works.
Thank in Advance

have you looked at the datasheet for the LM35 ?
it has lots of examples
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,700
Joined
Nov 17, 2011
Messages
13,700
You may also look for tutorials specific to the mcu type you're using. For many mcu/sensor combinations you will find circuit and code examples. Use your mcu type and LM35 as search terms.
 

Soprano1990

Jan 26, 2017
3
Joined
Jan 26, 2017
Messages
3
have you looked at the datasheet for the LM35 ?
it has lots of examples
Hi Davenn,
Thanks for your reply.
I looked at the LM35DZ/NOPB on page 16: Fig. Temperature sensor, single supply -54 °C to 150°C. I have used this circuit and connnected a multimer to measure the voltage but i am not getting something useful.
My question should I use an op-amp to amplifier the signal before the signal goes to mcu?
 

Soprano1990

Jan 26, 2017
3
Joined
Jan 26, 2017
Messages
3
You may also look for tutorials specific to the mcu type you're using. For many mcu/sensor combinations you will find circuit and code examples. Use your mcu type and LM35 as search terms.

Hi Harald,

I am using PIC16F1847 , I found a working code from ElectroSome blog. On his code, he used a variable resistor but I repladed it with LM35 but I am not getting the same result.
I don't know if it is to do with timing of adc configuration.
Please help me to be able to successfully achieve this.
Thx
 

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,700
Joined
Nov 17, 2011
Messages
13,700
Show us a circuit diagram of your circuit.
 
Top