Announcement

REXYGEN forum has been moved. This one is closed.
Head over to the new REXYGEN Community Forum at https://forum.rexygen.com.

Looking forward to meeting you there!
 

#1 2017-01-25 23:23:31

mikeyh
Member
From: New Zealand
Registered: 2016-04-28
Posts: 44

DS18B20 on raspberry with monarco hat

Hi All,

I have got some 1-wire temperature sensors (DS18B20) running on the monacro hat using the OWS driver. What is the best way to now change the resolution. I only really need to read temperature down to 0.1 or maybe even 0.5 of a degree. I will also get a quicker sample rate. I believe by default the sensors come set at 12bit, I'm thinking 10bit will be perfect. Just not sure of the best way to change it.

Thank you in advance

Mike

Offline

#2 2017-01-26 08:13:41

jaroslav_sobota
Administrator
Registered: 2015-10-27
Posts: 535

Re: DS18B20 on raspberry with monarco hat

Hi Mike,
just change e.g. /28.2022DB060000/temperature12 to /28.2022DB060000/temperature10 in the OwsDrv driver configuration.

Have a nice day!

Jaroslav

Offline

#3 2017-01-26 09:03:37

mikeyh
Member
From: New Zealand
Registered: 2016-04-28
Posts: 44

Re: DS18B20 on raspberry with monarco hat

Wow that easy.... thanks Jaroslav

Offline

Board footer

Powered by FluxBB