# Pico W, can't install BME688 sensor 4-in-1

**URL:** <https://forums.pimoroni.com/t/pico-w-cant-install-bme688-sensor-4-in-1/23923>\
**Category:** Support\
**Created:** [January 21, 2024, 6:09pm UTC](https://forums.pimoroni.com/t/pico-w-cant-install-bme688-sensor-4-in-1/23923 "2024-01-21T18:09:28Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jules1](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/jules1/32/10375_2.png) [@jules1](https://forums.pimoroni.com/u/jules1)\
**Post date:** [January 21, 2024, 6:09pm UTC](https://forums.pimoroni.com/t/pico-w-cant-install-bme688-sensor-4-in-1/23923/1 "2024-01-21T18:09:28Z")

</div>

Hello. I’m trying to get the Pico working with BME688 sensor. I’m using Thonny IDE and the Pico is getting picked up. I don’t have breakout garden BTW.

The demo file from Github is throwing error: no modules called ‘picographics’ or ‘breakout\_bme68x’. I’m not sure how to proceed.

Can you advise please?

Many thanks!

---

<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:** [January 21, 2024, 6:13pm UTC](https://forums.pimoroni.com/t/pico-w-cant-install-bme688-sensor-4-in-1/23923/2 "2024-01-21T18:13:47Z")

</div>

What uf2 file did you flash it with?  
The one you need is, [pimoroni-picow-v1.21.0-micropython.uf2](https://github.com/pimoroni/pimoroni-pico/releases/download/v1.21.0/pimoroni-picow-v1.21.0-micropython.uf2)

---

<div class="post-metadata">

**Author:** ![jules1](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/jules1/32/10375_2.png) [@jules1](https://forums.pimoroni.com/u/jules1)\
**Post date:** [January 21, 2024, 7:04pm UTC](https://forums.pimoroni.com/t/pico-w-cant-install-bme688-sensor-4-in-1/23923/4 "2024-01-21T19:04:03Z")

</div>

I’ve flashed the above uf2, downloaded the bme68x file from Github. It has let me open the .py file and save but don’t know how to install the bme folder files.

In Thonny there’s a bme280 pimoroni file in the package installer, but not one for 680. Is it worth trying the 280 one, please?  
Thanks.

---

<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:** [January 21, 2024, 7:15pm UTC](https://forums.pimoroni.com/t/pico-w-cant-install-bme688-sensor-4-in-1/23923/5 "2024-01-21T19:15:08Z")

</div>

If you have flashed the Pico W with that uf2, all the library files needed for the BME688 are already installed. Just run the micro python demo example. What pins do you have the BME688 wired up to?  
[pimoroni-pico/micropython/examples/breakout\_bme68x at main · pimoroni/pimoroni-pico (github.com)](https://github.com/pimoroni/pimoroni-pico/tree/main/micropython/examples/breakout_bme68x)

---

<div class="post-metadata">

**Author:** ![jules1](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/jules1/32/10375_2.png) [@jules1](https://forums.pimoroni.com/u/jules1)\
**Post date:** [January 21, 2024, 7:46pm UTC](https://forums.pimoroni.com/t/pico-w-cant-install-bme688-sensor-4-in-1/23923/6 "2024-01-21T19:46:10Z")

</div>

Thanks for help. I redownloaded the demo, run it and get :  
File “”, line 14, in   
RuntimeError: BreakoutBME68X: breakout not found when initialising

I don’t have Breakout Garden. The Pico W is connected to BME688 with:  
GND to GND  
SCL to GP21  
SDA to GP20  
2.4V to 3V3 EN

Is this correct?

---

<div class="post-metadata">

**Author:** ![jules1](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/jules1/32/10375_2.png) [@jules1](https://forums.pimoroni.com/u/jules1)\
**Post date:** [January 21, 2024, 7:55pm UTC](https://forums.pimoroni.com/t/pico-w-cant-install-bme688-sensor-4-in-1/23923/7 "2024-01-21T19:55:46Z")

</div>

PS I’m using the Lshaped connector supplied, wondering if I have it the right way up?

---

<div class="post-metadata">

**Author:** ![Shoe](https://avatars.discourse-cdn.com/v4/letter/s/e36b37/32.png) [@Shoe](https://forums.pimoroni.com/u/Shoe)\
**Post date:** [January 21, 2024, 8:27pm UTC](https://forums.pimoroni.com/t/pico-w-cant-install-bme688-sensor-4-in-1/23923/8 "2024-01-21T20:27:13Z")

</div>

You mean the L-shaped pins? Have you soldered those on to the BME688 breakout? At a glance those pins look right.

---

<div class="post-metadata">

**Author:** ![jules1](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/jules1/32/10375_2.png) [@jules1](https://forums.pimoroni.com/u/jules1)\
**Post date:** [January 21, 2024, 8:39pm UTC](https://forums.pimoroni.com/t/pico-w-cant-install-bme688-sensor-4-in-1/23923/9 "2024-01-21T20:39:22Z")

</div>

Thanks, no I have the 688 also hooked into breadboard with the SDA-etc lettering face up, with the pins in different rails to the Pico. Here’s a pic:

 ![20240121_203442](https://us1.discourse-cdn.com/flex016/uploads/pimoroni/original/2X/c/c3a1a3e8f01c2e50faba783669e728c7f6fe113b.jpeg)

---

<div class="post-metadata">

**Author:** ![Shoe](https://avatars.discourse-cdn.com/v4/letter/s/e36b37/32.png) [@Shoe](https://forums.pimoroni.com/u/Shoe)\
**Post date:** [January 21, 2024, 8:43pm UTC](https://forums.pimoroni.com/t/pico-w-cant-install-bme688-sensor-4-in-1/23923/10 "2024-01-21T20:43:04Z")

</div>

Unfortunately the L-adapter (and the straight version I think it also comes with) generally need soldered to maintain a good connection, otherwise it might drop in-and-out very often. That might be why you’re getting “breakout not found”.

---

<div class="post-metadata">

**Author:** ![Shoe](https://avatars.discourse-cdn.com/v4/letter/s/e36b37/32.png) [@Shoe](https://forums.pimoroni.com/u/Shoe)\
**Post date:** [January 21, 2024, 8:46pm UTC](https://forums.pimoroni.com/t/pico-w-cant-install-bme688-sensor-4-in-1/23923/11 "2024-01-21T20:46:13Z")

</div>

Also, it’s really hard to see where jumper wires go in photos of breadboards, but it looks like the blue wire goes into the 4th-pin down on the right? That’s the 3v3 enable pin, as far as I know that allows you to disable the 3v3 regulator on the Pico, which you won’t want to do if you want to use the board. You probably want to plug it [into one pin down, 3v3 Out](https://pico.pinout.xyz/), which can supply a small amount of 3v3 power.

(The marking on the BME breakout is 2-6V, as in power it with between 2V and 6V, not 2.6V).

---

<div class="post-metadata">

**Author:** ![jules1](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/jules1/32/10375_2.png) [@jules1](https://forums.pimoroni.com/u/jules1)\
**Post date:** [January 21, 2024, 9:18pm UTC](https://forums.pimoroni.com/t/pico-w-cant-install-bme688-sensor-4-in-1/23923/12 "2024-01-21T21:18:40Z")

</div>

Ah thanks, was wondering about 3V3 EN and had just looked it up. I’ll try soldering when I get to it.  
The built-in thermal sensor in the Pico is working fine and generating data.

---

<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:** [January 21, 2024, 9:29pm UTC](https://forums.pimoroni.com/t/pico-w-cant-install-bme688-sensor-4-in-1/23923/13 "2024-01-21T21:29:45Z")

</div>

As written, the BME68x demo uses GP4 (SDA)and GP5 (SCL), not 20 and 21. The Int is not used on the BME688, so no need to wire it up.

As Shoe pointed out, the header does need to be soldered for a reliable connection.

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

i2c = PimoroniI2C(**PINS_BREAKOUT_GARDEN)

```

[garden\_base.sch (shopify.com)](https://cdn.shopify.com/s/files/1/0174/1800/files/pico_breakout_garden_base_schematic.pdf?v=1633001763)

---

<div class="post-metadata">

**Author:** ![jules1](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/jules1/32/10375_2.png) [@jules1](https://forums.pimoroni.com/u/jules1)\
**Post date:** [January 21, 2024, 10:05pm UTC](https://forums.pimoroni.com/t/pico-w-cant-install-bme688-sensor-4-in-1/23923/14 "2024-01-21T22:05:16Z")

</div>

Many thanks for your help, everyone. I’ll do the soldering soon, fingers’ crossed.

---

<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:** [January 22, 2024, 9:28am UTC](https://forums.pimoroni.com/t/pico-w-cant-install-bme688-sensor-4-in-1/23923/15 "2024-01-22T09:28:20Z")

</div>

Good soldering takes practice. It’s a vey valuable skill to have IMHO. For tinkering etc.  
This may help.  
[The Ultimate Guide to Soldering (pimoroni.com)](https://learn.pimoroni.com/article/the-ultimate-guide-to-soldering)

I’ve been soldering with an iron for ages, yes I’m that old. =)  
I just bought a Hot Air Reflow station. Oh boy, do I have a lot of learning to do, to make good use of it. It looks so easy in the videos. I haven’t set anything on fire, so I guess I’m doing OK. =-)

---

<div class="post-metadata">

**Author:** ![jules1](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/jules1/32/10375_2.png) [@jules1](https://forums.pimoroni.com/u/jules1)\
**Post date:** [January 22, 2024, 12:35pm UTC](https://forums.pimoroni.com/t/pico-w-cant-install-bme688-sensor-4-in-1/23923/16 "2024-01-22T12:35:10Z")

</div>

Thank you! I did it first time to add the riser to the pico. It was incredibly satisfying somehow :D

Ps that hot air reflow is something else!

---

<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:** [January 23, 2024, 9:25am UTC](https://forums.pimoroni.com/t/pico-w-cant-install-bme688-sensor-4-in-1/23923/17 "2024-01-23T09:25:37Z")

</div>

I took a look see at you soldering above. That’s not bad. Might want to check a couple of them though.  
 ![soldering101](https://us1.discourse-cdn.com/flex016/uploads/pimoroni/original/2X/9/9e3cc7018819834233dfaec96e1e3b42d2c539ba.png)

What I do is touch the pad with the tip, then make sure its also touching the pin. Wait a second or so so both are hot and put a little solder on. Wait a second or so, then lift the tip up.

---

<div class="post-metadata">

**Author:** ![jules1](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/jules1/32/10375_2.png) [@jules1](https://forums.pimoroni.com/u/jules1)\
**Post date:** [January 23, 2024, 9:59am UTC](https://forums.pimoroni.com/t/pico-w-cant-install-bme688-sensor-4-in-1/23923/18 "2024-01-23T09:59:36Z")

</div>

Thanks for looking and advice! Darn yes, well spotted - some are ‘not enough solder’ category…

---

<div class="post-metadata">

**Author:** ![jules1](https://sea2.discourse-cdn.com/flex016/user_avatar/forums.pimoroni.com/jules1/32/10375_2.png) [@jules1](https://forums.pimoroni.com/u/jules1)\
**Post date:** [February 9, 2024, 11:19pm UTC](https://forums.pimoroni.com/t/pico-w-cant-install-bme688-sensor-4-in-1/23923/19 "2024-02-09T23:19:50Z")

</div>

Hello - I’ve now soldered the BME to the L-mount and resoldered some suspects on the Pico W. It flashes LED on start.

When running bme\_688\_sensor.py in Thonny, I still get the error:

_BreakoutBME68X: breakout not found when initialising_

Have tried the alt address too.

Do you have any further suggestions please? Fingers x’d, thank you.

---

<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:** [February 10, 2024, 11:14am UTC](https://forums.pimoroni.com/t/pico-w-cant-install-bme688-sensor-4-in-1/23923/20 "2024-02-10T11:14:26Z")

</div>

What GP are you using in your code, and what GP are you plugged into on the Pico?  
As written, the BME68x demo uses GP4 (SDA) and GP5 (SCL)  
If you want to use sda: 20, scl: 21.  
It’s `i2c = PimoroniI2C(**PINS_PICO_EXPLORER)`  
GP20 is Physical pin 26  
GP21 is Physical Pin 27

[Raspberry Pi Pico W GPIO Pinout](https://picow.pinout.xyz/)

GP4 is Physical Pin 6  
GP5 is Physical Pin 7  
If you just want to move the two jumpers and not edit the py file.

EDIT: Using the latest Pimoorni uf2 files you can ditch the (\*\*PINS\_…) and just do this.

```auto
from pimoroni_i2c import PimoroniI2C
i2cbus = PimoroniI2C(4, 5)

```

or

```auto
from pimoroni_i2c import PimoroniI2C
i2cbus = PimoroniI2C(21, 22)

```

Or use what ever pins you want. As long as they match the pinout functions. I’ve done this with no issues.

```auto
from pimoroni_i2c import PimoroniI2C
i2cbus = PimoroniI2C(1, 2)

```

---

<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:** [February 10, 2024, 11:32am UTC](https://forums.pimoroni.com/t/pico-w-cant-install-bme688-sensor-4-in-1/23923/21 "2024-02-10T11:32:37Z")

</div>

I have some code for scanning i2c for devices.

```auto
import machine
sda=machine.Pin(20) # Explorer 20 Breakout 4
scl=machine.Pin(21) # Explorer 21 Breakout 5
i2c=machine.I2C(0,sda=sda, scl=scl, freq=400000)
 
print('Scan i2c bus...')
devices = i2c.scan()
 
if len(devices) == 0:
  print("No i2c device !")
else:
  print('i2c devices found:',len(devices))
 
  for device in devices:  
    print("Decimal address: ",device," | Hex address: ",hex(device))

```

[Next page](https://forums.pimoroni.com/t/pico-w-cant-install-bme688-sensor-4-in-1/23923.md?page=2)
