Hi,
i ran into the same problem, but my solution was to provide +5V to PIN3 of the DS18S20. The delay of 750ms may be only needed when using "parasitic power"...
I discovered a similar problem when playing around with a serial DIY Board for a PC, running Linux and digitemp. The solution was also to use extra power on PIN3 or the delay of 750ms...
http://www.m8in.de/2...igenbau-sensor/ (sorry, german ;-) )
Regards, Martin
Hi,
I don't know why, but I had to change this line, otherwise I was getting only 85 degC (which is the power-on reset value of the temperature register, which is +85°C)
while (owBus0.ReadByte() == 0) ; //wait while busyinto this
Thread.Sleep(750);
The Temperature Conversion Time is maximum 750miliseconds (for a DS18B20), See also datasheet linkAnd ofcourse you have to add the following reference (Microsoft.SPOT.Hardware.OneWire)