Search found 112 matches

by IHOXOHI
Tue Jun 30, 2020 10:58 am
Forum: Drivers for External Components
Topic: bme680 adafruit on pyboard
Replies: 13
Views: 3112

Re: bme680 adafruit on pyboard

Sorry Roberthh, I have tested until now with the bme680 from seeed... Until now, I have never seen difference between the bme680 from seed and the bme680 from adafruit. But Now, I have tested, and the g.gas works with the bme680 from adafruit... Others values are the same. The bme.altitude works too...
by IHOXOHI
Tue Jun 30, 2020 10:39 am
Forum: Drivers for External Components
Topic: bme680 adafruit on pyboard
Replies: 13
Views: 3112

Re: bme680 adafruit on pyboard

Nice. Thanks Roberthh for this perfect job. There is only one difference in the bme.gaz value construction between this lib and the adafruit-lib... In the adafruit : "self._last_reading = time.monotonic()" In this lib : "self._last_reading = time.ticks_ms()" The value of bme.gas stay the same so may...
by IHOXOHI
Tue Jun 30, 2020 9:18 am
Forum: Drivers for External Components
Topic: bme680 adafruit on pyboard
Replies: 13
Views: 3112

Re: bme680 adafruit on pyboard

Goood. github's references have stranges behaviours on the net...with my system too? For me, the humidity value is upper of 10 with reality. It's easy to correct it. Temperature and pressure are goods. I have tried the bme.gas value... always the same result : 2938733 ... Calcul of bme.gas is comple...
by IHOXOHI
Mon Jun 29, 2020 5:14 pm
Forum: Drivers for External Components
Topic: bme680 adafruit on pyboard
Replies: 13
Views: 3112

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 IHOXOHI
Mon Jun 29, 2020 2:03 pm
Forum: Drivers for External Components
Topic: bme680 adafruit on pyboard
Replies: 13
Views: 3112

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 IHOXOHI
Mon Jun 29, 2020 10:45 am
Forum: Drivers for External Components
Topic: bme680 adafruit on pyboard
Replies: 13
Views: 3112

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 & 0xFF])) " I haven't find good reason for this problem, and...
by IHOXOHI
Thu Jun 25, 2020 12:08 am
Forum: MicroPython pyboard
Topic: vbat connection solution ?
Replies: 7
Views: 1551

Re: vbat connection solution ?

Ok, thanks.

I have found a solution there : https://elfnor.com/pyboard-datalogger.html
So, coincell-gnd on the pin upper X24, and coincell-V+ on the pin upper X22.
I have tested, and for moment it's all right.

Enjoy.
by IHOXOHI
Wed Jun 24, 2020 7:26 am
Forum: MicroPython pyboard
Topic: vbat connection solution ?
Replies: 7
Views: 1551

Re: vbat connection solution ?

Hi,

Big problem!

The coin cell is out in less than 24 hours...

Is it the vback pinout that I have to use?
Otherwise, no way for save time!

Thanks.
by IHOXOHI
Mon Jun 22, 2020 5:26 pm
Forum: MicroPython pyboard
Topic: using tsl2561 light sensor with a pyboard
Replies: 11
Views: 5885

Re: using tsl2561 light sensor with a pyboard

Hi, I can use the tsl2591 and pyboard with this library at : https://github.com/jfischer/micropython-tsl2591 And the code: import tsl2591 import machine i2c = machine.I2C(-1, scl = machine.Pin('Y9'), sda = machine.Pin('Y10'), freq = 10000) sensor = tsl2591.Tsl2591(i2c) full, ir = sensor.get_full_lum...
by IHOXOHI
Sat Jun 20, 2020 5:55 pm
Forum: MicroPython pyboard
Topic: vbat connection solution ?
Replies: 7
Views: 1551

Re: vbat connection solution ?

Hi,

I have done it.
compress-DSC_1471.JPG
compress-DSC_1471.JPG (71.91 KiB) Viewed 1446 times
compress-DSC_1470.JPG
compress-DSC_1470.JPG (88.7 KiB) Viewed 1446 times
compress-DSC_1469.JPG
compress-DSC_1469.JPG (63.69 KiB) Viewed 1446 times
Nothing outside the housing! Just on top, the lcd160 and one of my different "half protoskin"... Perfect.