After some struggling and help from the forum I succeeded in putting together a Python script to run the I2C sensors BME280, LM75 and TSL2591 attached to an IOW24-DG. This gives temperature, humidity, air pressure and light intensity (vis + IR). A plot of some data is shown in the picture below.
The LM75 is very easy to program, the BME280 quite tough, in particular to convert the raw data to final data. The final data from the BME280 are in agreement with other electronic and non-electronic sensors in my house, though due to the complexity of the conversion, I'd like to verify the results from my Python script with those calculated by the official code, which is so strongly emphasized by Bosch. Can anyone help?
The Python3 program I2Cpytools is open source and available here: https://sourceforge.net/projects/i2cpytools/. The graphic is plotted with pytoolsPlot, which is integrated into the package but also available as a stand-alone program for plotting any type of CSV(Comma Separated Values) data.
In addition to the IOW24-DG dongle, I2Cpytools also supports the ELV USB-I2C dongle from ELV Elektronik AG. Other dongles in preparation.
This is the English forum for all topics related to IO-Warrior. Please post in English only
Moderator: Guido Körber
1 Beitrag • Seite 1 von 1
Wer ist online?
Mitglieder in diesem Forum: 0 Mitglieder und 2 Gäste