Am 09.09.2016 um 11:15 schrieb Uwe Bonnes: > > In article <5db40b85-90cb-333c-bf0e-ba66a5f26...@gmail.com> you wrote: >> Hello all, > >> I have a Datanab TC to 1Wire that uses a MAX31850: > >> http://www.datanab.com/sensors/1wire-%20thermocouple-sensor-thrmcpl_k.php > >> The device reads fine using a DS9490R on Windows using a package I have >> written to read the device as in the datasheet (OneWire Viewer does not >> read temperature on the 31850). > >> Using a DS2483 on owfs, I get some weird stuff. According to the man >> page here (http://owfs.org/uploads/DS1825.html), the temperature should >> give CJC, and thermocouple should give CJC-compensated temperature. >> These values are as follows (owfs is mounted in Celsius): > > Hello, > > this is the third attempt for a reponse: > - First direct to the asker and Jan > - Reply via gmane after successfull subscription. > - and now via my normal mailer > > The manual page tells that the internal chip temperature is the content of > the */temperatur* files and the cold junction compensated thermocouple > temperature is the content of */thermocouple. > > The Chip has the thermocouple temperature at data[0] and the internal > temperature at data[2]. However all other similar chips have the temperature > at data[0]. > > Current code only mixes up data and interpretation. Appended patch fixes the > readings. > Uwe, I am not sure how we should handle this. IIRC, in the past, the temperature values had been the way you suggest. But for some reason I not aware anymore, this had been switched.
We have to find the reason why it's bogus as it is now. Kind regards Jan ------------------------------------------------------------------------------ _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers