# BME280 - unable to find

**URL:** https://forums.pimoroni.com/t/bme280-unable-to-find/14241
**Category:** Support
**Created:** [June 13, 2020, 1:41pm UTC](https://forums.pimoroni.com/t/bme280-unable-to-find/14241 "2020-06-13T13:41:00Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![joe](https://avatars.discourse-cdn.com/v4/letter/j/b9e5f3/32.png) [@joe](https://forums.pimoroni.com/u/joe)
#### Post date: [June 13, 2020, 1:41pm UTC](https://forums.pimoroni.com/t/bme280-unable-to-find/14241/1 "2020-06-13T13:41:00Z")

</div>

HI

Im trying to get my BME280 sensor to work with a Pi Zero running Rasp-OS. I have enabled the i2c interface and installed the pimoroni python library, running the all-values.py returns the error:-

RuntimeError: Unable to find bme280 on 0x76, CHIP\_ID returned 58

If i run i2cdetect I get the sensor at address 0x76:-

```
 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 –

The sensor is wired up correctly, not sure what else could be wrong. I have tried the pip version and straight from git hub.

Thanks for any help

Joe

---

<div class="post-metadata">

### Author: ![alphanumeric](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/alphanumeric/32/2729_2.png) [@alphanumeric](https://forums.pimoroni.com/u/alphanumeric)
#### Post date: [June 13, 2020, 3:11pm UTC](https://forums.pimoroni.com/t/bme280-unable-to-find/14241/2 "2020-06-13T15:11:50Z")

</div>

Try running

`sudo pip3 install pimoroni-bme280`

Just in case its a python 2 versus python 3 thing.  
pip installs for python 2 and pip3 installs for python 3.

---

<div class="post-metadata">

### Author: ![joe](https://avatars.discourse-cdn.com/v4/letter/j/b9e5f3/32.png) [@joe](https://forums.pimoroni.com/u/joe)
#### Post date: [June 13, 2020, 4:00pm UTC](https://forums.pimoroni.com/t/bme280-unable-to-find/14241/3 "2020-06-13T16:00:25Z")

</div>

Thanks, yeah its definitly the python3 version im running, used pip3 and also grabbed the source straight from github. Same issue though.

---

<div class="post-metadata">

### Author: ![joe](https://avatars.discourse-cdn.com/v4/letter/j/b9e5f3/32.png) [@joe](https://forums.pimoroni.com/u/joe)
#### Post date: [June 13, 2020, 4:05pm UTC](https://forums.pimoroni.com/t/bme280-unable-to-find/14241/4 "2020-06-13T16:05:47Z")

</div>

I tried the RPi.bme280 lib and it seemed to work fine. Can only think this is an issue with the pimoroni-bme280 lib?

---

<div class="post-metadata">

### Author: ![technologyisnotdull](https://avatars.discourse-cdn.com/v4/letter/t/6f9a4e/32.png) [@technologyisnotdull](https://forums.pimoroni.com/u/technologyisnotdull)
#### Post date: [June 13, 2020, 5:14pm UTC](https://forums.pimoroni.com/t/bme280-unable-to-find/14241/5 "2020-06-13T17:14:36Z")

</div>

Hi,  
Not sure if this helps, but are you sure you have the right component/library combination?

While looking at another problem (now solved) I noticed here:

> <https://github.com/sparkfun/SparkFun_BME280_Arduino_Library/issues/21#issuecomment-376633788>
>
> It stopped working with 2.0, works fine in 1.2

> BME has ID 0x60, BMP has ID 0x58 (mass production, samples have different ID)

That would seem consistent with your error message:

> RuntimeError: Unable to find bme280 on 0x76, CHIP\_ID returned 58

I hope this helps.

---

<div class="post-metadata">

### Author: ![rupy](https://avatars.discourse-cdn.com/v4/letter/r/d6d6ee/32.png) [@rupy](https://forums.pimoroni.com/u/rupy)
#### Post date: [July 21, 2022, 10:48am UTC](https://forums.pimoroni.com/t/bme280-unable-to-find/14241/6 "2022-07-21T10:48:45Z")

</div>

I also have troubles: WARNING Main Loop Exception: Unable to find bme280 on 0x76, IOError

I have tried everything rebooted, reseated all connections.

It failed after ~6 months of constant use.
