I already got a great friend and a teacher who's been gladly helping me o= ut with my school thesis and been patiently teaching me so I could be a good= PIC software developer someday. Thanks for the advice anyway. And I'm sorry, but I never intended to sound like patronising. It's just = that I respect people here in the PICLIST very much. I'm really very sorry. Olin Lathrop wrote: > I'm a 5th college student from the Philippines. > I'm studying sir in Manila, Philippines. > I'm majoring sir in Electronics Engineering. > I'm quite a beginner sir in PIC programming, but > I was assigned to do a school thesis in which > I'm to measure body temperature using a PIC. > Our school sir really don't teach PIC software development > or assembly language. It is up to us to learn. > And I really want to be an expert in PIC software development. > Thank you very much sir Olin. God Bless. > Best regards. It's time to drop that patronising "sir" crap. If the data sheets are too hard to understand, you should start with a ba= sic introductory book on microcontrollers. I think there are several availab= le that use PICs as examples. Others on this list can probably suggest specific titles. Just giving you code won't solve the real problem, whic= h is learning about embeded microcontrollers, not getting this particular project done. As far as the project goes, you need to measure temperature with high accuracy, but only need to do so over a very limited range around 37C. Thermisters are very sensitive, but non-linear and vary from unit to unit= =2E My first knee jerk reaction is to use a 16F870 (or just get a few '876 to= have around for this project and whatever else comes up). Use an analog circuit so that even with thermister part variation, the 32C to 42C range= always comes out within the 0-5V A/D range. Even if it only ends up covering 2V, you still have about 400 counts over 10 degress C. That lea= ves plenty of headroom to do the linearization in software. Since this is a = low speed signal, you have lots of cycles available for this, even if it take= s something like a 4th order polynomial. I would deal with the part variations by running each one thru a calibration sequence and saving the= calibration parameters (polynomial coeficients ?) in the EEPROM. ***************************************************************** Olin Lathrop, embedded systems consultant in Devens MassacLIO/tts (978) 772-3129, olin@embedinc.com, http://www.embedinc.com -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details. ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=3D= 1 -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.