I just received my Envirophat (not the plus) and, keen to crack on and see what it can do, I’ve plugged it onto my Pi Zero W (using M/F headers) and installed the packages as detailed here: https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-enviro-plus and try and run some of the examples, e.g. all-in-one.py but I’m getting:
ImportError: No module named 'BME280'
ImportError: No module named 'ST7735'
So I thought I’d go back to basics and just check the board is attached properly and functioning OK, so I found https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-enviro-phat fired up python on the command line and…
>>> print(weather.temperature()) Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3/dist-packages/envirophat/bmp280.py", line 134, in temperature self.update() File "/usr/lib/python3/dist-packages/envirophat/bmp280.py", line 169, in update if self._read_byte(REGISTER_CHIPID) == 0x58: # check sensor id 0x58=BMP280 File "/usr/lib/python3/dist-packages/envirophat/bmp280.py", line 116, in _read_byte return self.i2c_bus.read_byte_data(self.addr, register) OSError: [Errno 121] Remote I/O error
I’m trying to work out where I’ve gone wrong with either issue…
Any help gratefully received.