Am 10.03.19 um 19:46 schrieb Mick Sulley:
> OK, but looking through Jan's checklist again -
> 
> * power all sensors
> * set the sensor EEPROM to 9 bit default resolution.
> 
>         ?? How to do that? Is it just a read temperature9 on DS18B20?
> With recent OWFS, you simply write 9 to the sensor's tempres node.


> Then, the readout thread is as follows:
> 
> 1. trigger a 12-bit resolution conversion on each sensor for
> initialization.
> 2. write something to /simultaneous/temperature to trigger all
> temperature conversions at the same time.
> 3. wait a second
> 4. read /uncached/<sensorid>/latesttemp of each sensor
> 5. If the result for a sensor is not 85°C, store and go to 2.
> 6. 85°C. Check the resolution. If it is still 12 bit, that's a valid
> reading. Store and go to 2.
> 
>         ?? How do I check the resolution?
>
Read the sensor's uncached tempres node.

Kind regards

        Jan


_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to