Hi, I might be having the same problem as well, i am using the ds18b20.

I am not sure yet, i think my problem might be with the timing pof the Tx/Rx. I couldn't get the owin and owout routines to work so i wrote new ones based on the example at http://www.rentron.com/PICX4.htm

with some timing tweaks based on the datasheet for the ds18b20.

I havn't managed to get an lcd working so there is led flashing to illustrate different steps in the program cycle as well as to output the raw two's compliment data.

No matter what i do the results for all 9 bytes of the scratchpad are the same (including taking a soldering iron to the ds18b20!) and the crc byte (9th byte). I have checked this program with two ds18B20's (all i have) and both output exactly the same data, so like i said probably a timing error in the tx/rx.

btw - i wrote the program using the mikroelectronica mikrobasic compiler since it was free, after some frustration i bought PBP 2.45 and now am trying to migrate this program to PBP, you should be able to follow it well enough, the syntax is extremely similar. I am programming a pic 16f684.

let me know what you think, it may be useful to compare what i am doing wrong to what you are doing wrong

cheers,

James