manba
New Member
hi, there..
I want to interface the LM35 temperature sensor with 16f877a. It's my first time that i use the ADC of 16f877a.
LM35 gives 10mv per 1 Celsius change and it's rang (-55C to +150C). In the program i wanna to calculate the positive and negative degrees.
I know the minimum voltage for the ADC of 16f877a 8 bit is 39mv and 4.8mv for 10bit, i have read it from Nigel's tutorials.
can anyone help me:
1- How to connect the LM35 to the 16f877a, i mean how amplify the mv of LM35.
2- How to calculate the negative and positive degrees (to send them to the LCD).
As i said it's my first time i use the ADC of the pic16f877a and it is difficult to do it from the first time.
I want to interface the LM35 temperature sensor with 16f877a. It's my first time that i use the ADC of 16f877a.
LM35 gives 10mv per 1 Celsius change and it's rang (-55C to +150C). In the program i wanna to calculate the positive and negative degrees.
I know the minimum voltage for the ADC of 16f877a 8 bit is 39mv and 4.8mv for 10bit, i have read it from Nigel's tutorials.
can anyone help me:
1- How to connect the LM35 to the 16f877a, i mean how amplify the mv of LM35.
2- How to calculate the negative and positive degrees (to send them to the LCD).
As i said it's my first time i use the ADC of the pic16f877a and it is difficult to do it from the first time.