I purchased a hobbypbards T/H/S kit and although it is working I am not clear on calibration.
I sent a message to the owfs dev. group and Paul A. was kind enough to answer but on very broad terms and I am still not seeing the whole picture.
It is my understanding that the owfs dev. group has created data entries for the most common ow chips and has then created specific viewable or settable entries for those chips. These registers are taken from the Maxim or Dallas data sheets.
The Hobby board uses the DS18s20 for temperature readings. I find my reading to be off by several degrees. Under the OWFS in Linux there are registers for TRIM. TRIMBLANKET, and TRIM VALID. o where can I find any documentation on how to use these values. I do know that my display shows TRIM VALID to be yes (TRUE) and if I change the trim numbers it makes changes in the resultant temperature readings. But there does not seem to be any pattern in these changes. Changing TRIM by one (least significant) digit can make a 50 degree change in read temperature. The Maxim/Dallas datasheets do not seem to mention these TRIM vlaues????
So I am at a loss as to what to do here. How is this calibrated or, since the chip is suppose to be calibrated within a few tenths of a degree as is, how do I turn off any trim?
Likewise I find the humidity readings to be off. OWFS has a listing for a couple od sensors but NOt the one that comes with this board. So how does one calibrate it?
I suspect you have to do the math outside of OWFS but sonce the devices are suppose to have a certain accuracy then trying to just add or subtract degrees or %humidity may lead to a non linear result.
What are others seeing doing in this regard?
I sent a message to the owfs dev. group and Paul A. was kind enough to answer but on very broad terms and I am still not seeing the whole picture.
It is my understanding that the owfs dev. group has created data entries for the most common ow chips and has then created specific viewable or settable entries for those chips. These registers are taken from the Maxim or Dallas data sheets.
The Hobby board uses the DS18s20 for temperature readings. I find my reading to be off by several degrees. Under the OWFS in Linux there are registers for TRIM. TRIMBLANKET, and TRIM VALID. o where can I find any documentation on how to use these values. I do know that my display shows TRIM VALID to be yes (TRUE) and if I change the trim numbers it makes changes in the resultant temperature readings. But there does not seem to be any pattern in these changes. Changing TRIM by one (least significant) digit can make a 50 degree change in read temperature. The Maxim/Dallas datasheets do not seem to mention these TRIM vlaues????
So I am at a loss as to what to do here. How is this calibrated or, since the chip is suppose to be calibrated within a few tenths of a degree as is, how do I turn off any trim?
Likewise I find the humidity readings to be off. OWFS has a listing for a couple od sensors but NOt the one that comes with this board. So how does one calibrate it?
I suspect you have to do the math outside of OWFS but sonce the devices are suppose to have a certain accuracy then trying to just add or subtract degrees or %humidity may lead to a non linear result.
What are others seeing doing in this regard?