Salve a tutti, Qualcuno potrebbe dirmi (partendo da zero), come poter fare una misura della temperatura con il sensore di temperatura DS18B20 tramite python? Grazie mille. Hello everyone, Can anyone tell me (starting from zero) how to measure the temperature with the DS18B20 temperature sensor via python? Thanks so much. If you are italian please answer me in italian xD
I have no experience with this sensor. From what I can tell it is a One Wire Sensor so you have to enable 1-wire functionality on a pin through the device tree editor. Then you have to find a python library that can communicate with this 1-wire pin. Be aware to choose a library that is compatible with the Udoo. So not for example Raspberry Pi specific. Another possibility is to use the Arduino Due side of the Udoo Quad and use OneWire there with this library (not guaranteed to work). Send the data over to Linux through the serial device and carry on in Python processing the sensor data.
Hi Walter, Thanks for your help, I solved this problem through the device tree editor. Good job continuation and sorry for my english