except Exception as err:
print(err.value)
print(err.errno)
time.sleep(100)
but what I see in the terminal is:
>>> %Run -c $EDITOR_CONTENT
MPY: soft reboot
[
after a while, the connections gets lost.
it seems to die instantly after the BreakoutBME68X object is created. Only if I insert a time.sleep(1)after print(i2c.scan()) I even get any results printed out.
One question regarding your “off-shelf bme680”: is this a Pimoroni or Adafruit product or something else? From your I2C-addresses, this does not look like a BME680, which technically only supports 0x76/0x77.
The 0x51 you see is from the PCF85063A-RTC of the badger-w (the e-ink is attached via SPI). The only sensors I know that use the 0x62 are the SCD40/SCD41, but I cannot believe somebody is selling these expensive sensors as a BME680.
it helped. I soldered vcc (3.3) to cs and now it works well. Next time, I will not save a few bucks and go for adafruit or pimoroni breakouts first. At least they are documented well.
Please don’t take this the wrong way. I post on several Pi / Pico related forums, and going cheap, usually results in many, many questions for help getting said device to work.
Me personally, I’m to old for that ****. =)
Well, the document from Bosch is fine and very detailed. But Adafruit and Pimoroni decide for you and thus you don’t have a choice between SPI and I2C.
These Chinese builds just put the bare minimum of components on the breakout giving you all degrees of freedom. But also a higher chance to fail.
Disclosure: I had the same problem with a Chinese BME280 and it took me also some time to figure it out. So no worries, that is why we have forums.