How to increase LM 35DZ voltage to about 5V maximum?

Status
Not open for further replies.

electric_pk

Newbie level 3
Joined
Dec 8, 2006
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,309
As this device gives 10mv per degree centigrade rise in temperature so even if the room temperature is 25 degrees C it will give output 0.25 V. I want to use this output as input to Analog to Digital Converter 0804. How can I increase this voltage to about 5v maximum.
 

lm 35 dz

Use opamp to amplify LM35 output 10 times
 

17ap lm 35dz

there is no need to amplify ......... just set the reference voltage of the ADC0804 2.5v

then your step size of ADC is around 10mv and you will get easily the accurate temperature with increasing hardware...

after reading the byte from the ADC just write the routine Binary to BCD u will get the temperature value

//***************************************************************/
// */
/* binary to bcd subroutine */
// */
//***************************************************************/
void binbcd(void)
{
unsigned char b=10;
unsigned int a,c;

otdc[0]=adc%b;
a=adc/b;

otdc[1]=a%b;
c=a/b;

otdc[2]=c%b;
a=c/b;

}//
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…