Olin, There is a very good PIC tutorial based on the 16C84 which was written by John Becker of EPE www.epemag.wimborne.co.uk It was a three part tutorial which came in the March 98, April 98, and May 98 editions of their magazine and it's how I got started, it takes you from building a simple programmer to turning LEDs on and off to driving LCD displays and much more. I don't believe this tutorial is available for download, but i'm sure you can buy the back issues or if you ask them nicely they may send you some photocopies. They have a message board within their web site and John Becker posts in there so you may try contacting him that way. There is also a mini tutorial which is available for free from their web site and it covers the 16F87x family, however, this tutorial assumes you have a good understanding of microcontrollers. Good luck --Alex -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Olin Lathrop Sent: Thursday, February 08, 2001 1:15 PM To: PICLIST@MITVMA.MIT.EDU Subject: [PIC]: PIC student > 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 basic introductory book on microcontrollers. I think there are several available that use PICs as examples. Others on this list can probably suggest specific titles. Just giving you code won't solve the real problem, which 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. 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 leaves 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 takes 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. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.