hello .. eric ! i want to ask about something
About the temperature . someone implement the project like me with these values :
Vref=1.28 v . applied on pin9 is 0.64 v
LM358 works as buffer .
he used these formulas :
To get the minimum span that the adc can identify . min-span=Vref/255
To get the Vin . Vin= Dout * min-span
then :
=1.28/255 = 5.01 mV
He that this the min-span according the formula. and we know that the adc will give us 10 mV / centi but here will give us 5mv/centi ..... which mean we will take the output of the adc and divide it by 2 to get the tempr .
example : if the output is 00000010= 2 in decimal then the program will read 2 and divide it by 2 to get the tempr ...... 2/2=1 c .
is that make any sense ? i asked him about why you divided by 2 ? but he did not respond till now ?
what do u think ?
note : the program is working fine as this person illustrated .
About the temperature . someone implement the project like me with these values :
Vref=1.28 v . applied on pin9 is 0.64 v
LM358 works as buffer .
he used these formulas :
To get the minimum span that the adc can identify . min-span=Vref/255
To get the Vin . Vin= Dout * min-span
then :
=1.28/255 = 5.01 mV
He that this the min-span according the formula. and we know that the adc will give us 10 mV / centi but here will give us 5mv/centi ..... which mean we will take the output of the adc and divide it by 2 to get the tempr .
example : if the output is 00000010= 2 in decimal then the program will read 2 and divide it by 2 to get the tempr ...... 2/2=1 c .
is that make any sense ? i asked him about why you divided by 2 ? but he did not respond till now ?
what do u think ?
note : the program is working fine as this person illustrated .