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?

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?

7. Power-on-reset. Store an error. Trigger a 12-bit resolution
conversion for that sensor and go to 2.

Thanks

Mick

On 10/03/2019 15:01, Colin Law wrote:
On Sun, 10 Mar 2019 at 14:57, Mick Sulley <m...@sulley.info> wrote:
How do I set the resolution?
I always fetch the data at the maximum resolution.  If you want to
limit it for display purposes then do it when you display it.  There
is no point in throwing away data when you are acquiring it.

Colin


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


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

Reply via email to