Giter Site home page Giter Site logo

Comments (8)

makermelissa avatar makermelissa commented on August 12, 2024

Hi thanks for reporting this. I'm wondering if there's some difference between running it on a native CircuitPython board and on the Raspberry Pi that's causing the error.

from adafruit_circuitpython_bme680.

barbudor avatar barbudor commented on August 12, 2024

@0x6470 , Is it an original Adafruit breakout ?
It may looks like the SDO pin (=MISO) is stuck to VCC (read ID as 0xFF)
Connecting SDO to VCC is required to select the default I2C address of 0x77. Your module may have the SDO pin stuck to VCC.
Could you please check with a ohm meter what resistance you can read between SDO and VCC ?

from adafruit_circuitpython_bme680.

0x6470 avatar 0x6470 commented on August 12, 2024

Yes, it's an official board, I bought it from an official distributor (Eckstein GmbH).
The resistance is around 10 kOhm, when running via I2C.

from adafruit_circuitpython_bme680.

barbudor avatar barbudor commented on August 12, 2024

@0x6470 I have no problems with a BME280 which driver is exactly build on the same structure.
May be you could join us on Adafruit Discord channel #help-with-raspberry-pi ?
Someone with a BME680 will be able to help there. I'm from Europe too and I'll be available tomorrow

from adafruit_circuitpython_bme680.

makermelissa avatar makermelissa commented on August 12, 2024

The BME680 is a bit different than the BME280 in terms of SPI. See #16 (comment) from the last PR. I'll leave this open for when I get a chance to test on a RPi.

from adafruit_circuitpython_bme680.

caternuson avatar caternuson commented on August 12, 2024

@0x6470 Post a photo of your setup showing how you are wiring everything together.

BME680 on RPi via SPI checks out OK.

  • 3.3V to VIN
  • GND to GND
  • SCLK to SCK
  • MISO to SDO
  • MOSI to SDI
  • BCM5 to CS

rpi_bme680

pi@raspberrypi:~ $ python3
Python 3.5.3 (default, Sep 27 2018, 17:25:39) 
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import board, busio, digitalio
>>> import adafruit_bme680
>>> cs = digitalio.DigitalInOut(board.D5)
>>> spi = busio.SPI(board.SCLK, board.MOSI, board.MISO)
>>> bme680 = adafruit_bme680.Adafruit_BME680_SPI(spi, cs)
>>> bme680.temperature
23.73234375
>>> bme680.humidity
44.72550176005509
>>> bme680.pressure
1015.1474238206924
>>>

from adafruit_circuitpython_bme680.

makermelissa avatar makermelissa commented on August 12, 2024

Thanks for testing this @caternuson

from adafruit_circuitpython_bme680.

0x6470 avatar 0x6470 commented on August 12, 2024

I'm so sorry...
I firstly connected the sensor via female-female jumper wires,
then switched over to female-male ones to showcase my connections.
It turned out that one of the f-f wires (chip select) had a loose connection.
Sometimes it can be that easy...
Thanks anyway for taking your time.

from adafruit_circuitpython_bme680.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.