pimoroni / bme680-python

Python library for the BME680 gas, temperature, humidity and pressure sensor.
https://shop.pimoroni.com/products/bme680
MIT License
260 stars 93 forks source link

Can this be used in micropython? #48

Closed 17lwinn closed 1 year ago

17lwinn commented 1 year ago

Probably a stupid question, but would we be able to use this on a Raspberry Pi Pico W running micropython? I've seen a couple of issues on this but I just need a definite answer from someone, thanks.

helgibbons commented 1 year ago

Yep, it can - our custom version of MicroPython has drivers built in for this sensor.

Once you've installed it, there's a BME68x example here and some documentation here.

17lwinn commented 1 year ago

I'll give this a try, thanks!

mamarais commented 1 year ago

Thanks from me too!!! I have used the BME with a Raspberry Pi 3 to do long term air quality monitoring, but a Pico uses less power and can be placed in more spots!!!

Rgds

Mario

On Mon, 23 Jan 2023, 14:13 Hel Gibbons, @.***> wrote:

Yep, it can - our custom version of MicroPython https://github.com/pimoroni/pimoroni-pico/releases has drivers built in for this sensor.

Once you've installed it https://github.com/pimoroni/pimoroni-pico/blob/main/setting-up-micropython.md, there's a BME68x example here https://github.com/pimoroni/pimoroni-pico/blob/main/micropython/examples/breakout_bme68x/bme68x_demo.py and some documentation here https://github.com/pimoroni/pimoroni-pico/tree/main/micropython/examples/breakout_bme68x .

— Reply to this email directly, view it on GitHub https://github.com/pimoroni/bme680-python/issues/48#issuecomment-1400244757, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH322SPODENM3Y6DYIDJIS3WTZYWVANCNFSM6AAAAAAUDYHT24 . You are receiving this because you are subscribed to this thread.Message ID: @.***>