Every time I try to use it, even with example code, I just get the error message:
Traceback (most recent call last):
File “/usr/local/lib/python3.4/dist-packages/bme680/init.py”, line 25, in init
self.chip_id = self._get regs(CHIP_ID_ADDR, 1)
File “/usr/local/lib/python3.4/dist-packages/bme680/init.py”, line 296, in __get_regs
return self._i2c.read_byte_data(self.12c_addr, register)
OSError: [Errno 5] Input/output error
The sensor is attached to GPIO 1-9 and is new out the box. I wonder if it is using lane 77 instead of 76, but i dont know how to change this. I`m new to coding so am quite confused. Any help would be greatly appreciated
If you run sudo i2cdetect -y 1
from a terminal window it will tell you if its detected and what address its using. Look for a 76. Thats assuming i2c is enabled in Raspberry Pi configuration.
No numbers come up what so ever, although i2c is definitely enabled in raspi config
Does this mean its just not detected?
Yes, it means its not being detected.
Female header soldered on? How are your soldering skills?
Double check you have it plugged in the right way around.
Its definitely plugged in the right way although I haven’t soldered it yet- I`m just resting the headers in place. Might it just be that this needs to be soldered?
Yes, you issue is almost certainly because its not soldered.