OK, got it working (I think) after altering /boot/config.txt
I don't provide any wiring instructions
there are enough out there :)
Adafruit has some decent, too
do you get any temperatures?
yes, temps working
thx for your library
you take tips/donations? You want a coffee?
If you have any problems with the library itself, let me know
No, I don't :)
You are welcome!
name an open source project you use. I will donate $5 to it.
If you ever happen to meet me - you can pay me that coffee ;)
They can use it
thanks for that
I have got temperature readings working (had been using other methods for over a year not sure why when you have this simpler approach). However cannot get the precision change to work with some DS18B20s either from Python3 script or the command line.
and also I have great difficulty understanding the required format to call functions for w1thermsensor from python3. There seem to be various data available such as 'hwid', 'temperature', 'type' etc. and I cannot find any documentation that explains how to get the different parameters simply from within code that is scanning through a set of sensors. Is there some document somewhere or an explanation. On git hub the item that says "docs" is written in some sort of format I cannot understand at all.
Having said that I have managed, largely by trial and error, to adapt my prog to read in temperatures using w1thermsensor. A more complex python3 example reading multiple sensor (and changing their previsions) would be a great help, do you know where I can find?
Thanks Timo. I had managed the "get started" fine based on what is on github. See http://www.smalle.uk/temps. I can see that the initial call scans for the sensor files and then the get temp gets a sensor only if it's actually active. I managed to integrate that with my old code OK but I wo
Oops. But I sti
But I am not sure I am making best use of your code.
hmm, hard to tell without seeing the actual code
You are welcome to post some code snippets, if you like
Four sensors used with their data in a csv file. Config file has address of the sensor used for control. So w1thermsensor gets addresses and data and then addresses compared to file. If new sensors found or sensors not responding I have trid to make sure prog responds ok.
Hey there! Does anyone has experience with calibrating DS18B20?
I do not, but would be happy to hear about year experiences!