IOW24-DG with I2C Sensors BME280, LM75 and TSL2591 under Python Control

This is the English forum for all topics related to IO-Warrior. Please post in English only

Moderator: Guido Körber

ullix
Beiträge: 8
Registriert: Do Mär 01, 2018 12:27 pm

IOW24-DG with I2C Sensors BME280, LM75 and TSL2591 under Python Control

Beitragvon ullix » Di Mär 20, 2018 12:08 pm

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.

Enjoy.

Bild
preparat alveo http://www.alveo-akuna.pl

Zurück zu „IO-Warrior English“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast