# BME680 sensor with Raspberry pi

**URL:** <https://community.sparkfun.com/t/bme680-sensor-with-raspberry-pi/40824>\
**Category:** Environmental\
**Created:** [November 4, 2020, 11:43pm UTC](https://community.sparkfun.com/t/bme680-sensor-with-raspberry-pi/40824 "2020-11-04T23:43:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![leandrocosta](https://avatars.discourse-cdn.com/v4/letter/l/ed655f/32.png) [@leandrocosta](https://community.sparkfun.com/u/leandrocosta)\
**Post date:** [November 4, 2020, 11:43pm UTC](https://community.sparkfun.com/t/bme680-sensor-with-raspberry-pi/40824/1 "2020-11-04T23:43:09Z")

</div>

Hi!

I have a Sparkfun BME680 sensor connected to my raspberry pi 4 via qwiic.

In the product’s page I can only find an Arduino library for it.

Any suggestions on how to read the sensor’s values using the raspberry pi?

I’ve looked at the datasheet information provided by bosch, but I was wondering if there’s something made for the raspberry pi… No idea how to get sensor data out of it.

Thanks!

---

<div class="post-metadata">

**Author:** ![YellowDog](https://yyz1.discourse-cdn.com/sparkfun/user_avatar/community.sparkfun.com/yellowdog/32/1782_2.png) [@YellowDog](https://community.sparkfun.com/u/YellowDog)\
**Post date:** [November 5, 2020, 12:12am UTC](https://community.sparkfun.com/t/bme680-sensor-with-raspberry-pi/40824/2 "2020-11-05T00:12:22Z")

</div>

Looks like sparkfun only has a pi library but pimoroni has some code that works.

[https://learn.pimoroni.com/tutorial/san … 0-breakout](https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-bme680-breakout)

---

<div class="post-metadata">

**Author:** ![paulvha](https://avatars.discourse-cdn.com/v4/letter/p/65b543/32.png) [@paulvha](https://community.sparkfun.com/u/paulvha)\
**Post date:** [November 5, 2020, 8:45am UTC](https://community.sparkfun.com/t/bme680-sensor-with-raspberry-pi/40824/3 "2020-11-05T08:45:05Z")

</div>

you can also look at [https://github.com/paulvha/bme680](https://github.com/paulvha/bme680). In de documents folder of that library you will find a BME680.odt. this file can be opened with nearly any wordprocessor and provides background around the program.

---

<div class="post-metadata">

**Author:** ![leandrocosta](https://avatars.discourse-cdn.com/v4/letter/l/ed655f/32.png) [@leandrocosta](https://community.sparkfun.com/u/leandrocosta)\
**Post date:** [November 5, 2020, 1:32pm UTC](https://community.sparkfun.com/t/bme680-sensor-with-raspberry-pi/40824/4 "2020-11-05T13:32:07Z")

</div>

> YellowDog:  
> Looks like sparkfun only has a pi library but pimoroni has some code that works.
> 
> [https://learn.pimoroni.com/tutorial/san … 0-breakout](https://learn.pimoroni.com/tutorial/sandyj/getting-started-with-bme680-breakout)

thanks a lot! I’ll try that one 🙂
