# BME688 breakout not being recognized

**URL:** <https://forums.pimoroni.com/t/bme688-breakout-not-being-recognized/20077>\
**Category:** Support\
**Created:** [August 20, 2022, 11:41am UTC](https://forums.pimoroni.com/t/bme688-breakout-not-being-recognized/20077 "2022-08-20T11:41:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![BirdOfParadise](https://avatars.discourse-cdn.com/v4/letter/b/848f3c/32.png) [@BirdOfParadise](https://forums.pimoroni.com/u/BirdOfParadise)\
**Post date:** [August 20, 2022, 11:41am UTC](https://forums.pimoroni.com/t/bme688-breakout-not-being-recognized/20077/1 "2022-08-20T11:41:50Z")

</div>

I recently got a tufty 2040 with a BME688 sensor module for a project. I have tested the tufty and everything seems to work well however when I plug the BME688 into the tufty and run the sample code I cant get thonny to recognize the breakout connected

“Traceback (most recent call last):  
File “”, line 8, in   
RuntimeError: BreakoutBME68X: breakout not found when initialising”

Any help would be appreciated

---

<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:** [August 20, 2022, 12:16pm UTC](https://forums.pimoroni.com/t/bme688-breakout-not-being-recognized/20077/2 "2022-08-20T12:16:30Z")

</div>

Are you using the correct pins?

```auto
from pimoroni_i2c import PimoroniI2C
i2c = PimoroniI2C(sda=(4), scl=(5))

```

---

<div class="post-metadata">

**Author:** ![BirdOfParadise](https://avatars.discourse-cdn.com/v4/letter/b/848f3c/32.png) [@BirdOfParadise](https://forums.pimoroni.com/u/BirdOfParadise)\
**Post date:** [August 20, 2022, 1:00pm UTC](https://forums.pimoroni.com/t/bme688-breakout-not-being-recognized/20077/3 "2022-08-20T13:00:13Z")

</div>

I went to this website provided by pimorini:

> **[pimoroni-pico/micropython/examples/breakout\_bme68x at main ·...](https://github.com/pimoroni/pimoroni-pico/tree/main/micropython/examples/breakout_bme68x)**
>
> main/micropython/examples/breakout\_bme68x

I copied the code:

```auto
from breakout_bme68x import BreakoutBME68X
from pimoroni_i2c import PimoroniI2C

PINS_BREAKOUT_GARDEN = {"sda": 4, "scl": 5}
PINS_PICO_EXPLORER = {"sda": 20, "scl": 21}

i2c = PimoroniI2C(**PINS_PICO_EXPLORER)
bme = BreakoutBME68X(i2c)

```

Pasted it into thonny and run the code with the tufty2040 connected via usb and the sensor attached to it. I was expecting a tuple however I simply get the error mentioned before.

From what your saying are my pins wrong. If so what are the correct pins?

---

<div class="post-metadata">

**Author:** ![ahnlak](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/ahnlak/32/5610_2.png) [@ahnlak](https://forums.pimoroni.com/u/ahnlak)\
**Post date:** [August 20, 2022, 1:15pm UTC](https://forums.pimoroni.com/t/bme688-breakout-not-being-recognized/20077/4 "2022-08-20T13:15:45Z")

</div>

As alphnumeric said, looks like on the Tufty it’s 4/5, so you could just replace `PINS_PICO_EXPLORER` with `PINS_BREAKOUT_GARDEN` in your penultimate line there.

---

<div class="post-metadata">

**Author:** ![BirdOfParadise](https://avatars.discourse-cdn.com/v4/letter/b/848f3c/32.png) [@BirdOfParadise](https://forums.pimoroni.com/u/BirdOfParadise)\
**Post date:** [August 20, 2022, 1:51pm UTC](https://forums.pimoroni.com/t/bme688-breakout-not-being-recognized/20077/5 "2022-08-20T13:51:12Z")

</div>

Ok it works!, Changed the pins as suggested and I am getting data feeding through.

---

<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:** [August 20, 2022, 2:00pm UTC](https://forums.pimoroni.com/t/bme688-breakout-not-being-recognized/20077/6 "2022-08-20T14:00:07Z")

</div>

Yeah, the Tufty qwicc connector uses pins 4 and 5. I’ve been setting the pins as I posted above, in files I save for personal use.
