You are not logged in.
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
Hi Mike,
just change e.g. /28.2022DB060000/temperature12 to /28.2022DB060000/temperature10 in the OwsDrv driver configuration.
Have a nice day!
Jaroslav
Monarco HAT for Raspberry Pi - Lightweight I/O for monitoring, archiving and control.
Raspberry Pi in industrial automation!
Offline
Wow that easy.... thanks Jaroslav
Offline