garg29 said:as lm335 output is 10mv/C so the maximum volt at max temp would only be 1.250 volts for 125 celcius so, first feed the output of lm335 to a buffer (opamp gain=1) and then to a opamp with gain=5/1.25 (to utlize full scale reading)
#include <reg52.h>
void outLCD(char c);
pdata unsigned char ADC0804;
unsigned char ReadADC0804(void){
ADC0804 = 0; // invoke ADC0804 to start conversion
while (P3^2) ; // waiting end of conversion
return ADC0804;
}
void nain(void){
unsigned char v;
v = ReadADC0804();
outLCD((v/100)+0x30); v = v % 100;
outLCD((v/10 )+0x30); v = v % 10;
outLCD((v )+0x30);
}
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?