This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

1-wire
#2
Right now we are using 10-bit resolution in order not to block the bus for too long as increasing the resolution causes the measurement to take longer time to finish. Value will always be slightly unstable, this is just how the sensor works. You can increase the accuracy by oversampling: reading several values in a row and calculating the average.

You can also read full resolution temperature value from a script like this:
Code:
require('ow')
value = ow.readfile('SENSORID', 'temperature', true) -- third argument will force a new conversion
Reply


Messages In This Thread
1-wire - by PassivPluss - 09.08.2015, 10:12
RE: 1-wire - by admin - 10.08.2015, 07:17
RE: 1-wire - by buuuudzik - 23.11.2016, 21:48
RE: 1-wire - by admin - 24.11.2016, 07:18
RE: 1-wire - by buuuudzik - 24.11.2016, 18:06

Forum Jump: