Comments (8)
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.
@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.
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.
@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.
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.
@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
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.
Thanks for testing this @caternuson
from adafruit_circuitpython_bme680.
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)
- The GAS values is slow to update and is not accurate HOT 5
- Pressure value wrong HOT 3
- Please add __version__ and __repo__ metadata. Thank you!
- Support for BME680 IAQ readings HOT 3
- Error in filter_size setter
- Please explain filter_size in documentation HOT 1
- Adafruit library shows different values than BSEC library HOT 4
- Wrong conversion result for register 0x04 HOT 4
- SPI HOT 1
- Newest example needs licensed HOT 2
- Gas resistance calculation showing incorrect results for BME688 HOT 3
- Error during __init__ - Failed to find BME680! Chip ID 0x0 HOT 3
- Missing Type Annotations HOT 1
- pyproject.toml missing optional_dependencies
- Method to disable heater please
- Slow refresh rate HOT 1
- adafruit_bme680.py, class Adafruit_BME680, _perform_reading(): infinite loop HOT 6
- Wrong formula for gas_wait causing huge sampling delays
- v3.4.12 always returns wrong/nonsenical, static number for temperature, humidity, and pressure on first reading. Gas also seems wrong HOT 13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adafruit_circuitpython_bme680.