Search found 1139 matches: adafruit

Searched query: adafruit

by Roberthh
Tue Jun 30, 2020 5:55 am
Forum: Drivers for External Components
Topic: bme680 adafruit on pyboard
Replies: 13
Views: 306

Re: bme680 adafruit on pyboard

... upload these files earlier because I had not made a full readme yet - and then forgot about it. That will follow - forgetting too. Pointing to the Adafruit documentation might be confusing, because their examples are made for Circuitpython and it's tedious way of using I2C. The actual version of ...
by pythoncoder
Tue Jun 30, 2020 4:15 am
Forum: Drivers for External Components
Topic: bme680 adafruit on pyboard
Replies: 13
Views: 306

Re: bme680 adafruit on pyboard

A useful driver, but I think your README is truncated. Also your I2C line lacks constructor args (unless that's explained in the missing part of the README).
by Roberthh
Mon Jun 29, 2020 6:54 pm
Forum: Drivers for External Components
Topic: bme680 adafruit on pyboard
Replies: 13
Views: 306

Re: bme680 adafruit on pyboard

I created a repository here. I do not know why I did not have that already, since I adapted the driver quite a while ago.
https://github.com/robert-hh/BME680-Micropython
by IHOXOHI
Mon Jun 29, 2020 5:14 pm
Forum: Drivers for External Components
Topic: bme680 adafruit on pyboard
Replies: 13
Views: 306

Re: bme680 adafruit on pyboard

Hi, Thanks for your help! I have tried to change the i2c adress by 0x78 althoug i2c.scan() return 0x77. And change "self._i2c.write(bytes([register & 0xFF]))" by self._i2c.write(bytes([register & 0x78])) : No success. The solution of Roberthh is right. It works fine! Thanks a lot!!! All the best!
by Roberthh
Mon Jun 29, 2020 2:45 pm
Forum: Drivers for External Components
Topic: bme680 adafruit on pyboard
Replies: 13
Views: 306

Re: bme680 adafruit on pyboard

Below is the code of a modified adafruit driver. I just veruified that it returns reasonable results on Micropython. I adapted it initialy for the Pycom branch, but changed it now for micropython.org. call for instance with: from pycom_bme680 ...
by jcw
Mon Jun 29, 2020 2:36 pm
Forum: Drivers for External Components
Topic: bme680 adafruit on pyboard
Replies: 13
Views: 306

Re: bme680 adafruit on pyboard

Depending on how I2C addresses are exposed, the lower bit may not be an address bit - try 0x78.

(I haven't looked into the code or the BME680 ....)
by IHOXOHI
Mon Jun 29, 2020 2:03 pm
Forum: Drivers for External Components
Topic: bme680 adafruit on pyboard
Replies: 13
Views: 306

Re: bme680 adafruit on pyboard

Thanks for your support Jimmo,

I use the adafruit_bme_680 library...

I have tried an other one wich concern directly micropython without success and I think that the adafruit lib is more closer of a success.

Thanks.
by jimmo
Mon Jun 29, 2020 12:47 pm
Forum: Drivers for External Components
Topic: bme680 adafruit on pyboard
Replies: 13
Views: 306

Re: bme680 adafruit on pyboard

Which library are you using?
by IHOXOHI
Mon Jun 29, 2020 10:45 am
Forum: Drivers for External Components
Topic: bme680 adafruit on pyboard
Replies: 13
Views: 306

bme680 adafruit on pyboard

Hi, I try to use the bme680 sensor from adafruit... After change i2c adress from 0x76 to 0x77 in the lib, I have this error: "OSError: I2C operation not supported" The line which is implicated in the lib : " self._i2c.write(bytes([register & ...