Solarwind, I appreciate the response, and the look at your code, but I am writing in assembly. However, looking at you code shows I am using the same algorithim. The timing you use is the same as I am using. Our versions of the software ar basically the same. The only major difference is yours is in C, and mine is in assembly. I'll forward mine to you as soon as I get it cleaned up a little. Thanks again for the response. Regards, Jim ----- Original Message ----- From: "solarwind" To: "Microcontroller discussion list - Public." Sent: Wednesday, August 12, 2009 2:57 AM Subject: Re: [PIC]: One Wire Temp Sensor Question On Tue, Aug 11, 2009 at 9:11 PM, jim wrote: > All, > > I don't know what the difference is between the 1822 and the 1822+, but I > have the 1822, not the plus version. > But, in the application I have in mind, it doesn't need to be parasite > powered. It was just a convenience that I > would like to have implemented. I have a lot of experience with this device (but no time at the moment to write out a good answer). All I can say is that the + version is Maxim's way of saying that the device is ROHS compliant (if I can remember correctly), nothing else. The DS18B22 is simple to interference. Here is some C code (for CCS C) that I used to interface the device early in my prototyping stage. http://solar-blogg.blogspot.com/2009/04/ds18b20-1-wire-driver-for-ccs-c.html Try looking at the code and figuring out the device. The datasheet has all the info you need (and it's short and concise so not much reading to do). Sorry I can't give a detailed reply (really short on time). -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist