![]() | ![]() | ![]() |
| |||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
![]() |
| | Tools |
| | #16 | |
|
okey .... i understood . Quote:
i want to ask about the accuarcy of the a LM35 , from the datasheet it is a +0.5/-0.5 , knowing this value , in what that will help me ? thank you | ||
| |
| | #17 | |
| Quote:
So your Tmax is 60Cdeg, the LM35 will output +0.6V for 60C. If you set the LM358 to a gain of 4.17, this will increase the 0.6V to 2.5V. So for Tmax the adc [with a Vref=2.5] will have an Vinp of 2.5V which will convert to 255 decimal. In your PC program you will have to multiply the 255 by say,2.353 to make it equal to 600, which be equivalent to 60.0Cdeg As an option, as you are amplifying the LM35 output to the ADC, you could just use the +V[5v] ref of the ADC. This would mean amplifying the LM35 0.6V by 8.33, so the 0.6V would become 5V, which with a +5Vref would give 255. This method for the Vref is simpler and cheaper.! If you think about it, if you made the Tmax = 51Cdeg, so the LM35's 0.51V was multiplied by 9.8 to +5V, this would give an adc value of 255. When multiplied by 2 in the PC program would give 51Cdeg.! The +/-0.5C accuracy is over the temperature working range of the LM35. OK.?
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ | ||
| |
| | #18 | |
|
ok ..... allright . Quote:
thank you very much eric . | ||
| |
| | #19 | |
| Quote:
Look at this graph from the LM35 data. Examine the Tempr plot over the full range of the LM35.
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ | ||
| |
| | #20 |
|
thank you so much eric . for any new doubts I'll DISCUSS it with you . | |
| |
| | #21 |
|
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 . | |
| |
| | #22 | |
| Quote:
I would still advise to use the LM358 as an amplifier for the LM35 output also use the ADC's internal 5Vref.
__________________ Eric " Good enough is Perfect " I will NOT answer PM's requesting technical help, please use the Forum PIC tutorials: Nigel's www.winpicprog.co.uk/ Bill's: www.blueroomelectronics.com/ | ||
| |
| | #23 |
|
okay .... i think this is convinced . thank you so much ...any new doubt i 'll DISCUSS it with you .
| |
| |
|
| Tags |
| home, miniproject, monitoring, weather |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| Guys this is my home made 2.1 Home Theater System | pasanlaksiri | Electronic Projects Design/Ideas/Reviews | 40 | 11th November 2009 05:07 AM |
| Weather Station | jigzpad | General Electronics Chat | 8 | 27th December 2008 09:54 AM |
| Weather Vane | otm | Electronic Projects Design/Ideas/Reviews | 64 | 24th November 2008 06:37 PM |
| DIY Weather Stations | leongibbs | Electronic Projects Design/Ideas/Reviews | 3 | 8th February 2005 03:25 AM |
| Weather station | ala199 | Electronic Projects Design/Ideas/Reviews | 7 | 17th March 2004 02:46 AM |