Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4061

Beginners • Re: Installing a BME688 on Pi Zero V1.2

$
0
0
Thank you very much for your help.
I managed to find instructions I could follow and install the python libraries on the card that will go on the Pi Zero.

I think the installation was correct but on testing the examples the following came up and I don't know its meaning.
I've emailed nathan@pi3g.com for comments. I haven't heard from him yet. I will post here what he suggests once I hear.
Nevertheless and just in case here is my progress up until a system error.

Detecting the board:
nando@raspberrypi:~/bme68x-python-library $ i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- 76 --

Testing examples, but...:
nando@raspberrypi:~/bme68x-python-library $ cd examples/
nando@raspberrypi:~/bme68x-python-library/examples $ python3 forced-mode.py
python3: can't open file '/home/nando/bme68x-python-library/examples/forced-mode.py': [Errno 2] No such file or directory
nando@raspberrypi:~/bme68x-python-library/examples $ python3 forced_mode.py
TESTING FORCED MODE WITHOUT BSEC
pi3g_write: Input/output error
initialize BME68X: Input/output error
Traceback (most recent call last):
File "/home/nando/bme68x-python-library/examples/forced_mode.py", line 11, in <module>
bme = BME68X(cst.BME68X_I2C_ADDR_HIGH, 1)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
SystemError: <class 'bme68x.BME68X'> returned NULL without setting an exception

I'm not sure what it means and what to do next.

F

Statistics: Posted by Fern — Mon Oct 14, 2024 10:18 am



Viewing all articles
Browse latest Browse all 4061

Trending Articles