Giter Site home page Giter Site logo

Comments (5)

markpatterson27 avatar markpatterson27 commented on August 12, 2024 1

Someone correct me if I'm wrong, but it looks like the gas heating duration isn't being set.

# set up heater
self._write(_BME680_BME680_RES_WAIT_0, [0x73, 0x64, 0x65])

If I understand _write() correctly, the above is just writing [0x73, 0x64, 0x65] into incrementing registers 0x5A to 0x5C and not setting the heating duration. It should be changed to something like:

        _BME680_BME680_RES_HEAT_0 = const(0x5A)
        _BME680_BME680_GAS_WAIT_0 = const(0x64)

        self._write(_BME680_BME680_RES_HEAT_0, [0x73])   # approx 320 degrees
        self._write(_BME680_BME680_GAS_WAIT_0, [0x65])   # 148ms

from adafruit_circuitpython_bme680.

caternuson avatar caternuson commented on August 12, 2024

Probably related to #11

from adafruit_circuitpython_bme680.

saraceni-andrea avatar saraceni-andrea commented on August 12, 2024

Also on SPI no improvement ... :-(
https://forums.adafruit.com/viewtopic.php?f=60&t=132231&p=736089&hilit=bme680#p736089

from adafruit_circuitpython_bme680.

ladyada avatar ladyada commented on August 12, 2024

not surprising, the SPI is still reading the same data. you could try to compare what the arduino or espruino is sending for commands and let us know if you see any differences in data?

from adafruit_circuitpython_bme680.

saraceni-andrea avatar saraceni-andrea commented on August 12, 2024

Hi, the latest update of adafruit_bme680.py (release 3.1.3) on CircuitPython 5.0 and Bundle 20200307 works perfectly!

Tested via i2c on:

  • Feather M4 Express
  • ItsyBitsy M4
  • Trinket M0

THANK YOU VERY MUCH

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.